Comment 3 for bug 1396244

Revision history for this message
Gerry Boland (gerboland) wrote : Re: Unlocking the phone over dialer is very slow

>> Is dialer fullscreening itself on lock?
<mterry> greyback_, yes
<mterry> greyback_, well the greeter enforces fullscreen / locked-down UI when you're in the emergency dialer (doesn't present launcher or indicators). So the dialer requests fullscreen because otherwise there'd be a blank bar at the top where the panel used to be
<greyback_> mterry: could it fullscreen itself only when it needs to appear?
<mterry> greyback_, well hm. I don't think we send it any signals that it could pick up on
<mterry> greyback_, unless it wasn't top app, then it would notice that it was being focused

The fullscreen/unfullscreen change appears to be a performance hit on shell while it's trying to animate lock screen. Resize isn't fast, hits CPU mostly. Not sure how, but might be optimisable.

Alternative is that Shell could refuse to honour fullscreen requests if device locked. But would be racey on unlock - what would happen first, the unfullscreen request from the client, or the shell's "oh I need to fullscreen you now"