Skip to content

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

@buffermet

Description

@buffermet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions