summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Alexei Nicoara <ancr@google.com> 2023-02-21 15:04:12 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-03-14 15:14:52 +0000
commitcde1c58d01c6e98c813e8b29ee0781d898bf2bdf (patch)
tree3e63bc662211412a6de5253d94e9134b5dfe6bcc /libs/androidfw/ObbFile.cpp
parent46e1caeb866c5d913186f8ea4f299db9595b517a (diff)
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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:70e8cc604da81bfb10a16dc1b1d0e3f55ed307bb) Merged-In: I2dae2801b46977d25609a012270351ab0335531c
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions