commit | 575aa7232035b8da3336ee5170e8016bd16460ae | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Mon Jun 17 11:03:30 2024 -0400 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jun 21 23:22:49 2024 +0000 |
tree | 7202908f8dd55b2f82067d41506d0be3f8491901 | |
parent | 00299f508bdd94873514f55df0821c842e48abb1 [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. Fixes: 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: Id5cb29c3cbaa8ed455a15d8be3a32e79a470cce5