Skip to content

Commit a93e2cc

Browse files
committed
add backup rules
1 parent 7258993 commit a93e2cc

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
<application
1212
android:name=".App"
1313
android:allowBackup="true"
14+
android:dataExtractionRules="@xml/data_extraction_rules"
15+
android:fullBackupContent="@xml/backup_rules"
1416
android:icon="@mipmap/ic_launcher"
1517
android:label="@string/app_name"
1618
android:resizeableActivity="true"
1719
android:roundIcon="@mipmap/ic_launcher_round"
18-
android:supportsPictureInPicture="true"
1920
android:theme="@style/BaseTheme">
2021

2122
<activity
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<full-backup-content />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<data-extraction-rules>
3+
<cloud-backup />
4+
<device-transfer />
5+
</data-extraction-rules>

0 commit comments

Comments
 (0)