If you unlock the phone in rtcwake, then the next rtcwake will put the phone back to crust cause last wake up reason still is rtc. To prevent this, we also check the last state and expect it to be crust. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Anjandev Momi <anjan@momi.ca>master
parent
4c0b70442c
commit
41c15b192e
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue