diff options
| author | 2024-07-12 15:55:28 -0400 | |
|---|---|---|
| committer | 2024-07-20 07:04:57 +0000 | |
| commit | 3a3330644c3745cc195038fba6107b1d7b435ab9 (patch) | |
| tree | 95c272e34a6f4388d5f342a98d92bef396dcee47 /libs/gui/DisplayLuts.cpp | |
| parent | c2d89d6538f3d79f5f2619bed4f751a12e0437e4 (diff) | |
SF: Do not toggle idle timer on display hotplug
As a short-term measure to avoid a deadlock during display hotplug, skip
stopping and starting the pacesetter's idle timer on demotion/promotion.
This assumes that hotplug results in demoting/promoting the same display
as pacesetter, currently always the active internal display.
Fixes: 329450361
Flag: com.android.graphics.surfaceflinger.flags.connected_display
Test: Manual (foldable, connected display)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b972419619256ea07ebdb35b737946faf5c21bdc)
Merged-In: Ieeb026666c8abdd14e0d4690a624fb60306b1bc1
Change-Id: Ieeb026666c8abdd14e0d4690a624fb60306b1bc1
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions