CB-4620: Throwing this over the fence, since there is a problem actually in the wild here

This commit is contained in:
Joe Bowser
2013-09-11 15:02:00 -07:00
parent 3351fdbc74
commit 39d32bcb5b
2 changed files with 8 additions and 4 deletions
@@ -413,9 +413,12 @@ public class CordovaActivity extends Activity implements CordovaInterface {
// If keepRunning
this.keepRunning = this.getBooleanProperty("KeepRunning", true);
// Then load the spinner
this.loadSpinner();
//Check if the view is attached to anything
if(appView.getParent() != null)
{
// Then load the spinner
this.loadSpinner();
}
//Load the correct splashscreen
if(this.splashscreen != 0)