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
This commit is contained in:
Joe Bowser 2013-01-18 16:37:55 -08:00
parent 679de40780
commit 2b32dfd99d

View File

@ -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);