OSDN Git Service

Fix handling of the back key on Home in the gestures panel.
authorRomain Guy <romainguy@android.com>
Wed, 17 Jun 2009 17:28:43 +0000 (10:28 -0700)
committerRomain Guy <romainguy@android.com>
Wed, 17 Jun 2009 17:28:43 +0000 (10:28 -0700)
commitc665672acb7b907aefcc8b07452f5d06824a3469
tree584c2ed000dfcc18f325a909582b6d3f3e3cf43d
parentded9ec91f6623d2566e1b2439ab302b6451e1657
Fix handling of the back key on Home in the gestures panel.

Previously, pressing back in a dialog on top of the gestures panel would
always dismiss the gestures panel. This is because the UP event for the
BACK key is sent to the underlying window after dismissing a dialog.
This fix simply checks for DOWN events only.
src/com/android/launcher/GesturesPanel.java