cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [2/7] android commit: Don't re-parse config.xml in onResume.
Date Mon, 07 Jul 2014 17:10:10 GMT
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 <agrieve@chromium.org>
Authored: Fri Jul 4 12:19:28 2014 -0400
Committer: Andrew Grieve <agrieve@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;


Mime
View raw message