summaryrefslogtreecommitdiff
path: root/libs/ui/DebugUtils.cpp
diff options
context:
space:
mode:
author Steven Thomas <steventhomas@google.com> 2018-03-21 15:36:31 -0700
committer Steven Thomas <steventhomas@google.com> 2018-03-21 22:46:24 +0000
commit14c461a47806524f7bb51273df7d45fb8648b4b7 (patch)
tree733d25e975d035b9ec8a67d6d7ec665782c630b4 /libs/ui/DebugUtils.cpp
parentf5c7aff34ff5a360b8bc0ded5a0b5cd74416abad (diff)
Fix client creation failure in vr_hwc
There's some code in vr_hwc to prevent multiple clients, but it was slightly broken in that only the first attempt to create a client would work. If you destroyed the client and then tried to create another one, it would incorrectly fail. This results in a "failed to create composer client" assertion crash in surface flinger the second time a user runs a vr app that uses vr flinger. Bug: 74985350 Test: Enable vr flinger render path, enter vr, exit vr, enter vr, confirmed no crash. Change-Id: Id5de0063c1e4e0be5a06d0a59b59ae3b669480f8
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions