Skip to content

Commit c469d7a

Browse files
committed
Add features argument next to permissions
1 parent 04a3b17 commit c469d7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pythonforandroid/bdistapk.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ def finalize_options(self):
4343
if option == 'permissions':
4444
for perm in value:
4545
sys.argv.append('--permission={}'.format(perm))
46+
# allow 'features': ['feature', 'feature] in apk
47+
if option == 'features':
48+
for feat in value:
49+
sys.argv.append('--feature={}'.format(feat))
4650
elif value in (None, 'None'):
4751
sys.argv.append('--{}'.format(option))
4852
else:

0 commit comments

Comments
 (0)