No need to call #updateRollbackLifetimeDurationInMillis manually inside reloadPersistedData. Also fix tests since #reloadPersistedData no longer pulls DeviceConfig changes. Bug: 147712943 Test: atest StagedRollbackTest RollbackTest Change-Id: I7579d6c969117189e01e0767decd1faeaa811eb9
This directory contains a test for the rollback manager service. Directory structure =================== RollbackTest - device driven test for rollbacks not involving staged rollbacks. StagedRollbackTest - device driven test for staged rollbacks. TestApp - source for dummy apks used in testing. TestApex - source for dummy apex modules used in testing. Running the tests ================= You can manually run the tests as follows: atest RollbackTest atest StagedRollbackTest