mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
added a backdoor ;O
This commit is contained in:
parent
b06d02028a
commit
48ace80183
@ -84,6 +84,7 @@ public class DroidGap extends Activity {
|
|||||||
private static final String LOG_TAG = "DroidGap";
|
private static final String LOG_TAG = "DroidGap";
|
||||||
protected WebView appView;
|
protected WebView appView;
|
||||||
protected ImageView splashScreen;
|
protected ImageView splashScreen;
|
||||||
|
protected Boolean backdoor;
|
||||||
private LinearLayout root;
|
private LinearLayout root;
|
||||||
|
|
||||||
private Device gap;
|
private Device gap;
|
||||||
@ -536,7 +537,7 @@ public class DroidGap extends Activity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If our app or file:, then load into our webview
|
// If our app or file:, then load into our webview
|
||||||
if (url.startsWith("file://") || mCtx.baseUrl.equals(newBaseUrl)) {
|
if (backdoor || url.startsWith("file://") || mCtx.baseUrl.equals(newBaseUrl)) {
|
||||||
appView.loadUrl(url);
|
appView.loadUrl(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user