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

Commit 693c165b authored by Hai Zhang's avatar Hai Zhang
Browse files

Fix role permission granting.

Don't override user set/fixed permissions when we are re-granting
permissions during reconciliation. Otherwise, users won't be able to
revoke permissions granted by role (it will be constantly overridden
by the re-grant). This change fixed it by separating
overrideDisabledSystemPackage and overrideUserSetAndFixed, so that for
roles we can say we don't care about disabled system package, but we
do care about whether to override user choice.

Bug: 124452117
Test: presubmit
Change-Id: I9faa2f8bde5c9e6e0558822f1109d3fc2cadd5d7
parent c12ca3c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment