summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2024-08-28 21:13:32 -0400
committer Lucas Silva <lusilva@google.com> 2024-08-28 21:17:52 -0400
commita2bb7b0fab63eab75af9ace929d58c4ade65ac94 (patch)
treee7998a9a0840e61e917ea2068d53a624c3030b2c /libs/hwui/AutoBackendTextureRelease.cpp
parent69cafe0e2ef77212a7821648617a16986137058a (diff)
Prevent dream starting on top of edit mode
Due to b/362830856, the dream may start over edit mode because we briefly transition back to GLANCEABLE_HUB before transitioning away from it again. This fix ignores that duplicate transition by only starting the dream if we are on keyguard (eg not if the device is unlocked). This is a short-term fix, the longer-term fix for b/362830856 is more involved as it requires re-working the edit mode transition. Fixes: 362719648 Test: atest CommunalDreamStartableTest Flag: com.android.systemui.communal_hub Change-Id: I1515bdc45ac3ae90434c6a7f05eb2bdfacab2f96
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions