From 48ace80183ac439d188fa5c237ec8d77b9731d5a Mon Sep 17 00:00:00 2001 From: brianleroux Date: Wed, 1 Sep 2010 11:49:56 -0700 Subject: [PATCH] added a backdoor ;O --- framework/src/com/phonegap/DroidGap.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/src/com/phonegap/DroidGap.java b/framework/src/com/phonegap/DroidGap.java index 18b249d7..97eb6c85 100755 --- a/framework/src/com/phonegap/DroidGap.java +++ b/framework/src/com/phonegap/DroidGap.java @@ -84,6 +84,7 @@ public class DroidGap extends Activity { private static final String LOG_TAG = "DroidGap"; protected WebView appView; protected ImageView splashScreen; + protected Boolean backdoor; private LinearLayout root; private Device gap; @@ -536,7 +537,7 @@ public class DroidGap extends Activity { } // 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); }