diff --git a/framework/src/com/phonegap/DroidGap.java b/framework/src/com/phonegap/DroidGap.java index bb548fdf..4f78a27c 100644 --- a/framework/src/com/phonegap/DroidGap.java +++ b/framework/src/com/phonegap/DroidGap.java @@ -341,7 +341,7 @@ public class DroidGap extends Activity { { String testUrl = appView.getUrl(); appView.goBack(); - if(appView.getUrl() == testUrl) + if(appView.getUrl().equals(testUrl)) { return super.onKeyDown(keyCode, event); }