commit | 858078c38d18a9063866084c67013e07a0f3f967 | [log] [tgz] |
---|---|---|
author | Chandru S <chandruis@google.com> | Tue Sep 12 13:12:25 2023 -0700 |
committer | Chandru S <chandruis@google.com> | Thu Sep 14 18:34:44 2023 +0000 |
tree | 25874713edc2d13f3a979d2b6baf17ff59ecb763 | |
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