From ccf0c5db674d09cf0538843f4823164a88e02415 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Wed, 20 Jun 2012 12:07:04 -0700 Subject: [PATCH] Got up and down mixed --- framework/src/org/apache/cordova/CordovaWebView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index 17b92fc4..f5dec85e 100755 --- a/framework/src/org/apache/cordova/CordovaWebView.java +++ b/framework/src/org/apache/cordova/CordovaWebView.java @@ -754,10 +754,10 @@ public class CordovaWebView extends WebView { 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); } }