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

Commit 1b066ca0 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am 9b724fd6: Merge "Show location permission group, even when fixed." into mnc-dev

* commit '9b724fd6':
  Show location permission group, even when fixed.
parents af8c918e 9b724fd6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ public class Utils {
    public static boolean shouldShowPermission(AppPermissionGroup group) {
        // We currently will not show permissions fixed by the system.
        // which is what the system does for system components.
        if (group.isSystemFixed()) {
        if (group.isSystemFixed()
                && !Manifest.permission_group.LOCATION.equals(group.getName())) {
            return false;
        }

@@ -102,7 +103,8 @@ public class Utils {
    public static boolean shouldShowPermission(PermissionApp app) {
        // We currently will not show permissions fixed by the system
        // which is what the system does for system components.
        if (app.isSystemFixed()) {
        if (app.isSystemFixed()
                && !Manifest.permission_group.LOCATION.equals(app.getPermissionGroup().getName())) {
            return false;
        }