Hardening: removing deadlocks and an infinite loop.
- removing (most) locks on status callbacks:
-- this will allow callbacks to flow through even if someone is waiting for a missing page under lock,
- removing infinite loop if adb stops serving pages for any reason:
-- this will allow binder to eventually return and not being killed by a watchdog.
Bug: 175632872
Bug: 177371679
Bug: 177286035
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I370ba7735ec0c3f2290bd3fd955be4964e145bc7
2 files changed