diff options
author | Hai Zhang <zhanghai@google.com> | 2019-09-19 16:35:44 -0700 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2019-09-27 16:37:37 -0700 |
commit | fa291701d263e88f7a6ce38f7da9bb866340e66d (patch) | |
tree | 71e67018dfb844f3e1ed25a9d69194d5653a98df /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d262c51aaa34d30c5eb2a73d244cb927af5d9e45 (diff) |
Use REVOKED_COMPAT instead of MODE_DEFAULT when syncing app ops.
To get rid of yet another permission state stored in app ops.
MODE_DEFAULT was used to record that the app op is set to a denied
mode by restricted permissions, in contrast to the MODE_IGNORED set
when user denies a permission. However since we have the
REVOKED_COMPAT flag now, we can just use MODE_IGNORED and get rid of
the permission state stored in app op and related logic for it.
Bug: 136503238
Test: manual
Change-Id: I2199188d7feeb37359ad2cb5e7621a3930488e5f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions