mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
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:
parent
e5f03b6aed
commit
db9d603881
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user