Don't re-parse config.xml in onResume. There shouldn't be any need to.
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/e74baf18 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/e74baf18 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/e74baf18 Branch: refs/heads/4.0.x Commit: e74baf188fbc9672af47f7b653597ed2abbaa82f Parents: 663a712 Author: Andrew Grieve <[email protected]> Authored: Fri Jul 4 12:19:28 2014 -0400 Committer: Andrew Grieve <[email protected]> Committed: Fri Jul 4 12:19:28 2014 -0400 ---------------------------------------------------------------------- framework/src/org/apache/cordova/CordovaActivity.java | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/e74baf18/framework/src/org/apache/cordova/CordovaActivity.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/CordovaActivity.java b/framework/src/org/apache/cordova/CordovaActivity.java index 89d4c81..97697fc 100755 --- a/framework/src/org/apache/cordova/CordovaActivity.java +++ b/framework/src/org/apache/cordova/CordovaActivity.java @@ -657,8 +657,6 @@ public class CordovaActivity extends Activity implements CordovaInterface { protected void onResume() { super.onResume(); LOG.d(TAG, "Resuming the App"); - //Reload the configuration - Config.init(this); if (this.activityState == ACTIVITY_STARTING) { this.activityState = ACTIVITY_RUNNING;
