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

Commit 9b724fd6 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Show location permission group, even when fixed." into mnc-dev

parents ab1e5900 3c093f94
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;
        }