'-g' to grant permissions automatically without checking the API level. This works around the issue of b/149733368#comment2. '--user all' to install the app on all users. This is more efficient than calling #installPackageAsUser one by one on each user. Bug: 149876119 Test: atest MultiUserRollbackTest Change-Id: Ia5d85d3c13925ae969ffab9319360c1fefe1f950
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