diff options
author | Bartlomiej Moskal <bartlomiej.moskal@qt.io> | 2023-04-24 13:01:51 +0200 |
---|---|---|
committer | Bartlomiej Moskal <bartlomiej.moskal@qt.io> | 2023-04-27 16:15:47 +0200 |
commit | 0bd920600c7e5164176245041491e1ef8ff2e2b0 (patch) | |
tree | d4054ccbd61778529e3f6ad3564d50260f6aebe7 /examples/sensors/qmlsensorgestures/GesturesView.qml | |
parent | 9b6645b18ada454f15e32c6c9cdf794d6099758e (diff) |
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
Change-Id: Ic38b7bd686ee98a1a821d5c73a9b969f1b23d2a2
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 080823ec04f111ff82ae2fcfd5e2b98c4f6a722e)
Diffstat (limited to 'examples/sensors/qmlsensorgestures/GesturesView.qml')
0 files changed, 0 insertions, 0 deletions