aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/deploy_lib/android/android_helper.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2023-04-28 14:00:23 +0200
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2023-09-05 14:14:09 +0200
commit9c292a60196fc4ab0c87995d42d5416c32c667a9 (patch)
tree6728d32c13901fdb5473e8852be5edf294e47a94 /sources/pyside-tools/deploy_lib/android/android_helper.py
parent394e42ce2af7d939283ceb386ab7904c738dd4c4 (diff)
Android Deployment: Add App Permissions
- App runtime permissions are fetched from the corresponding Android dependency xml file based on the Qt modules used. * The Android wheels for PySide6 bundles these dependency files which are located in `lib`. * The dependency files also contain important information like the other dependent libraries, jars and plugins for each module. * The `zipfile` Python module is used to read the contents of these dependency xml files without extracting the PySide Android wheel. - The reference branch for python-for-android is changed from `pyside_support` to `pyside_support_2` to prevent failures in already released technical preview of pyside6-android-deploy. This will be changed when my patch for Qt support in python-for-android is merged. - Docstring is added to AndroidData class. Task-number: PYSIDE-1612 Change-Id: I63eb90e2f7f264e2f1d63af21cfd329eb7466e3f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/android/android_helper.py')
-rw-r--r--sources/pyside-tools/deploy_lib/android/android_helper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside-tools/deploy_lib/android/android_helper.py b/sources/pyside-tools/deploy_lib/android/android_helper.py
index b93fcdbdc..321fc3734 100644
--- a/sources/pyside-tools/deploy_lib/android/android_helper.py
+++ b/sources/pyside-tools/deploy_lib/android/android_helper.py
@@ -10,6 +10,9 @@ from dataclasses import dataclass
@dataclass
class AndroidData:
+ """
+ Dataclass to store all the Android data obtained through cli
+ """
wheel_pyside: Path
wheel_shiboken: Path
ndk_path: Path