summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Galia Peycheva <galinap@google.com> 2023-06-09 16:06:58 +0000
committer Galia Peycheva <galinap@google.com> 2023-06-29 11:12:18 +0000
commit2e14118f432aadebdc0eb42eea146b638182d34b (patch)
treef3ea3200940d4e9b9f8e3170e6cb677fe57ecedf /libs/androidfw/ObbFile.cpp
parentc7753c320f21e3adf8f72cd10b1645dab8cb89e7 (diff)
Do not kill dream process when stopping dream
The DreamController currently force stops the dream with ActivityTaskManagerService.removeRootTask. Unintuitively, that method kills the client process if the dream task is the last task in the process. We want to keep the dream client process warm and leave it up to the LMK to decide when to kill it. In this CL we pass an IAppTask to the DreamController, which allows it to stop the dream task without killing the process. Bug: 281960746 Test: atest DreamManagerServiceTests Test: atest DreamOverlayTest Test: atest DreamServiceTest Change-Id: I83f267657812cb776fc65919bc0f5727fdc15b30
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions