Skip to content

Commit

Permalink
Prevent android-job local files being backed up
Browse files Browse the repository at this point in the history
Signed-off-by: Arka Prava Basu <[email protected]>
  • Loading branch information
archie94 committed Nov 5, 2018
1 parent f15d34b commit 0293988
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
android:label="@string/app_name"
android:largeHeap="true"
android:theme="@style/AppTheme"
android:fullBackupContent="@xml/backup_config"
tools:replace="android:allowBackup">
<activity
android:name=".ListActivity"
Expand Down
5 changes: 5 additions & 0 deletions src/main/res/xml/backup_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<exclude domain="sharedpref" path="evernote_jobs.xml" />
<exclude domain="database" path="evernote_jobs.db" />
</full-backup-content>

0 comments on commit 0293988

Please sign in to comment.