From b25a18395e666bbe13506651d5de84054aae0fcc Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Thu, 31 Dec 2015 17:36:00 +0100 Subject: gui: PatternPassword: allow any N*N grid Rather than only supporting a 3x3 grid, allow for multiple grid sizes (using the CyanogenMod method of generating passphrases for non-3x3 grids). Also fix the detection of touches, as the old code was far too sensitive for larger grids (and also didn't make much sense). Change-Id: I343ef654e6d29ce0cb790a28281be7c7c9b171d9 Signed-off-by: Aleksa Sarai --- gui/theme/common/portrait.xml | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'gui/theme/common/portrait.xml') diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml index 2cd49e4c6..2d399babe 100755 --- a/gui/theme/common/portrait.xml +++ b/gui/theme/common/portrait.xml @@ -141,6 +141,10 @@ + + @@ -3986,15 +3990,44 @@ {@decrypt_data_enter_pattern=Enter Pattern.} + + + + {@decryt_data_failed_pattern=Pattern failed, please try again!} + + - - + trydecrypt + + + + + + + +