diff options
| author | 2024-06-17 11:03:30 -0400 | |
|---|---|---|
| committer | 2024-06-18 12:12:41 -0400 | |
| commit | 39be47b981c93b4366c7fdd341c064e7f47bfb94 (patch) | |
| tree | a7ec259dc830dbb3e034759bd2f93016cc74bab6 /libs/gui/DisplayLuts.cpp | |
| parent | b00cdc555627154d0ac05fb4b3a882643617975f (diff) | |
SF: Fix pacesetter promotion for folded mirroring
The pacesetter display is demoted/promoted in response to a hotplug. On
foldables, the promoted display was hard-coded to the inner display, so
a hotplug while folded would incorrectly use that powered-off display as
the pacesetter, causing system-wide jank until the next fold/unfold.
Bug: 347248313
Flag: EXEMPT bugfix
Test: Connect and disconnect external display while folded.
Test: Fold and unfold while external display is connected.
Test: Pacesetter is still correct on folded/unfolded boot.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3ff44c7e852f5614514a15dcec78ba7857e5d010)
Merged-In: Id5cb29c3cbaa8ed455a15d8be3a32e79a470cce5
Change-Id: Id0a32686c1271163e88a8c586482ee37d42a5bdf
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions