commit | b5b2dfc63dcf4287f55a97de3098d76acf18a391 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Wed Dec 15 16:08:58 2021 -0800 |
committer | Bryce Lee <brycelee@google.com> | Wed Dec 15 16:08:58 2021 -0800 |
tree | 3374f42fdc0d31ba0fe56f71049df0e6e7528ed9 | |
parent | a097209fefd6f9467f91e1ef785fb5a16da12d62 [diff] |
Exit dream on MotionEvent.ACTION_UP. Previously, DreamService would exit when any MotionEvent was detected. This led to dreams ending while the user's finger was still on the screen. This change adjusts the exit action to be on ACTION_UP to correspond with the finger lifting off the screen, matching user expectation. Bug: verified non-interactive dream exits on lifting finger. Test: 210919013 Change-Id: I767cdb179f99073c1fffc66fe492bdcbbae599c2