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

Commit 2d03ddd5 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Svetoslav
Browse files

Revert "Show location permission group, even when fixed."

This reverts commit 3c093f94.

Change-Id: I28e5597390df3abfdde6e4f8c46d0350028392c8
parent 919d56f9
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;
        }