summaryrefslogtreecommitdiffstats
path: root/src/android/templates/AndroidManifest.xml
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-08-01 23:41:05 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-08-12 09:46:34 +0300
commitb5b9c264ddff6c6eebb08038d9d3f2282df5c0ec (patch)
treedf01c3715b6bca938389c9d1e561c8126db2197d /src/android/templates/AndroidManifest.xml
parent54b1ed6798d890cb290846ad57767b016ecb2f2f (diff)
Fix hidden API access for Android style
Use public API and attributes to retrieve part of the Android style values instead of using reflection to access hidden or private fields. This latter method, was throwing lots of warnings or exceptions at the start of apps making it big annoyance to deal with. This patch doesn't handle drawables though, so the "full" and "default" Android style will be somehow broken still for now. For that reason, the default style extraction method is set to minimal to avoid getting warnings about it, and Fusion style could be used for Widgets apps, and for QML apps, it's recommended to use the Material style from Quick Controls 2. Pick-to: 6.2 5.15 6.1 Task-number: QTBUG-71590 Change-Id: If87895dc66751e23c9f4ea840e9f3e611aaa8833 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/android/templates/AndroidManifest.xml')
-rw-r--r--src/android/templates/AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml
index d352209339..86dd3c54d2 100644
--- a/src/android/templates/AndroidManifest.xml
+++ b/src/android/templates/AndroidManifest.xml
@@ -75,7 +75,7 @@
* none - useful for apps that don't use any of the above Qt modules -->
<meta-data
android:name="android.app.extract_android_style"
- android:value="default" />
+ android:value="minimal" />
<!-- extract android style -->
</activity>
</application>