summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian DC <radian.dc@gmail.com>2018-01-12 18:14:45 -0500
committerHemant Sharma <hemantbeast@gmail.com>2018-01-14 15:59:20 +0000
commitea43ab4f16256f6d1defab1cfba521aa3efab2ba (patch)
treea6569dd460e0b565804f21084fa6edb160eebf70
parent75d62180e48b814be07996272c67213bcb9f1f9a (diff)
armani: overlay: Disable SystemUI anti-falsing on lockscreen
* The anti-falsing implementation from HumanInteractionClassifier regularly prevents easy swipe to unlock or to pattern / pin on the keyguard lockscreen, requiring multiple attempts until accepted due to a hardcoded evaluation (5.0f) while normal usage shows better results without it * Another solved situation is remote device access like Vysor or TeamViewer were the device is almost impossible to swipe properly from a computer client Change-Id: I0c2590f56e2cf6d6cd4ff3af2341a985670168e3 Signed-off-by: Adrian DC <radian.dc@gmail.com>
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
index 0c9e395..6d54ecf 100644
--- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -31,4 +31,8 @@
<!-- Doze: pulse parameter - how long does it take to fade out? -->
<integer name="doze_pulse_duration_out">600</integer>
+ <!-- If true, enable the advance anti-falsing classifier on the lockscreen. On some devices it
+ does not work well, particularly with noisy touchscreens. Note that disabling it may
+ increase the rate of unintentional unlocks. -->
+ <bool name="config_lockscreenAntiFalsingClassifierEnabled">false</bool>
</resources>