summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
author darshilshah <darshilshah@google.com> 2024-10-30 14:37:31 +0000
committer darshilshah <darshilshah@google.com> 2025-02-12 16:29:07 +0000
commitab6f4a5085e4d1f15ac0c28e66cb0cfadeecff1c (patch)
treea422257cfcd92775a97371405063ecc158fcdcc2 /AndroidManifest.xml
parentf89a762fcfd3eec9ae023172aa9f41441419bf14 (diff)
Add configurations to support for backup and restore of MediaProvider
Bug: 195138692 Test: com.android.providers.media.backupandrestore.MediaBackupAgentTest Flag: com.android.providers.media.flags.enable_backup_and_restore Change-Id: I9be5c57b9e6d19ef7b187153d4b2fb84727fda27
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a18581111..e4249ce1c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -84,11 +84,17 @@
android:name="com.android.providers.media.MediaApplication"
android:label="@string/picker_app_label"
android:icon="@mipmap/picker_app_icon"
- android:allowBackup="false"
android:supportsRtl="true"
android:forceQueryable="true"
android:usesCleartextTraffic="true"
- android:crossProfile="true">
+ android:crossProfile="true"
+ android:allowBackup="true"
+ android:fullBackupOnly="true"
+ android:backupInForeground="true"
+ android:killAfterRestore="false"
+ android:restoreAnyVersion="true"
+ android:backupAgent="com.android.providers.media.backupandrestore.MediaBackupAgent"
+ android:dataExtractionRules="@xml/data_extraction_rules">
<provider
android:name="com.android.providers.media.MediaProvider"
android:authorities="media"