Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c683dfec authored by Steven Thomas's avatar Steven Thomas
Browse files

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
parent 409a8019
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment