commit | d012e7c2a50dc20688c12e0c6d8521c4dcfa2c4e | [log] [tgz] |
---|---|---|
author | Piotr WilczyĆski <wilczynskip@google.com> | Tue Mar 26 12:31:08 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Mar 27 21:36:16 2024 +0000 |
tree | 5212c473f12334c7c187f3b2ea15d44edcfb41ac | |
parent | fcdae5b911984555888253804e11e096f084d3d8 [diff] |
DMD fix flicker vote In ag/25829274, we made some code in DMD work for multiple displays, so what happened with mRefreshRateChangeable was that it was being set based on the min and max refresh rates of the display that was most recently updated. When using Screen Recording, a new virtual display is added with only one refresh rate 60, so mRefreshRateChangeable was being set to false, even though there are other displays with changeable refresh rates. Bug: 25829274 Test: adb shell dumpsys display - look at mRefreshRateChangeable and PRIORITY_FLICKER_REFRESH_RATE Test: atest com.android.server.display.mode (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:eca441ee844665ec3511b0709a69c27abc302f94) Merged-In: Ic05ab0401766f6d0edd295ca337b0713f7e367a5 Change-Id: Ic05ab0401766f6d0edd295ca337b0713f7e367a5