Permalink
Browse files

Got up and down mixed

  • Loading branch information...
1 parent f394f74 commit ccf0c5db674d09cf0538843f4823164a88e02415 @infil00p infil00p committed Jun 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/src/org/apache/cordova/CordovaWebView.java
@@ -754,10 +754,10 @@ public void bindButton(boolean override)
public void bindButton(String button, boolean override) {
// TODO Auto-generated method stub
if (button.compareTo("volumeup")==0) {
- keyDownCodes.add(KeyEvent.KEYCODE_VOLUME_DOWN);
+ keyDownCodes.add(KeyEvent.KEYCODE_VOLUME_UP);
}
else if (button.compareTo("volumedown")==0) {
- keyDownCodes.add(KeyEvent.KEYCODE_VOLUME_UP);
+ keyDownCodes.add(KeyEvent.KEYCODE_VOLUME_DOWN);
}
}

0 comments on commit ccf0c5d

Please sign in to comment.