128: Enable Auto Backup for database files r=msfjarvis a=msfjarvis

We persist saved posts in our SQLDelight database and while Android has been automatically doing backups, this makes it more explicit
bors r+

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
bors[bot] 2021-02-28 09:37:51 +00:00 committed by GitHub
commit ad75065848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -12,7 +12,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.DayNight"> android:theme="@style/Theme.AppCompat.DayNight"
android:fullBackupContent="@xml/full_backup_content">
<activity <activity
android:name=".ui.main.MainActivity" android:name=".ui.main.MainActivity"
android:label="@string/app_name" android:label="@string/app_name"

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<!-- Backup SQLDelight generated databases so that saved posts can be restored -->
<include domain="root" path="databases" />
</full-backup-content>