Fixes a crash that happens when you turn of the screen
while moving the finger. Some touches still come in even
when the screen went to sleep. No need to get upset over
those.
Bug: 27595423
Change-Id: If75ae3b6c2c83a87f38daaf8777f89d8c74a9cd1
Fixes bug that lead FalsingManager to be incorrect
about the screen on state.
Makes it a fatal error to query whether a touch is
falsing outside of an active session.
Prevents touch collection and logging on the locked
shade which needs no anti-falsing.
Bug: 27227578
Change-Id: I8e330ad28636156a952e61b8fe6a3d201f82e624
The falsing detection stopped listening for touches
when the lockscreen showed without turning the screen off.
This happens e.g. when SystemUI crashes, when switching users,
when ending lock-to-task.
As a result, the falsing detection usually got stuck on a bad
value and without further touches continued preventing all input.
Bug: 27227578
Change-Id: I6717c04b0271e4d2578b88fc584b6ad46492e497
DragDownHelper
Fixed couple nits, fixed a bug in DragDownHelper and in
EndPoinRatioClassifier, improved evaluation.
Change-Id: I27e9c5584f7bf0a834ac39791ee124ccc11ba0cf
Adds the possibility to store the evaluations for previous strokes and gestures.
Also and enables to take the history into account when classifying current
interatcions.
Change-Id: Ia8fa54a00daa80b4e5aebf11b11b568ed23165d4