diff options
| author | 2023-09-12 13:12:25 -0700 | |
|---|---|---|
| committer | 2023-09-14 18:34:44 +0000 | |
| commit | 858078c38d18a9063866084c67013e07a0f3f967 (patch) | |
| tree | 25874713edc2d13f3a979d2b6baf17ff59ecb763 /libs/androidfw/ObbFile.cpp | |
| parent | b1eb819aa67e1b2a3dd3bd1e3e358b2893bf3fea (diff) | |
Fix pattern snapping to incorrect dots.
Check if the dot is on the line segment connecting previous dot and the currently hit dot before adding it to the skipped over dots list.
Fixes: 299343202
Test: atest PatternBouncerViewModelTest
Test: verified manually, 1-2-3-4 pattern should work without snapping to 1-2-3-5-4
Change-Id: I5e98d883796209af52c606450ddf1c6d2f100dd1
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions