From 2b32dfd99da46474122afecee16f7473a4c6e720 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Fri, 18 Jan 2013 16:37:55 -0800 Subject: [PATCH] Partial Fix for CB-2269 * Moved Config.init call into DroidGap for the most common use-case * The CordovaWebView docuemntation still has to be updated * The template has to be changed, since we don't want to have two different types of config --- framework/src/org/apache/cordova/DroidGap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/org/apache/cordova/DroidGap.java b/framework/src/org/apache/cordova/DroidGap.java index 2299fb70..69a76502 100755 --- a/framework/src/org/apache/cordova/DroidGap.java +++ b/framework/src/org/apache/cordova/DroidGap.java @@ -261,7 +261,7 @@ public class DroidGap extends Activity implements CordovaInterface { @SuppressWarnings("deprecation") @Override public void onCreate(Bundle savedInstanceState) { - + Config.init(this); LOG.d(TAG, "DroidGap.onCreate()"); super.onCreate(savedInstanceState);