diff --git a/src/android/templates/AndroidManifest.xml b/src/android/templates/AndroidManifest.xml index 761272d865..a1a07f7bee 100644 --- a/src/android/templates/AndroidManifest.xml +++ b/src/android/templates/AndroidManifest.xml @@ -17,13 +17,16 @@ android:hardwareAccelerated="true" android:label="-- %%INSERT_APP_NAME%% --" android:requestLegacyExternalStorage="true" - android:allowNativeHeapPointerTagging="false"> + android:allowNativeHeapPointerTagging="false" + android:allowBackup="true" + android:fullBackupOnly="false"> + android:screenOrientation="unspecified" + android:exported="true"> diff --git a/src/android/templates/doc/src/android-manifest-file-configuration.qdoc b/src/android/templates/doc/src/android-manifest-file-configuration.qdoc index 58da885567..792ceae5d9 100644 --- a/src/android/templates/doc/src/android-manifest-file-configuration.qdoc +++ b/src/android/templates/doc/src/android-manifest-file-configuration.qdoc @@ -92,7 +92,7 @@ Qt sets the following manifest configuration by default: default values are \c anyDensity, \c largeScreens, \c normalScreens, and \c smallScreens. \row - \li {1, 5} \l {Android: App Manifest }{} + \li {1, 8} \l {Android: App Manifest }{} \li android:name \li The application class name. Default value is \c {org.qtproject.qt.android.bindings.QtApplication}. @@ -116,7 +116,16 @@ Qt sets the following manifest configuration by default: For more information, see \l {Android: Tagged Pointers}{Tagged Pointers}. The default value is \c false. \row - \li {1, 6} \l {Android: App Manifest }{} + \li android:allowBackup + \li Whether to allow the application to participate in the backup and restore + infrastructure. If this is set to \c false, no backup or restore of the + application will ever be performed. The default value is \c true. +\row + \li android:fullBackupOnly + \li Whether or not to use Auto Backup on devices where it is available. + The default value is \c false. +\row + \li {1, 7} \l {Android: App Manifest }{} \li android:name \li The activity class name. The default value is \c {org.qtproject.qt.android.bindings.QtActivity}. \row @@ -141,6 +150,10 @@ Qt sets the following manifest configuration by default: \endcode +\row + \li android:exported + \li Sets whether the activity can be launched by components of other applications. + The default value is \c true. \endtable \section1 Qt Specific Meta-data