Skip to content

Commit

Permalink
fix(android): set default exitOnClose property to true (#14150)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga authored and hansemannn committed Dec 12, 2024
1 parent 4fcd806 commit 929aeea
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 929aeea

Please sign in to comment.