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

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

Don't throw exception when changing unrequested permission state.

And just log it instead.

Because such an API call is always racy with package changes, especially
when someone is doing things in response to changes (e.g. the role
subsystem). We have to either catch all security exceptions at the call
site, or throw less exceptions while keeping the more important ones. So
not throwing in this case is arguably the better option.

Fixes: 321559226
Test: presubmit
Change-Id: I0835ad01af2a41b711b66b8a0d84a10c1305c401
parent 6d93e4f3
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