summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc3.cpp
diff options
context:
space:
mode:
author Nikita Ioffe <ioffe@google.com> 2019-01-25 13:54:43 +0000
committer Nikita Ioffe <ioffe@google.com> 2019-01-30 09:24:17 +0000
commit77be2ed4504a72c0f6dbb0aeb797f735338d01d4 (patch)
treead81b139300ad7fb1eaef4f1c044d3b84f1f26ba /libs/ui/Gralloc3.cpp
parentf12d0706920975e0a465c89727349537563f5ac5 (diff)
installd: Add destroyAppDataSnapshot and corresponding binder API
- destroyAppDataSnapshot: deletes both ce and de snapshots (controlled via storageFlags), for ce snapshot fallbacks to deleting it by it's inode in case snapshot is not accessible (user hasn't unlocked the phone yet). - snapshotAppData: in case ce snapshot was requested, it will now return inode if a folder with the snapshot. Otherwise it will return 0. Passing ceSnapshotInode to destroyAppDataSnapshot should make logic inside RollbackManagerService a bit easier. Since it will be able to delete ce snapshot regardless of user unlocking their phone. Bug: 112431924 Test: installd_service_test installd_utils_test Change-Id: I015de12593b87f3000f004cc0a901a9208d0b693
Diffstat (limited to 'libs/ui/Gralloc3.cpp')
0 files changed, 0 insertions, 0 deletions