Skip to content
Commit 8c1a8684 authored by tysonwei's avatar tysonwei
Browse files

Fix potential race condition problem

If we call forceSuspend to enter STR and then resume from it,
we should make sure that mForceSuspendActive is set to false
to wake up device correctly.

Bug: 205257123
Test: 1. forceSuspend
      2. wait until kernel enter suspend mode
      3. press power button to wakeUp
Change-Id: I3c57ff7c7352fe078f2139d9679dc3d860482f05
parent 4ee969e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment