diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-01-28 19:49:56 +0000 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2019-02-06 16:13:58 +0000 |
commit | 952aa7b4b071d98f2260094ebd906f7c1ecbe151 (patch) | |
tree | c56a6f65b60f2364b15a6be0c5444667f11e7611 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | e8c4958b2f1bd08d87506eb6a86065daead2b74c (diff) |
RMS: Delete user data snapshots when deleting a rollback
- PackageRollbackInfo now also stores list of users the package is
installed for and the inodes of backup CE data snapshot.
- Changed snapshotAppData to return a pair of
<pendingBackups, ceSnapshotInodes>.
- RollbackData is updated with CE user data snapshot inode after user
unlocks the phone and snapshotAppData call is made.
- Added javadoc to some methods in Installer.java to make lint happy.
Not sure how to automatically test:
- multi-user flow.
- the fact that user data snapshots were deleted. I can't access folder
with snapshot data in RollbackTest, because it is owned by installd.
Bug: 112431924
Test: AppDataRollbackHelperTest, RollbackTest
Change-Id: Ife15f1aed9cf1d2b15be238bdaf766c51b85cab6
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions