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

Commit 4c23bf7d authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6671561 from 93a17850 to rvc-release

Change-Id: I1c80d5e75a44a4fa9d8e2dd6ec9ec0f48ffe5a32
parents 789e9904 93a17850
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -241,7 +241,8 @@ class AppPermGroupUiInfoLiveData private constructor(
                return PermGrantState.PERMS_ASK
            } else {
                if (Utils.couldHaveForegroundCapabilities(
                                Utils.getUserContext(app, user), packageName)) {
                                Utils.getUserContext(app, user), packageName) ||
                        Utils.isEmergencyApp(Utils.getUserContext(app, user), packageName)) {
                    return PermGrantState.PERMS_ALLOWED_ALWAYS
                } else {
                    return PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY