Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Limit backups to only the external directory.
Browse files Browse the repository at this point in the history
The backups had been including the files/ directory, which isn't
needed and might even cause problems.
  • Loading branch information
renpytom committed Nov 3, 2019
1 parent 64bad62 commit 4b25f26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions project/app/src/main/res/xml/backup.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<exclude domain="file" path="." />
<exclude domain="external" path="log.txt" />
<exclude domain="external" path="traceback.txt" />
</full-backup-content>
3 changes: 3 additions & 0 deletions templates/app-AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@

<application
android:allowBackup="true"
android:fullBackupContent="@xml/backup"
android:fullBackupOnly="true"
android:icon="@mipmap/icon"
android:label="@string/appName"
android:isGame="true"
android:hardwareAccelerated="true"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
>
Expand Down

0 comments on commit 4b25f26

Please sign in to comment.