mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 12:03:28 +08:00
Don't re-parse config.xml in onResume.
There shouldn't be any need to.
This commit is contained in:
parent
663a71255f
commit
e74baf188f
@ -657,8 +657,6 @@ public class CordovaActivity extends Activity implements CordovaInterface {
|
|||||||
protected void onResume() {
|
protected void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
LOG.d(TAG, "Resuming the App");
|
LOG.d(TAG, "Resuming the App");
|
||||||
//Reload the configuration
|
|
||||||
Config.init(this);
|
|
||||||
|
|
||||||
if (this.activityState == ACTIVITY_STARTING) {
|
if (this.activityState == ACTIVITY_STARTING) {
|
||||||
this.activityState = ACTIVITY_RUNNING;
|
this.activityState = ACTIVITY_RUNNING;
|
||||||
|
Loading…
Reference in New Issue
Block a user