diff options
author | mvglasow <michael -at- vonglasow.com> | 2015-10-20 18:35:55 +0200 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2015-10-20 18:35:55 +0200 |
commit | 7affbb7b92875a78300ccf6153122c33fe4f27b1 (patch) | |
tree | 0f16dc361ea7c58dc8cf60fd7014ad2fec8b4e0b /navit/android/src | |
parent | eac6f24eb75d2657e22c2030e487c417f223e362 (diff) | |
download | navit-7affbb7b92875a78300ccf6153122c33fe4f27b1.tar.gz |
Fix:port/android:Handle up/down keys correctly, fixes #1252
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/android/src')
-rw-r--r-- | navit/android/src/org/navitproject/navit/NavitGraphics.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/android/src/org/navitproject/navit/NavitGraphics.java b/navit/android/src/org/navitproject/navit/NavitGraphics.java index 5817f4773..728b49878 100644 --- a/navit/android/src/org/navitproject/navit/NavitGraphics.java +++ b/navit/android/src/org/navitproject/navit/NavitGraphics.java @@ -489,7 +489,7 @@ public class NavitGraphics } else if (keyCode == android.view.KeyEvent.KEYCODE_DPAD_DOWN) { - s = java.lang.String.valueOf((char) 16); + s = java.lang.String.valueOf((char) 14); } else if (keyCode == android.view.KeyEvent.KEYCODE_DPAD_LEFT) { @@ -501,7 +501,7 @@ public class NavitGraphics } else if (keyCode == android.view.KeyEvent.KEYCODE_DPAD_UP) { - s = java.lang.String.valueOf((char) 14); + s = java.lang.String.valueOf((char) 16); } } else if (i == 10) |