2
0
mirror of synced 2025-02-24 07:18:15 +00:00
Hajime Hoshi 3c8601c510 app: fix comparison of keys' direction
KeyEvent's getAction returns ACTION_DOWN (0), ACTION_UP (1) or
other values, and not AKEY_STATE_DOWN (1) or AKEY_STATE_UP (0).
This change fixes the wrong comparison.

Fixes golang/go#37374

Change-Id: Ia65ac881e57cc29d4bdde2365e177c2b4499a2d9
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/220538
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2020-02-22 14:29:34 +00:00
..
2019-03-06 14:40:52 +00:00
2019-03-06 14:40:52 +00:00
2019-03-06 14:40:52 +00:00
2015-12-25 00:41:33 +00:00
2016-02-25 00:29:21 +00:00