remove extra args

This commit is contained in:
Akinwale Ariwodola 2021-08-21 15:52:33 +01:00
parent 3d8f6879ce
commit 0ad4189798

View file

@ -94,11 +94,11 @@ class TargetAndroid(Target):
if port is not None:
self.extra_p4a_args += ' --port={}'.format(port)
setup_py = self.buildozer.config.getdefault('app', 'p4a.setup_py', False)
if setup_py:
self.extra_p4a_args += ' --use-setup-py'
else:
self.extra_p4a_args += ' --ignore-setup-py'
#setup_py = self.buildozer.config.getdefault('app', 'p4a.setup_py', False)
#if setup_py:
# self.extra_p4a_args += ' --use-setup-py'
#else:
# self.extra_p4a_args += ' --ignore-setup-py'
activity_class_name = self.buildozer.config.getdefault(
@ -1116,12 +1116,12 @@ class TargetAndroid(Target):
build_cmd += [("--feature", feature)]
# android.entrypoint
entrypoint = config.getdefault('app', 'android.entrypoint', 'org.kivy.android.PythonActivity')
build_cmd += [('--android-entrypoint', entrypoint)]
#entrypoint = config.getdefault('app', 'android.entrypoint', 'org.kivy.android.PythonActivity')
#build_cmd += [('--android-entrypoint', entrypoint)]
# android.apptheme
apptheme = config.getdefault('app', 'android.apptheme', '@android:style/Theme.NoTitleBar')
build_cmd += [('--android-apptheme', apptheme)]
#apptheme = config.getdefault('app', 'android.apptheme', '@android:style/Theme.NoTitleBar')
#build_cmd += [('--android-apptheme', apptheme)]
# android.compile_options
compile_options = config.getlist('app', 'android.add_compile_options', [])