-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set backup and data extraction rules to include shared preferences
- Loading branch information
Showing
3 changed files
with
6 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Sample backup rules file; uncomment and customize as necessary. | ||
See https://developer.android.com/guide/topics/data/autobackup | ||
for details. | ||
Note: This file is ignored for devices older that API 31 | ||
See https://developer.android.com/about/versions/12/backup-restore | ||
--> | ||
<full-backup-content> | ||
<!-- | ||
<include domain="sharedpref" path="."/> | ||
<exclude domain="sharedpref" path="device.xml"/> | ||
--> | ||
</full-backup-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Sample data extraction rules file; uncomment and customize as necessary. | ||
See https://developer.android.com/about/versions/12/backup-restore#xml-changes | ||
for details. | ||
--> | ||
<data-extraction-rules> | ||
<cloud-backup> | ||
<!-- TODO: Use <include> and <exclude> to control what is backed up. | ||
<include .../> | ||
<exclude .../> | ||
--> | ||
<include domain="sharedpref" path="."/> | ||
</cloud-backup> | ||
<!-- | ||
<device-transfer> | ||
<include .../> | ||
<exclude .../> | ||
<include domain="sharedpref" path="."/> | ||
</device-transfer> | ||
--> | ||
</data-extraction-rules> |