Comment 4 for bug 1309915

Revision history for this message
Michael Zanetti (mzanetti) wrote : Re: foreground app should recieve SIGSTOP on suspend

Debugging this a little further reveals this:

The suspending of the app does work, however, its bound to Greeter.locked and turns out we only lock the greeter when the screen wakes up again. This means, pressing the power button to turn off the screen does not suspend the app. Pressing the power button again makes the screen wake up, locks the greeter and suspends the app. Swiping the greeter away resumes the app again.

Reassigning this to mterry given that he'll land the new split greeter soon.

Basically we need to make sure that the greeter locks when the screen turns off (as opposed to when it turns on as it is right now) which should implicitly fix this bug.

If we want to keep the Greeter unlocked while the screen is off for whatever reason, we need to find something else to bind ApplicationManager.suspended to.