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

Commit 48b1fed0 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Merge cherrypicks of [7828976, 7828456, 7829138, 7829140] into qt-release

Change-Id: I78f122dc94db6c32195f22c6de51c59f1406cd4b
parents b598fcff 39ba70de
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -1173,6 +1173,14 @@ public class PermissionManagerService {
                                    }
                                    }
                                }
                                }


                                if (hardRestricted && !restrictionExempt
                                        && (flags & FLAG_PERMISSION_SYSTEM_FIXED) != 0) {
                                    // Applying a hard restriction implies revoking it. This might
                                    // lead to a system-fixed, revoked permission.
                                    flags &= ~FLAG_PERMISSION_SYSTEM_FIXED;
                                    wasChanged = true;
                                }

                                if (wasChanged) {
                                if (wasChanged) {
                                    updatedUserIds = ArrayUtils.appendInt(updatedUserIds, userId);
                                    updatedUserIds = ArrayUtils.appendInt(updatedUserIds, userId);
                                }
                                }