summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2020-08-05 18:08:58 -0700
committerHai Zhang <zhanghai@google.com>2020-08-11 17:02:06 -0700
commit7e8c82cdfe769b0beaa25ec1621ae2cc3f8e61eb (patch)
treef0eaa4a48cdf081c94a0885b2f7b0fe8616ca7d2 /rs/java/android/renderscript/ProgramStore.java
parent0de9d934a0406f3549ce71a149f78afc202d2515 (diff)
Move PermissionsState into PermissionManagerService.
PermissionsState objects are now keyed by app IDs (UID without User ID) inside PermissionManagerService. This assumes app IDs are stable while the system is running, and across uninstallation of a system app update, which is indeed the case. The PermissionStates inside package setting is kept as-is because we need to migrate data from old platforms. To limit the scope of this change, persistence of permissions is also left untouched, and we are temporarily telling PermissionManagerService to write PermissionsState back into package settings before persistence. This will be fixed once we move the permission persistence out of package manager as well. Bug: 158736025 Test: presubmit Change-Id: I703fdbb9af64c30731b5e2c519e0b5d6c835d640
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions