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
This commit is contained in:
@@ -1329,7 +1329,9 @@ public class AppsFilter implements Watchable, Snappable {
|
||||
+ callingUid + " -> " + targetUid);
|
||||
return true;
|
||||
}
|
||||
return mShouldFilterCache.valueAt(callingIndex, targetIndex);
|
||||
if (!mShouldFilterCache.valueAt(callingIndex, targetIndex)) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!shouldFilterApplicationInternal(
|
||||
callingUid, callingSetting, targetPkgSetting, userId)) {
|
||||
|
||||
Reference in New Issue
Block a user