summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2017-05-24 16:56:36 +0100
committerTony Mak <tonymak@google.com>2017-05-24 16:03:20 +0000
commit193311a07c14162726126d2b7e09c46f26804839 (patch)
tree6fcc682f9137e40cfdff5ba353d7f14d8d7ca213 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6c0aba7d4fa9e932ba579ea38944afd6ce5cd9a4 (diff)
Fix permission is not granted to work profile system app by default
After creating user, we will grant some runtime permissions to a set of apps in that user. However, DefaultPermissionGrantPolicy failed to look up some apps in work profile cases as most apps are disabled by default. Using MATCH_UNINSTALLED_PACKAGES flag to resolve the intent can fix the issue. Test: create work profile, enable calendar in work profile, observe that permission is granted. Change-Id: Icee02e7257a77cb7e2d15b848628f02e7bca0b9c Fix: 62051433
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions