Change summary
src/main/AndroidManifest.xml | 3 ++-
src/main/res/xml/backup_content.xml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
Detailed changes
@@ -52,7 +52,8 @@
<application
- android:allowBackup="false"
+ android:allowBackup="true"
+ android:fullBackupContent="@xml/backup_content"
android:appCategory="social"
android:hardwareAccelerated="true"
android:icon="@mipmap/new_launcher"
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<full-backup-content>
+ <include
+ domain="sharedpref"
+ path="."
+ requireFlags="clientSideEncryption" />
+ <include
+ domain="database"
+ path="."
+ requireFlags="clientSideEncryption" />
+</full-backup-content>