Skip to content

Commit 603f8d9

Browse files
authored
Merge pull request kivy#1646 from inclement/use_singleTask_launchMode
Made the activity launch mode default to singleTask
2 parents fd3e844 + f875791 commit 603f8d9

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
@@ -683,7 +683,9 @@ def parse_args(args=None):
683683
'the appropriate environment variables.'))
684684
ap.add_argument('--add-activity', dest='add_activity', action='append',
685685
help='Add this Java class as an Activity to the manifest.')
686-
ap.add_argument('--activity-launch-mode', dest='activity_launch_mode',
686+
ap.add_argument('--activity-launch-mode',
687+
dest='activity_launch_mode',
688+
default='singleTask',
687689
help='Set the launch mode of the main activity in the manifest.')
688690
ap.add_argument('--allow-backup', dest='allow_backup', default='true',
689691
help="if set to 'false', then android won't backup the application.")

0 commit comments

Comments
 (0)