diff options
author | Artem Iglikov <artikz@google.com> | 2018-03-27 15:12:18 +0100 |
---|---|---|
committer | Artem Iglikov <artikz@google.com> | 2018-03-29 11:01:50 +0100 |
commit | 5b53875fdc24c041d198838bce294aa6e631b2e2 (patch) | |
tree | 9b49dad7845571e701cca0cbbe96341bab86667a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3a5dabbb10861a5cea627936c56693550345b9a8 (diff) |
Clear app data before full restore for specified packages
In some cases (deferred restore) the app data needs to be cleared even
if the app has implemented backup agent. As a quick fix introduce
PACKAGES_TO_CLEAR_DATA_BEFORE_FULL_RESTORE secure setting, which
transport can fill prior to restore.
Bug: 69069240
Test: adb shell settings put secure packages_to_clear_data_before_full_restore com.google.android.apps.nexuslauncher && adb shell bmgr restore com.google.android.apps.nexuslauncher
Change-Id: I2a4651365d9cf4747f32d2ba69312f54cd03d118
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions