summaryrefslogtreecommitdiff
path: root/examples/sensors/sensorsshowcase/android/AndroidManifest.xml
diff options
context:
space:
mode:
authorDennis Oberst <dennis.oberst@qt.io>2023-04-12 13:44:25 +0200
committerDennis Oberst <dennis.oberst@qt.io>2023-04-26 08:58:48 +0000
commitaec41a55ab717eac1e29b50952c9bf37341692f4 (patch)
tree9daa9cbd771b32b040062c77cdaf1485b70c6d89 /examples/sensors/sensorsshowcase/android/AndroidManifest.xml
parent080823ec04f111ff82ae2fcfd5e2b98c4f6a722e (diff)
downloadqtsensors-aec41a55ab717eac1e29b50952c9bf37341692f4.tar.gz
Example: revamp sensorsshowcase
Updated the example to align with the Qt6 Example-Guideline. https://wiki.qt.io/Qt6/Example-Guideline Pick-to: 6.5 Task-number: QTBUG-111254 Change-Id: I8d8028ab5351cd801c8ce5126b1ebe5f2d0f4e50 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'examples/sensors/sensorsshowcase/android/AndroidManifest.xml')
-rw-r--r--examples/sensors/sensorsshowcase/android/AndroidManifest.xml28
1 files changed, 22 insertions, 6 deletions
diff --git a/examples/sensors/sensorsshowcase/android/AndroidManifest.xml b/examples/sensors/sensorsshowcase/android/AndroidManifest.xml
index 6ee010e..7e2f9a8 100644
--- a/examples/sensors/sensorsshowcase/android/AndroidManifest.xml
+++ b/examples/sensors/sensorsshowcase/android/AndroidManifest.xml
@@ -11,7 +11,6 @@
<!-- The comment below will be replaced with dependencies permissions upon deployment.
Remove the comment if you do not require these default features. -->
<!-- %%INSERT_FEATURES -->
-
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
@@ -23,6 +22,7 @@
android:hardwareAccelerated="true"
android:label="-- %%INSERT_APP_NAME%% --"
android:requestLegacyExternalStorage="true"
+ android:allowNativeHeapPointerTagging="false"
android:allowBackup="true"
android:fullBackupOnly="false">
<activity
@@ -33,18 +33,34 @@
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
+
<meta-data
android:name="android.app.lib_name"
android:value="-- %%INSERT_APP_LIB_NAME%% --" />
- <meta-data
- android:name="android.app.background_running"
- android:value="false" />
+
+ <meta-data android:name="android.app.arguments"
+ android:value="" />
+
<meta-data
android:name="android.app.extract_android_style"
android:value="minimal" />
+
+ <meta-data
+ android:name="android.app.background_running"
+ android:value="false" />
</activity>
+
+ <provider
+ android:name="androidx.core.content.FileProvider"
+ android:authorities="${applicationId}.qtprovider"
+ android:exported="false"
+ android:grantUriPermissions="true">
+ <meta-data
+ android:name="android.support.FILE_PROVIDER_PATHS"
+ android:resource="@xml/qtprovider_paths" />
+ </provider>
</application>
</manifest>