allow encrypted backups. fixes #4190
This commit is contained in:
parent
e664a27cd0
commit
86de21f6a8
|
@ -52,7 +52,8 @@
|
||||||
|
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="false"
|
android:allowBackup="true"
|
||||||
|
android:fullBackupContent="@xml/backup_content"
|
||||||
android:appCategory="social"
|
android:appCategory="social"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
android:icon="@mipmap/new_launcher"
|
android:icon="@mipmap/new_launcher"
|
||||||
|
|
11
src/main/res/xml/backup_content.xml
Normal file
11
src/main/res/xml/backup_content.xml
Normal file
|
@ -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>
|
Loading…
Reference in a new issue