Skip to content
Commit 980ab95c authored by Nate Myren's avatar Nate Myren
Browse files

Check if an app requests POST_NOTIFICATIONS before setting state

Ensure that we only set POST_NOTIFICATIONS if an app requests it. PermMs
throws an Exception when attempting to grant/revoke a permission an app
doesn't request.

Fixes: 219798259
Test: atest PermissionHelperTest
Change-Id: I51a8339ff2c943832c831ac968613035ea0ca2e9
parent d00d9c2b
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