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

Commit 711f8a17 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

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

parents 79fe6c1c 2d03ddd5
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -79,8 +79,7 @@ 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()
                && !Manifest.permission_group.LOCATION.equals(group.getName())) {
        if (group.isSystemFixed()) {
            return false;
        }

@@ -103,8 +102,7 @@ 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()
                && !Manifest.permission_group.LOCATION.equals(app.getPermissionGroup().getName())) {
        if (app.isSystemFixed()) {
            return false;
        }