Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
fixup! exempt some system packages from status bar privacy indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
muhomorr authored and thestinger committed May 8, 2024
1 parent f408254 commit f03d5b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/java/android/permission/PermissionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,8 @@ public static Set<String> getIndicatorExemptedPackages(@NonNull Context context)
pkgNames.add(FUSED_LOCATION_PKG);
// indicator pops up when determining location during a geofenced alert
pkgNames.add(CELL_BROADCAST_SERVICE_PKG);
// location indicator sometimes gets triggered when turning on Wi-Fi hotspot
pkgNames.add(android.ext.KnownSystemPackages.SETTINGS);

for (int i = 0; i < INDICATOR_EXEMPTED_PACKAGES.length; i++) {
String exemptedPackage = INDICATOR_EXEMPTED_PACKAGES[i];
Expand Down

0 comments on commit f03d5b6

Please sign in to comment.