Prechádzať zdrojové kódy

Disable Android system auto backup (closes #5114)

In practice this feature:
- Just didn't work
- Magically worked (sometimes; see first point)
- Restored something potentially too old and totally messed up the app
arkon 3 rokov pred
rodič
commit
d5c75571dc

+ 1 - 2
app/src/main/AndroidManifest.xml

@@ -23,8 +23,7 @@
 
     <application
         android:name=".App"
-        android:allowBackup="true"
-        android:fullBackupContent="@xml/backup_rules"
+        android:allowBackup="false"
         android:hardwareAccelerated="true"
         android:hasFragileUserData="true"
         android:icon="@mipmap/ic_launcher"

+ 0 - 6
app/src/main/res/xml/backup_rules.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<full-backup-content>
-    <include
-        domain="database"
-        path="tachiyomi.db" />
-</full-backup-content>