diff options
author | Patrick Baumann <patb@google.com> | 2020-06-17 16:13:41 -0700 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2020-06-18 00:05:30 +0000 |
commit | 5c5ac45ea00d469954752c276fa32e7fd0cc1b63 (patch) | |
tree | a3ec83fd080ba9a4b8bd0980c936e5801255f3c3 /rs/java/android/renderscript/ProgramStore.java | |
parent | 8a4ea8bb12eb2294b3c63bb421554d53c0a3a6d7 (diff) |
Repopulate cache with sibling visibility on remove
This change ensures that we re-add the visibility state of a shared user
id when one of its members is removed. Prior to this change, we were
removing the app ID (and thus all other members of the shared uid) but
only recomputing on the removed setting, which we ignore in the update
(essentially an expensive no-op). This change ensures that we run
through the shared settings and re-compute with them instead.
Fixes: 159197157
Test: atest AppEnumerationTests SharedUidPermissionsTest
Change-Id: I85250e4264888ac8583a2b4798ff6a2f93d6a74d
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions