qtconnectivity/examples
Bartlomiej Moskal 57e0f628b8 Android-example: add missing properties in AndroidManifest.xml
After changing android target SDK version to 31, some missing values has
to be defined in AndroidManifest.xml.

AndroidManifest.xml template was updated in qtbase in:
56dee3de5e4ac1c4d37a2c5e27361e7ddbdea1a7 commit. In case when example
uses its own AndroidManifest.xml file, it need to be updated separately.

* android:exported="true": because the manifest sets an intent-filter,
and it then has to explicitly to avoid the warning [1].
* android:allowBackup="true": this has to be explicitly set, we set it
to the default value here [2].
* android:fullBackupOnly="false": SDK 23+ use this to deteremine to
user auto backup or not, we set it to the default value here [3].

[1] https://developer.android.com/guide/topics/manifest/activity-
element#exported
[2] https://developer.android.com/guide/topics/manifest/application-
element#allowbackup
[3] https://developer.android.com/guide/topics/manifest/application-
element#fullBackupOnly

Fixes: QTBUG-112843
Change-Id: I79bb201fe74b7e3f321ec6654a133611f01af8da
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 83e139db35)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-04-26 12:18:42 +00:00
..
bluetooth Remove unsupported Android bluetooth codepaths 2022-06-04 05:48:13 +00:00
nfc Android-example: add missing properties in AndroidManifest.xml 2023-04-26 12:18:42 +00:00
CMakeLists.txt Switch examples to build as isolated sub-builds part 2 2022-02-05 03:18:30 +00:00
examples.pro