Browse Source

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 years ago
parent
commit
d5c75571dc
2 changed files with 1 additions and 8 deletions
  1. 1 2
      app/src/main/AndroidManifest.xml
  2. 0 6
      app/src/main/res/xml/backup_rules.xml

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

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