8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacc461 commit 6f1945cCopy full SHA for 6f1945c
pythonforandroid/bdistapk.py
@@ -42,7 +42,11 @@ def finalize_options(self):
42
if source == 'command line':
43
continue
44
if not argv_contains('--' + option):
45
- if value in (None, 'None'):
+ # allow 'permissions': ['permission', 'permission] in apk
46
+ if option == 'permissions':
47
+ for perm in value:
48
+ sys.argv.append('--permission={}'.format(perm))
49
+ elif value in (None, 'None'):
50
sys.argv.append('--{}'.format(option))
51
else:
52
sys.argv.append('--{}={}'.format(option, value))
@@ -138,4 +142,4 @@ def _set_user_options():
138
142
139
143
BdistAPK.user_options = user_options
140
144
141
-_set_user_options()
145
+_set_user_options()
0 commit comments