--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/SDLActivity.java Wed Aug 17 19:39:32 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/SDLActivity.java Thu Aug 18 15:26:41 2011 +0200
@@ -509,7 +509,7 @@
// Key events
public boolean onKey(View v, int keyCode, KeyEvent event) {
-
+ if(keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || keyCode == KeyEvent.KEYCODE_VOLUME_UP) return false;
if (event.getAction() == KeyEvent.ACTION_DOWN) {
Log.v("SDL", "key down: " + keyCode);
if(keyCode == KeyEvent.KEYCODE_BACK){//TODO ask user to quit or not