Fixing equals. However, perhaps object equivalence is better, because it will be the same object if we attempt to go back and fail, where as we can go back and forth numerous times in a web history

This commit is contained in:
Joe Bowser 2010-06-15 10:43:28 -07:00
parent e5f03b6aed
commit db9d603881

View File

@ -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);
}