summaryrefslogtreecommitdiffstats
path: root/src/android/templates/AndroidManifest.xml
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@qt.io>2018-09-26 13:53:27 +0200
committerChristian Stromme <christian.stromme@qt.io>2018-10-08 11:14:01 +0000
commit52813712c4a93f4e0e9e8de47f4c7fc1d8838f29 (patch)
tree4c1b9465fa604182e895a7e228e31d765dea1a03 /src/android/templates/AndroidManifest.xml
parent1170e707b7672642aadaf8103829a783713ae487 (diff)
Default to no style extraction on Android P when the target SDK is < 28
Applications with target SDK version lower then 28 running on a device with version greater or equal to 28 will cause compatibility warnings, so default to none when the extract_android_style value is set to default. Note that the new value "default" was introduced to allow this kind of changes in the future, i.e., selecting the best solution based on some simple heuristics. Adding a new value also keep compatibility and allows the user to explicitly set a value when needed. Task-number: QTBUG-69810 Change-Id: I68301716767870ce6de40e45742d9c5fc263ee25 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/android/templates/AndroidManifest.xml')
-rw-r--r--src/android/templates/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml
index c9eff264c4..44c2b519cf 100644
--- a/src/android/templates/AndroidManifest.xml
+++ b/src/android/templates/AndroidManifest.xml
@@ -57,11 +57,12 @@
<!-- extract android style -->
<!-- available android:values :
+ * default - In most cases this will be the same as "full", but it can also be something else if needed, e.g., for compatibility reasons
* full - useful QWidget & Quick Controls 1 apps
* minimal - useful for Quick Controls 2 apps, it is much faster than "full"
* 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="full"/>
+ <meta-data android:name="android.app.extract_android_style" android:value="default"/>
<!-- extract android style -->
</activity>