summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc2.cpp
diff options
context:
space:
mode:
author Steven Thomas <steventhomas@google.com> 2017-06-15 11:38:40 -0700
committer Steven Thomas <steventhomas@google.com> 2017-06-15 12:31:00 -0700
commit2ddf567064b5c307bec097293e40ac4eeb8f4b49 (patch)
tree4fdf83215fe2a77e2bfa3cd8f24802c389da08d7 /libs/ui/Gralloc2.cpp
parentb209c12155da92f2756c016eda55636c1d8952c1 (diff)
Fix vr flinger post thread to resume correctly
After being paused, the vr flinger post thread remained paused until it was enabled by requesting display ownership, but the request for display ownership was made from the vr flinger post thread, causing the post thread to get stuck in the paused state forever. I moved the display ownership request to the vr flinger dispatcher thread, so the post thread can be resumed. Bug: 62666511 Test: Put a device through a sleep/wake cycle and confirmed the vr flinger post thread resumes as expected. Change-Id: Ic57adb7376c8f2b5760bfaa4a5a30b58894a7ab7
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
0 files changed, 0 insertions, 0 deletions