diff options
| author | 2019-01-14 15:21:52 +0000 | |
|---|---|---|
| committer | 2019-01-18 12:50:29 +0000 | |
| commit | e63ca7dd087b4141c6926d66354e5631644efc3c (patch) | |
| tree | ad274a6035c2e734e10d7344173ef47c6affccdb /libs/gui/SurfaceControl.cpp | |
| parent | ec751ea6d0f8ebde148b27f645a81a8f340c081d (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
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions