summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-10-20 14:54:23 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-10-20 14:53:26 +0000
commit9fa805f7f8dfe96d561e9ed3170770ad768baf93 (patch)
treec1f4b75ac3bed5d37f7b6574934ad3c18fa3fd32
parent69080ce332cef9a405c38d298319de00c9e2dfd8 (diff)
Android: set allowNativeHeapPointerTagging to false in the manifestv6.2.16.2.1
Android 11 enables pointer tagging by default on arm64 systems [1], which can cause QML to get invalid data, which caused the color issue (and most likely other issues). [1] https://source.android.com/devices/tech/debug/tagged-pointers Pick-to: 6.2 dev 5.15 Fixes: QTBUG-97009 Task-number: QTBUG-91150 Change-Id: Ic4f145bba3345b3bee5445685f03269e3785f514 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
-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 dc54a3400b..761272d865 100644
--- a/src/android/templates/AndroidManifest.xml
+++ b/src/android/templates/AndroidManifest.xml
@@ -16,7 +16,8 @@
android:extractNativeLibs="true"
android:hardwareAccelerated="true"
android:label="-- %%INSERT_APP_NAME%% --"
- android:requestLegacyExternalStorage="true">
+ android:requestLegacyExternalStorage="true"
+ android:allowNativeHeapPointerTagging="false">
<activity
android:name="org.qtproject.qt.android.bindings.QtActivity"
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"