answered
2018-06-08 08:56:47 +0200
Thanks for reporting, I've created internal ticket about this.
At this stage we have been busy enough with getting the fingerprint sw stack implemented and working in different devices - we have not yet done any device specific optimizations to things like unlocking control flow.
As an example: Whether a fp scanner in a device can be kept active depends on what kind of drain it produces from power management point of view -> the "always safe" option is to require user to wake up the device before activating fp scanner.
Then comes the Xperia X specific issue that: When fingerprint hal is activated, it first wants to see "no finger on the scanner" situation before commencing with identification. Now, when the device needs to be woken up (by pressing power key doubling as a fingerprint scanner) before fp scanner is activated, the hal always finds itself in a situation where there is already a finger on the scanner & user must lift the finger off power key before anything happens i.e. at the moment single touch unlocking with power key is not possible.
EDIT - SFOS 3.0.0:
Experimental fingerprint wakeup support is available - for now enabling from command line is needed:
mcetool --set-fingerprint-wakeup-mode=proximity
Fingerprint scanner is activated and used for waking up device when
the scanner is not used for authentication purposes and proximity
sensor is not covered.
mcetool --set-fingerprint-wakeup-mode=always
Fingerprint scanner is activated and used for waking up device when
the scanner is not used for authentication purposes.
mcetool --set-fingerprint-wakeup-mode=never
Fingerprint scanner is not used for waking up device.
Notes:
- When display is off, fp scanner is used for wakeup only -> Unlock ui is shown when registered fingerprint is seen, and another tap on fp scanner is needed to unlock device.
- However tapping on scanner while "lpm" / "glance" ui is visible should unlock directly.
- If fingerprint scanner does not wake the device from suspend (e.g. Xperia X), wakeups will work only sporadically. However enabling lpm/glance ui and/or selecting "proximity" wakeup mode should mean more reliable operation in "after device has been taken out of pocket" situations.
EDIT:
Just a clarification: When enabling the feature, you should use "wakeup-mode=proximity", especially on Xperia X as it does help with keeping the scanner active and alive in situations where it is more likely to be needed. Basically the "wakeup-mode=always" is useful only in devices with broken p-sensor - or in other devices with different hw, for users who do not mind possible extra power drain.
This was exactly what I thought too when I downloaded the update today. In my opinion it's waste of the fingerprint sensor if you always have to wake up the screen first.
Sakke ( 2018-05-31 22:44:17 +0200 )edityeah, it would be nice if it was working as on xperia with anroid: press the power button, phone awakens, scans the FP and unlocks. Pressing, unpressing and putting finger back on the button is a bit annoying
virgi26 ( 2018-06-01 00:15:18 +0200 )editbut a) seems to be unnecessary
virgi26 ( 2018-06-01 00:16:00 +0200 )editas a matter of fact, i do not like the proposed behavior =) just touching should not unlock or lock the phone. Pressing should. But without need to touch again
virgi26 ( 2018-06-01 00:18:42 +0200 )edit@virgi26 I am all for choices and make it configurable ;) I am used to just touching from some other phones and actually liked to also lock them with FP. It is easy to reach and a good addition to the top-down menu option imho. But sure, why not also have the option to press button first. or even need double press for other people liking that.
mosen ( 2018-06-01 00:29:28 +0200 )edit