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

Commit 8ba9611c authored by Jackal Guo's avatar Jackal Guo
Browse files

Fix the functionality of log-visibility

Fix: 223747694
Test: manually enable log for package filtering and check if we can
      see the message mentaioned on the developer site.
      https://d.android.com/training/package-visibility/testing\
      #configure-log-messages
Change-Id: I21fdc26ab32c65a4703ce0618281c8b775532418
Merged-In: I21fdc26ab32c65a4703ce0618281c8b775532418
(cherry picked from commit e0e47402)
parent c6f41540
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -1330,7 +1330,9 @@ public class AppsFilter implements Watchable, Snappable {
                                + callingUid + " -> " + targetUid);
                                + callingUid + " -> " + targetUid);
                        return true;
                        return true;
                    }
                    }
                    return mShouldFilterCache.valueAt(callingIndex, targetIndex);
                    if (!mShouldFilterCache.valueAt(callingIndex, targetIndex)) {
                        return false;
                    }
                } else {
                } else {
                    if (!shouldFilterApplicationInternal(
                    if (!shouldFilterApplicationInternal(
                            callingUid, callingSetting, targetPkgSetting, userId)) {
                            callingUid, callingSetting, targetPkgSetting, userId)) {