mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 08:53:24 +08:00
Merge branch 'master' into cordovaplugin_update
This commit is contained in:
commit
31f7f8149e
@ -83,7 +83,7 @@ public class CordovaWebView extends WebView {
|
|||||||
String baseUrl;
|
String baseUrl;
|
||||||
private Stack<String> urls = new Stack<String>();
|
private Stack<String> urls = new Stack<String>();
|
||||||
|
|
||||||
boolean useBrowserHistory = false;
|
boolean useBrowserHistory = true;
|
||||||
|
|
||||||
// Flag to track that a loadUrl timeout occurred
|
// Flag to track that a loadUrl timeout occurred
|
||||||
int loadUrlTimeout = 0;
|
int loadUrlTimeout = 0;
|
||||||
@ -722,11 +722,11 @@ public class CordovaWebView extends WebView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Init preferences
|
// Init preferences
|
||||||
if ("true".equals(this.getProperty("useBrowserHistory", "false"))) {
|
if ("false".equals(this.getProperty("useBrowserHistory", "false"))) {
|
||||||
this.useBrowserHistory = true;
|
this.useBrowserHistory = false;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.useBrowserHistory = false;
|
this.useBrowserHistory = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("true".equals(this.getProperty("fullscreen", "false"))) {
|
if ("true".equals(this.getProperty("fullscreen", "false"))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user