forked from mirror/monocles_chat
allow encrypted backups (Daniel Gultsch)
This commit is contained in:
parent
eeb6b21815
commit
d823f2a081
2 changed files with 13 additions and 3 deletions
|
@ -28,8 +28,6 @@
|
|||
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
||||
|
||||
<uses-sdk tools:overrideLibrary="net.ypresto.androidtranscoder" />
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.camera"
|
||||
android:required="false" />
|
||||
|
@ -51,7 +49,8 @@
|
|||
|
||||
<application
|
||||
android:name="androidx.multidex.MultiDexApplication"
|
||||
android:allowBackup="false"
|
||||
android:allowBackup="true"
|
||||
android:fullBackupContent="@xml/backup_content"
|
||||
android:appCategory="social"
|
||||
android:hardwareAccelerated="true"
|
||||
android:icon="@mipmap/ic_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…
Add table
Reference in a new issue