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

This commit is contained in:
TreeHugger Robot
2020-05-20 23:08:05 +00:00
committed by Android (Google) Code Review

View File

@@ -720,7 +720,7 @@ public class AppsFilter {
return false;
}
if (callingSetting == null) {
Slog.w(TAG, "No setting found for non system uid " + callingUid);
Slog.wtf(TAG, "No setting found for non system uid " + callingUid);
return true;
}
final PackageSetting callingPkgSetting;
@@ -760,7 +760,7 @@ public class AppsFilter {
final AndroidPackage targetPkg = targetPkgSetting.pkg;
if (targetPkg == null) {
if (DEBUG_LOGGING) {
Slog.w(TAG, "shouldFilterApplication: " + "targetPkg is null");
Slog.wtf(TAG, "shouldFilterApplication: " + "targetPkg is null");
}
return true;
}