diff options
| author | 2018-04-11 18:55:37 -0700 | |
|---|---|---|
| committer | 2018-04-11 18:55:37 -0700 | |
| commit | c683dfeccb10aeee7abc9b1e496bd88581a1860c (patch) | |
| tree | 6cd0f80dfb3f874fc81261a9e3e1234043b964eb /libs/gui/BufferQueueThreadState.cpp | |
| parent | 409a80198b0603816abb553f349028cbd9fdcee8 (diff) | |
Fix vr_hwc crash when re-entering vr
An enter, exit, enter vr sequence would result in a crash in vr_hwc
because we weren't clearing the event callback pointer in
unregisterEventCallback() during the exit vr step. When we would enter
the second time we'd try to call onRefresh() on the stale pointer,
resulting in a crash.
Bug: 77498352
Test: Enter, exit, enter vr, confirmed no crash.
Change-Id: If93aaf9935844565cb99bbf7349573a8ddfff4ca
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions