Commit graph

3 commits

Author SHA1 Message Date
Stacy Harper
dbca3ddd80
Trigger postwake when leaving crust cause of USB-C power
Atm, only the button wake up reason was trigerring postwake. This make
the usb charger to uncrust the phone and leave it in lock or off mode.

Now postwake take an argument which is the wake up reason.

The modem reason should not manage so phone state so we make it explicit
in the default hook.

"usb power" and "button" now make the phone to blink 5 seconds and put
the phone back to crust.
2021-07-07 21:00:42 +02:00
Stacy Harper
c63ca633b4
Remove unused arg 2021-07-07 20:31:54 +02:00
Anjandev Momi
725d89d6d6
Rework the sxmo screenlock 2021-06-06 09:41:36 +02:00