summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2021-03-08 13:28:45 +0000
committerSantos Cordon <santoscordon@google.com>2021-03-11 21:26:34 +0000
commit33b90a368334579438f99a514ba02a724011fc2b (patch)
treea3d74b7846005b9ab8e04041798c84fadfd4ae32 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent85399be2db51412f907ca249308a75210dff382a (diff)
Move LogicalDisplay.isEnabled calculation to DPC.
Move the logicalDisplay.isEnabled() check from being a one-off check in DisplayManagerService to being part of the display-power calculation in DisplayPowerController. Also: - Change initial value of mDisplayState to UNKNOWN so that we dont send displayState requests until the display's power state has been initialized by DisplayPowerController. - Sent the displayState to SurfaceControl when the previous state was UNKNOWN. This is needed to ensure the second display on multi-display devices can be set to OFF by default. Test: Manually verify no OFF state is sent during boot-up on single-display devices Test: atest com.android.server.display Bug: 181314849 Bug: 178713651 Change-Id: If3b0880b173bc11974f1a61d159d7a4ca9a0c159
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions