diff options
| author | 2023-11-16 16:47:19 -0800 | |
|---|---|---|
| committer | 2023-11-16 16:47:19 -0800 | |
| commit | e834ea93cfbf4743cd87b190492f808e6b683411 (patch) | |
| tree | 9701ce3a4343d42cd0631509f97eade5b9f80fa3 /opengl/java | |
| parent | 44da7e6e318a7597e39ebecb0d2544c3e867a786 (diff) | |
Do not kill process on removing task if it has a started service
Upon removing the task, if the app is running in the background
process state, it'll be killed. We've exempted if it's running
a broadcast receiver, and here we're exempting the apps with
started service, so the app will get a chance to run its
Service#onTaskRemoved(). Since the app is running in the background
state, its background service will be stopped automatically after
60s, so the process will be killed eventually.
Bug: 310724715
Test: Manual - Launch the media session demo, swipe it from recents.
Change-Id: Ie6c17a7b77a6189b8eac1d35d49c862ea46c00b9
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions