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
4 files changed