Moving away from LocalIntentReceiver

We cannot use LocalIntentReceiver from the new module.
It is not possible to copy the functionality to module due to hidden
APIs.
Refactoring to use PendingIntent and BroadcastReciver instead.

Test: atest CrashRecoveryTest; verified that rollback happens and WatchdogRollbackLogger are correct
Bug: 289203818
Flag: android.crashrecovery.flags.refactor_crashrecovery
Change-Id: I5d9cd74e7f7d3c7d8906a871ec5686bd8307a36a
1 file changed