summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2024-09-20 15:13:42 +0200
committer Robin Lee <rgl@google.com> 2024-09-24 16:28:50 +0000
commitb09b7d2e768146cf8bff4441e3b6536049b2f0bf (patch)
tree3de6d9c77daa0854c4bc38674c8b102a407dfedd /libs/androidfw/StringPool.cpp
parent4e2db7cea643a55aa7d0b10659334c26bfc9a571 (diff)
Only launchTaskBehind dream if dream is on top
We don't specifically care about whether the device is dreaming or not as a dream doesn't necessarily have an activity. We should check if moveToTop worked or not - and in case it didn't, if that was because there was an always-on-top activity in front. Using the callback sent from DreamManagerService to ActivityTaskManager is unreliable because it will not update state in sync with activities starting/stopping and leads to race conditions. Flag: com.android.window.flags.remove_activity_starter_dream_callback Test: atest DreamManagerServiceTests Bug: 366452352 Change-Id: I620072b756ccd892931561c6c7c4236c16c8a20e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions