Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb7f5ef9 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Revert "Remove usages of Slog.wtf"

This reverts commit 5de8369e.

Reason for revert: Found source of the bad uids. Adding wtf logs back.

Change-Id: I45434eed78d0b2d5c8df9ff1557ee4bd1e0dd4d0
Test: atest AppEnumerationTests
Bug: 156863453
Bug: 157066842
parent 5de8369e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
            }