Revert "Remove usages of Slog.wtf"
This reverts commit 5de8369e20.
Reason for revert: Found source of the bad uids. Adding wtf logs back.
Change-Id: I45434eed78d0b2d5c8df9ff1557ee4bd1e0dd4d0
Test: atest AppEnumerationTests
Bug: 156863453
Bug: 157066842
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user