Skip to content
Commit 4afa3f5e authored by Hai Zhang's avatar Hai Zhang
Browse files

No need to kill app if app op was changed for modern apps.

This is a follow up to ag/13156539 in 2020 due to b/263324262#comment47.

We are already not killing upon granting app op for modern apps in
ag/13156539, and we don't need to kill for revoking app op for modern
apps either because the permission should have been revoked as well.

This also makes persistChanges() behave consistently with
revokeRuntimePermissions() when delayChanges = false.

Bug: 263324262
Test: presubmit
Change-Id: I7ab31bb25a05f5976aa5358d47ea684463e2fdad
parent 1fa5fa0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment