summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2023-08-09 13:15:31 -0400
committer Dominik Laskowski <domlaskowski@google.com> 2023-08-10 12:48:55 -0400
commit3de6727d7b164859780b9f2eb0e2db98eb8f23f4 (patch)
tree6c5a73c3e734eaf03bb7f7c604955419c001305d /libs/gui/ConsumerBase.cpp
parentf88c330e870ab4dd333341234836cba4fb209df5 (diff)
SF: Fix jank after folding due to power sequence
SF assumed that DM always powers off the active display before powering on the other display. However, this is not the case when simultaneously folding and pressing the power button to turn on the rear display. SF then behaves as if all displays were off (e.g. synthetic VSYNC, low thread priority), causing consistent jank until the next power or fold event. Fix this by activating the other display if already powered on. Fixes: 294230902 Test: No jank after simultaneously folding and hitting the power button. Test: FoldableTest.promotesPacesetterOnConcurrentPowerOff Change-Id: I5d0bdafc4002ce5ae86866f457132f8a0f178698
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions