diff options
author | 2025-02-14 05:44:46 -0800 | |
---|---|---|
committer | 2025-02-14 05:44:46 -0800 | |
commit | 519bd4e7f56290a069de08718760717f68fe3c99 (patch) | |
tree | 6ff2df30acee333b33386707adfb9eddef8a5b17 /opengl/java/javax | |
parent | 23a5381e4b24bebf1953abf38b4f36f1f8cf5fae (diff) |
Correctly initialize virtual display power state
Effectively removing the usages of FLAG_NEVER_BLANK. This flag was
added in 2013 (ag/316512) but all the display blanking logic from
back then is gone. The only thing the flag does today is prevent
calls to requestDisplayStateLocked for virtual displays.
Removing this allows to set the initial state of a display to UNKNOWN
because requestDisplayStateLocked is always called now.
So calling requestDisplayStateLocked will trigger the
VirtualDisplay.Callback on creation (which is what should happen) and
will trigger onDisplayChanged callback for DisplayListeners.
Fix: 371125136
Test: presubmit, CTS
Flag: android.companion.virtualdevice.flags.correct_virtual_display_power_state
Change-Id: I82f6bf6b4a8e56f8b59ba601b406982642f5d503
Diffstat (limited to 'opengl/java/javax')
0 files changed, 0 insertions, 0 deletions