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

Commit 0123ac61 authored by Steven Thomas's avatar Steven Thomas
Browse files

Fix display power state reset in vr flinger path

Some code refactoring in ag/4355343 accidentally broke vr flinger. When
switching to vr flinger, we call setPowerModeInternal() to reset the
display state. With ag/4355343, we were incorrectly holding on to a
stale display, causing us to early exit from setPowerModeInternal() and
not apply the display power state change.

Bug: 111398862

Test: Manually ran vr flinger, confirmed it works again after applying
this CL.

Change-Id: Idbead0338f9219c80cb8a2d9f283daefff373a33
parent d544a9c2
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