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

Commit fc3aad9d authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

[Bugfix]Execute screenTurnedOff after screenTurningOff is executed

The methods in screenTurningOff and screenTurnedOff are executed asynchronously, which causes mScreenOnEarly to be false occasionally when checkingIfReadyToSnapshot in screenTurningOff, resulting in snapshot failure. The startingWindow type after the screen is turned on is incorrectly set to splash screen.
Before the screenTurningOff method, mPendingScreenOffUnblocker is assigned in unBlockScreenOff, and mPendingScreenOffUnblocker is set to null after screenTurningOff is executed. Therefore, before executing screenTurnedOff, screenTurningOff is considered to have been executed and mPendingScreenOffUnblocker==null is judged.

Bug:414282309
Test: Manual
Flag: EXEMPT trivial change
Change-Id: I42a19655bbc16d3efa940bc981afb64c1d08dd91
parent af2a9e60
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