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

Set GRANTED_BY_ROLE flag for app op permissions granted by role.

Previously we didn't utilize this flag for app op permissions because we
were considering whether install permissions and runtime permissions
should be separated. However since the introduction of role protected
permissions, which are install permissions, we are already using
permission flags on install permissions. And the unification of install
permission and runtime permission storage in S also made this natural.
So let's utilize the GRANTED_BY_ROLE flag for app op permissions now.

Fixes: 180431636
Test: presubmit
Change-Id: I418e02f83950e101573d6d18962f287d242ce983
(cherry picked from commit d65bcb97)
parent 014d4b8c
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