Skip to content

Commit f875791

Browse files
committed
Made the activity launch mode default to singleTask
1 parent c86d9ec commit f875791

File tree

1 file changed

+3
-1
lines changed
  • pythonforandroid/bootstraps/common/build

1 file changed

+3
-1
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,9 @@ def parse_args(args=None):
677677
'the appropriate environment variables.'))
678678
ap.add_argument('--add-activity', dest='add_activity', action='append',
679679
help='Add this Java class as an Activity to the manifest.')
680-
ap.add_argument('--activity-launch-mode', dest='activity_launch_mode',
680+
ap.add_argument('--activity-launch-mode',
681+
dest='activity_launch_mode',
682+
default='singleTask',
681683
help='Set the launch mode of the main activity in the manifest.')
682684
ap.add_argument('--allow-backup', dest='allow_backup', default='true',
683685
help="if set to 'false', then android won't backup the application.")

0 commit comments

Comments
 (0)