Trigger an ANR for slow app responses.
When an app doesn't respond quickly enough to onStartJob or onStopJob,
JobScheduler stops tracking the job internally without giving any
indication to the app that the job is no longer considered operational.
Now, we trigger an ANR in these situations for apps targeting U+ so they
can get some signal (at least via analytics).
Bug: 258236856
Test: atest CtsJobSchedulerTestCases:JobSchedulingTest
Change-Id: I6a4266f779c553d0c60a75bd95280352531476f7
4 files changed