summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2019-09-02 09:48:01 +0100
committerGavin Corkery <gavincorkery@google.com>2019-09-02 10:02:56 +0100
commitfd42d3c967736683c1ea1df4101b5dc0e2bc4d9c (patch)
tree134ae1e434d4bafe287a1d43915e1949696ec404 /startop/scripts/lib/cmd_utils.py
parent2c833c2b0f7131d8490e29c42d7da88c62673341 (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