commit | 9fc560f1e14a199e86bf717135b906f0da30611e | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Fri Dec 09 16:25:24 2022 +0000 |
committer | Kweku Adams <kwekua@google.com> | Wed Jan 25 22:15:39 2023 +0000 |
tree | 1e6549878ca0af3a3394341e09c5d8b5c1050a48 | |
parent | d7c5239fc2fa764f3ecdb8c47b4d28409afc4b02 [diff] |
Demote jobs if the user stops the app. If the user stops an app for any reason (Task Manager, force stop, etc.), then demote any pending jobs (that the user wasn't aware of) so that JS no longer treats them as user-initiated. Bug: 255767350 Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest Test: atest FrameworksMockingServicesTests:JobStatusTest Change-Id: I6a6e971a1e86d9e5c65dac744e29b1d9418a5eb3