summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2020-02-12 20:22:26 +0100
committer Marin Shalamanov <shalamanov@google.com> 2020-03-31 17:31:01 +0000
commit4a42d43bf32ba88e0867717d22bae318ac00de5b (patch)
tree07cd4ce9fd890a119a58a01ed1aad0b86113c7a8 /opengl/libagl/array.cpp
parentbdd5915fa6a398571da8ad28e5c8946c3715d39a (diff)
SF: Update display properties on hotplug connect
When a hotplug connect event for already connected display is received, destroy and recreate the display device in SF, then send a "hotplug connect" event to Display manager. This way display properties will be updated. Bug: 143451809 Test: atest libsurfaceflinger_unittest Test: atest SurfaceFligner_test Test: atest CompositionTest Test: Manually on device: 2. adb shell dumpsys display 3. unplug primary display 4. plug another display 5. adb shell dumpsys display Test: Manually on device: 1. disconnect and reconnect display 2. power off and on the screen 3. make sure the device didn't crash Merged-In: I89996d9340f6570fa5ae0cc0977eaba7a2d3693c Change-Id: I89996d9340f6570fa5ae0cc0977eaba7a2d3693c (cherry picked from commit 700e639f7d283987fb7b994a038dc0ca5dba3dbf)
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions