diff options
author | Gavin Corkery <gavincorkery@google.com> | 2019-09-02 09:48:01 +0100 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2019-09-02 10:02:56 +0100 |
commit | fd42d3c967736683c1ea1df4101b5dc0e2bc4d9c (patch) | |
tree | 134ae1e434d4bafe287a1d43915e1949696ec404 /startop/scripts/lib/cmd_utils.py | |
parent | 2c833c2b0f7131d8490e29c42d7da88c62673341 (diff) |
Check eligibility before calling snapshotAndRestoreUserData
In cases where a rollback is not being enabled or a downgrade
is not taking place, PackageManagerService needlessly calls
into RollbackManagerService, giving the impression that a
userdata backup/restore is taking place. Performing this
eligibility check should make the post-install flow clearer.
Test: atest RollbackTest
Bug: 139920268
Change-Id: I7ccea264aefa24df52751647f45f38df4ae15cf4
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions