Enable dimming in gamma space in screenshots for adaptive mode

This fixes a flicker during screen rotation

Bug: 293560925
Test: Youtube HDR playback
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:514a1d17bf217f0cd86da5d4aa4b9d23d5a0a2b6)
Merged-In: I84ea70bc3b40dfeb98431b5e71b59a4466bb3220
Change-Id: I84ea70bc3b40dfeb98431b5e71b59a4466bb3220
This commit is contained in:
Alec Mouri 2023-08-17 21:48:26 +00:00 committed by Cherrypicker Worker
parent f87d53ba66
commit fd0b685110

View file

@ -655,7 +655,8 @@ endif
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.disable_backpressure=0 \
debug.sf.enable_gl_backpressure=1 \
debug.sf.enable_sdr_dimming=1
debug.sf.enable_sdr_dimming=1 \
debug.sf.dim_in_gamma_in_enhanced_screenshots=1
# Camera
PRODUCT_PROPERTY_OVERRIDES += \