Skip to content
Commit 70e8cc60 authored by Alexei Nicoara's avatar Alexei Nicoara
Browse files

Adding reboot throttling

For crashes during boot, Rescue Party will start rebooting and offering
factory resets as soon it detects those crashes. If the user
continuously rejects the factory reset prompts then the device will keep
rebooting and will never finish boot. There are some cases when the
device could have been saved if it would have finished the boot
(by server-side mainline rollbacks, GMS auto-updates, flag changes).

Adding throttling mechanism for reboots and factory resets. Rescue Party
won't be allowed to do new reboots and factory resets 10 minutes after a
factory reset was offered.

Test: atest RescuePartyTest
Bug: 264885897
Change-Id: I2dae2801b46977d25609a012270351ab0335531c
parent 2f390b89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment