diff --git a/android/titanium/src/java/org/appcelerator/titanium/proxy/TiWindowProxy.java b/android/titanium/src/java/org/appcelerator/titanium/proxy/TiWindowProxy.java index 237924bbb95..662f840c62c 100644 --- a/android/titanium/src/java/org/appcelerator/titanium/proxy/TiWindowProxy.java +++ b/android/titanium/src/java/org/appcelerator/titanium/proxy/TiWindowProxy.java @@ -568,6 +568,9 @@ protected void fillIntent(Activity activity, Intent intent) // We're opening child activity from Titanium root activity. Have it exit out of app by default. // Note: If launched via startActivityForResult(), then root activity won't be the task's root. intent.putExtra(TiC.INTENT_PROPERTY_FINISH_ROOT, true); + + // Set default value on first window proxy also if not already set above. + setProperty(TiC.PROPERTY_EXIT_ON_CLOSE, true); } // Set the theme property