diff options
| author | 2023-12-05 20:48:27 +0000 | |
|---|---|---|
| committer | 2023-12-05 20:52:51 +0000 | |
| commit | 3d3b01abcf033e41ef92441ba6a294c83e41dcab (patch) | |
| tree | 611612b67004f04ed9468af0e8ea6c1d72887add /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | ca834953e8860043a5ffdb8410538c8791d20191 (diff) | |
Don't allow jobs of stopped apps to run.
Jobs scheduled on behalf of another app (aka "source app") aren't
dropped when the source app is force stopped. In this scenario, we don't
want the job to run until the app comes out of the stopped state. Add
explicit handling of this case to ensure we don't accidentally run these
jobs and potentially give the app a way to get out of the stopped state
in the background.
Bug: 313794821
Test: atest FrameworksMockingServicesTests:BackgroundJobsControllerTest
Test: atest CtsJobSchedulerTestCases:JobThrottlingTest
Change-Id: I26a8efb0b04022a6ac9e9ad716940c8971fd57dd
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions