Slion 1,201 Posted October 15, 2021 Share Posted October 15, 2021 (edited) On Lineage OS 18.1 I keep getting in situations where the fingerprint sensor won't work until I unlock to phone with PIN. That was somewhat of an issue before but since I changed my case it's annoying to the point where the fingerprint sensor is almost useless. I'm assuming most those issues are related to the fact that the fingerprint sensor gets temporary locked after 5 failed attempts and permanently locked after 20 failed attempts. Though on stock it would show a message on the lock screen telling you your fingerprint sensor is disabled, on LOS I don't get such message. My new case enables easier access to the fingerprint sensor leading to more failed attempts. I'm planning to make a build that fixes this issue the relevant source code is there: https://github.com/LineageOS/android_frameworks_base/blob/7f7fc2562a95be630dbe609e8fb70383dcfada4f/services/core/java/com/android/server/biometrics/fingerprint/FingerprintService.java#L110 I guess I would just set those constants to something high enough so that fingerprint lock won't kick in. Edited October 15, 2021 by Slion 1 1 Quote Link to post Share on other sites
EskeRahn 5,471 Posted October 15, 2021 Share Posted October 15, 2021 2 hours ago, Slion said: I guess I would just set those constants to something high enough so that fingerprint lock won't kick in. ,,,Or you could make a case where the flap goes the other way. Just 12h stiching... *LOL* 2 Quote Link to post Share on other sites
raymo 179 Posted October 15, 2021 Share Posted October 15, 2021 Interesting, this could explain strange behaviour with this the randomly aspect. For my curiosity, what sort of case are you using ? 1 Quote Link to post Share on other sites
EskeRahn 5,471 Posted October 15, 2021 Share Posted October 15, 2021 On 10/15/2021 at 8:46 PM, raymo said: Interesting, this could explain strange behaviour with this the randomly aspect. For my curiosity, what sort of case are you using ? A modified case for a Honor Huawei P20 Pro. See e.g this 1 1 Quote Link to post Share on other sites
Slion 1,201 Posted October 16, 2021 Author Share Posted October 16, 2021 (edited) 19 hours ago, raymo said: For my curiosity, what sort of case are you using ? Custom flip bookcase based on Huawei P20 Pro, I recently switched from a thicker one to this low profile one. The former I used for over 18 months. I'm also not excluding going back to it depending on how well that later one is working out. Edited October 16, 2021 by Slion 1 Quote Link to post Share on other sites
Slion 1,201 Posted October 16, 2021 Author Share Posted October 16, 2021 12 hours ago, EskeRahn said: A modified case for a Honor P20 Pro. See e.g this Is it not Huawei P20 Pro? 1 Quote Link to post Share on other sites
Slion 1,201 Posted October 16, 2021 Author Share Posted October 16, 2021 20 hours ago, EskeRahn said: ,,,Or you could make a case where the flap goes the other way. Just 12h stiching... *LOL* Actually I really enjoy that kind of manual activity, it is such pleasant change from software engineering. 2 Quote Link to post Share on other sites
EskeRahn 5,471 Posted October 16, 2021 Share Posted October 16, 2021 12 hours ago, Slion said: Is it not Huawei P20 Pro? Indeed, thanks for correcting. 🙂 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.