Skip to content
Commit 62d61616 authored by Shrinidhi Hegde's avatar Shrinidhi Hegde
Browse files

Prevent Android watchdog from rolling back Phonesky in response to crashes

Presently, the Android framework automatically rolls back Phonesky when it detects many crashes, either from Phonesky or another persistent service right after startup. We want to be able to request Phonesky rollbacks, but do not want the framework to automatically roll us back, only when GMS Core requests it should a rollback occur.

In this change I have introduced a new deny automatic roll back list which contains Phonesky. Rollback manager will check if the failed package be rolled back automatically before rolling back.

Test: Unit tests and manual test
Bug: 259985211

Change-Id: I72940590e650c89fd59d6fc70fa2f7c2cea24de1
parent 17fc1ea2
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