Skip to content

Commit ef8e90b

Browse files
committed
extra-manifest-application-entry to extra-manifest-application-xml
1 parent f1b2754 commit ef8e90b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

buildozer/default.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ fullscreen = 0
149149

150150
# (str) Extra xml to write directly inside the <manifest><application> element of AndroidManifest.xml
151151
# use that parameter to provide a filename from where to load your custom XML code
152-
#android.extra_manifest_application_entry = ./src/android/extra_manifest_application_entry.xml
152+
#android.extra_manifest_application_xml = ./src/android/extra_manifest_application_xml.xml
153153

154154
# (str) Extra xml to write directly inside the <manifest><application> tag of AndroidManifest.xml
155155
# use that parameter to provide a filename from where to load your custom XML arguments:

buildozer/targets/android.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -956,10 +956,10 @@ def execute_build_package(self, build_cmd):
956956
cmd.append('--extra-manifest-xml="{}"'.format(open(extra_manifest_xml, 'rt').read()))
957957

958958
# support for extra-manifest-application
959-
extra_manifest_application_entry = self.buildozer.config.getdefault(
960-
'app', 'android.extra_manifest_application_entry', '')
961-
if extra_manifest_application_entry:
962-
cmd.append('--extra-manifest-application-entry="{}"'.format(open(extra_manifest_application_entry, 'rt').read().replace('"', '\\"')))
959+
extra_manifest_application_xml = self.buildozer.config.getdefault(
960+
'app', 'android.extra_manifest_application_xml', '')
961+
if extra_manifest_application_xml:
962+
cmd.append('--extra-manifest-application-xml="{}"'.format(open(extra_manifest_application_xml, 'rt').read().replace('"', '\\"')))
963963

964964
# support for extra-manifest-application-arguments
965965
extra_manifest_application_arguments = self.buildozer.config.getdefault(

0 commit comments

Comments
 (0)