summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2019-01-14 15:21:52 +0000
committer Narayan Kamath <narayan@google.com> 2019-01-22 19:53:35 +0000
commitdfdfb795c54b161ef2c533d66b0e013ff35af68f (patch)
tree9d129535cadf29c3e2e97adcd5c60bbaea11f906 /libs/gui/SurfaceControl.cpp
parentc9a388a147b6a64da77a95cc201f37ac9cc2aab6 (diff)
installd: Implement support for userdata snapshot and restore.
Adds two binder APIs: - snapshotAppData: Makes a copy of the apps credential encrypted and/or device encrypted data for a given user to one of /data/misc_[ce|de]/rollback. This path is writable only by installd. - restoreAppDataSnapshot: Restores a copy of the apps credential encrypted and/or device encrypted data from a snapshot, if one exists. Implemented for use from RollbackManagerService, which will make a transient copy of an app package as well as its data in order to roll them back within a specified window. Bug: 112431924 Test: installd_utils_test, installd_service_test Change-Id: I3e4d36c11e52fb885b585b1946e215cf986206fd Merged-In: I3e4d36c11e52fb885b585b1946e215cf986206fd
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions