summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2018-08-24 17:25:50 -0600
committer Jeff Sharkey <jsharkey@google.com> 2018-08-27 20:42:39 +0000
commit5cb0b1ae3ac1811e38d386820f922473f48d5971 (patch)
treeb9895392a90396fc7c39c12d1f8504fc9e03819a /libs/gui/SurfaceComposerClient.cpp
parentdb7db8e591979fdb348221676ea21922fc7a9bc7 (diff)
Clean/destroy app shared storage via installd.
In P we moved destroying per-user shared storage into installd, where it can iterate quickly over large sets of files. This change now moves cleaning/destroying of per-app shared storage data down into installd, letting us greatly simplify the logic in PMS to no longer require spinning up DefaultContainerService. This also fixes an obscure bug where DCS (which always runs as USER_SYSTEM) wasn't able to clear shared storage for secondary users. This also gives us the ability to target specific storage devices by UUID, such as when the user has migrated their primary shared storage to an adopted device. We no longer distinguish between keeping or deleting OBB files during various operations, since upcoming changes in the Q release will mean OBB files are no longer shared between users, and they'll now live inside a sandbox that will be fully cleared when the user clears data. (Going forward, apps should be using splits instead of OBBs, so they're effectively deprecated.) Uses newer "const" feature of AIDL to ensure constant values remain consistent between native and Java code. Bug: 111854851, 111838160 Test: atest android.appsecurity.cts.StorageHostTest#testCache Change-Id: Ia913587343edf47c37b4e72cc298e16cf90a9a23
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions