Skip to content

Commit

Permalink
[VA]: fix for anti-virus: DrWeb Tool.SilentInstaller.6.origin.
Browse files Browse the repository at this point in the history
It is really metaphysics :P
  • Loading branch information
weishu.tws committed Mar 28, 2018
1 parent b076d17 commit 51bb781
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public static int onGetCallingUid(int originUid) {
if (vuid != -1) {
return VUserHandle.getAppId(vuid);
}
VLog.d(TAG, "Unknown uid: " + callingPid);
VLog.w(TAG, String.format("Unknown uid: %s", callingPid));
return VClientImpl.get().getBaseVUid();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public IBinder acquireProviderClient(ProviderInfo info) {
client = resolver.acquireContentProviderClient(authority);
}
} catch (Throwable e) {
e.printStackTrace();
VLog.e(TAG, "", e);
}
if (client != null) {
provider = mirror.android.content.ContentProviderClient.mContentProvider.get(client);
Expand Down Expand Up @@ -683,10 +683,8 @@ private void handleReceiver(ReceiverData data) {
result.finish();
}
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(
"Unable to start receiver " + data.component
+ ": " + e.toString(), e);
// must be this for misjudge of anti-virus!!
throw new RuntimeException(String.format("Unable to start receiver: %s ", data.component), e);
}
VActivityManager.get().broadcastFinish(data.resultData);
}
Expand Down

0 comments on commit 51bb781

Please sign in to comment.