Avoid falsing when the phone is unlocked.

With this change, we completely avoid recording motion events when the
phone is off the lock screen. We also also return false when asked if
the last gesture was a false.

Fixes: 182713255
Test: atest SystemUITests && manual
Change-Id: I2e16aecb218dd3c862ffefc8c82f67523925ac5e
(cherry picked from commit 8a5e237677cdc77b063b80d14a9094e350ea36ee)
4 files changed