Merge "Remove usages of Slog.wtf" into rvc-dev

This commit is contained in:
Patrick Baumann
2020-05-18 21:39:57 +00:00
committed by Android (Google) Code Review

View File

@@ -417,7 +417,7 @@ public class AppsFilter {
public void grantImplicitAccess(int recipientUid, int visibleUid) { public void grantImplicitAccess(int recipientUid, int visibleUid) {
if (recipientUid != visibleUid if (recipientUid != visibleUid
&& mImplicitlyQueryable.add(recipientUid, visibleUid) && DEBUG_LOGGING) { && mImplicitlyQueryable.add(recipientUid, visibleUid) && DEBUG_LOGGING) {
Slog.wtf(TAG, "implicit access granted: " + recipientUid + " -> " + visibleUid); Slog.i(TAG, "implicit access granted: " + recipientUid + " -> " + visibleUid);
} }
} }
@@ -720,7 +720,7 @@ public class AppsFilter {
return false; return false;
} }
if (callingSetting == null) { if (callingSetting == null) {
Slog.wtf(TAG, "No setting found for non system uid " + callingUid); Slog.w(TAG, "No setting found for non system uid " + callingUid);
return true; return true;
} }
final PackageSetting callingPkgSetting; final PackageSetting callingPkgSetting;
@@ -760,7 +760,7 @@ public class AppsFilter {
final AndroidPackage targetPkg = targetPkgSetting.pkg; final AndroidPackage targetPkg = targetPkgSetting.pkg;
if (targetPkg == null) { if (targetPkg == null) {
if (DEBUG_LOGGING) { if (DEBUG_LOGGING) {
Slog.wtf(TAG, "shouldFilterApplication: " + "targetPkg is null"); Slog.w(TAG, "shouldFilterApplication: " + "targetPkg is null");
} }
return true; return true;
} }