Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: unable to set pattern when dot index exceeds 9 #31

Open
buffermet opened this issue Jun 2, 2019 · 0 comments · May be fixed by #32
Open

Bug: unable to set pattern when dot index exceeds 9 #31

buffermet opened this issue Jun 2, 2019 · 0 comments · May be fixed by #32

Comments

@buffermet
Copy link

buffermet commented Jun 2, 2019

There is a bug in the PatternLockUtils lib where stringToPattern() cannot convert every pattern combination.

Number values should not be saved in a string for pattern views with 4x4 dots and higher, because the tenth, eleventh and twelfth dot will be interpreted as "1", "0", "1", "1", and "1", "2", etc.

patternToString(), patternToMd5(), patternToSha1() should include a separator between each dot (a comma for example), so that we can differentiate between "1", "0", and "10".

bug_PatternLockView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant