mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
CB-3064: One line fix for the error where the config wasn't being read. Will have to add doc step for CordovaWebView
This commit is contained in:
parent
a17c7b9bbf
commit
934cf32163
@ -679,8 +679,16 @@ public class DroidGap extends Activity implements CordovaInterface {
|
|||||||
*/
|
*/
|
||||||
protected void onResume() {
|
protected void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
//Reload the configuration
|
||||||
|
Config.init(this);
|
||||||
|
|
||||||
LOG.d(TAG, "Resuming the App");
|
LOG.d(TAG, "Resuming the App");
|
||||||
|
|
||||||
|
|
||||||
|
//Code to test CB-3064
|
||||||
|
String errorUrl = this.getStringProperty("errorUrl", null);
|
||||||
|
LOG.d(TAG, "CB-3064: The errorUrl is " + errorUrl);
|
||||||
|
|
||||||
if (this.activityState == ACTIVITY_STARTING) {
|
if (this.activityState == ACTIVITY_STARTING) {
|
||||||
this.activityState = ACTIVITY_RUNNING;
|
this.activityState = ACTIVITY_RUNNING;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user