You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/07/07 19:10:10 UTC
[2/7] android commit: Don't re-parse config.xml in onResume.
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/master
Commit: e74baf188fbc9672af47f7b653597ed2abbaa82f
Parents: 663a712
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jul 4 12:19:28 2014 -0400
Committer: Andrew Grieve <ag...@chromium.org>
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;