diff --git a/doc/source/recipes.rst b/doc/source/recipes.rst index 329fe25e5c..66bde4248c 100644 --- a/doc/source/recipes.rst +++ b/doc/source/recipes.rst @@ -13,8 +13,7 @@ be compiled for Android with the correct architecture. python-for-android comes with many recipes for popular modules. No recipe is necessary for Python modules which have no -compiled components; these are installed automaticaly via pip. - +compiled components; these are installed automatically via pip. If you are new to building recipes, it is recommended that you first read all of this page, at least up to the Recipe reference documentation. The different recipe sections include a number of diff --git a/pythonforandroid/bootstraps/sdl2/build/build.py b/pythonforandroid/bootstraps/sdl2/build/build.py index 3c4ccf42d3..48f00bb484 100644 --- a/pythonforandroid/bootstraps/sdl2/build/build.py +++ b/pythonforandroid/bootstraps/sdl2/build/build.py @@ -518,6 +518,8 @@ def parse_args(args=None): help='Add this Java class as an Activity to the manifest.') ap.add_argument('--activity-launch-mode', dest='activity_launch_mode', help='Set the launch mode of the main activity in the manifest.') + ap.add_argument('--allow-backup', dest='allow_backup', default='true', + help="if set to 'false', then android won't backup the application.") if args is None: args = sys.argv[1:] diff --git a/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml b/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml index 4181e07926..59956c048e 100644 --- a/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml +++ b/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml @@ -53,7 +53,7 @@ -->