Commit Graph

4 Commits

Author SHA1 Message Date
Hassan Ali
955abc1f9b Set min_sdk_version to 29 in SampleRollbackApp.
Bug: 220204580
Test: manual
Change-Id: Ic9cb14662896d0aef47419419475cb1a36164bb0
2022-10-21 12:03:15 +00:00
satayev
a708398cfb Do not allow multiple commits of the same rollback.
A small improvement to UX, to avoid seeing FAIL rollbacks,
when the rollback has been a SUCCESS on a first try.

Bug: 220204580
Test: manual
Change-Id: I12957a7cdf2499d7ff6f9ce4e0dcc0e568927e6d
2022-10-17 13:00:15 +00:00
satayev
020a77dc28 Use MANAGE_ROLLBACKS permission in SampleRollbackApp.
Bug: 220204580
Test: manual
Change-Id: Iac272b7b490e29fda8f715200439c4069ad98aee
2022-10-17 12:58:47 +00:00
Gavin Corkery
e374f5096e Add manual rollback sample app
This application can be installed as a signature app. It displays
all available rollbacks, and will manually trigger the rollback of
all selected rollback IDs. This application will not trigger a
reboot in the case of staged rollbacks.

Test: m SampleRollbackApp, adb install. Manually install a train
      with rollback enabled and reboot. Verify that the available
      rollback is displayed, and that the rollback can be committed.
Bug: 220204580
Change-Id: Id2e5afac9e25532d8c24ea2b803c07dcfdb84d85
2022-06-23 12:53:34 +00:00