Skip to content

Commit

Permalink
Got up and down mixed
Browse files Browse the repository at this point in the history
  • Loading branch information
infil00p committed Jun 20, 2012
1 parent f394f74 commit ccf0c5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/src/org/apache/cordova/CordovaWebView.java
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit ccf0c5d

Please sign in to comment.