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

Commit

Permalink
Fix lint & Add android 12 dataExtractionRules
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Feb 1, 2022
1 parent c063b6f commit a84b9dd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
android:allowBackup="true"
android:autoRevokePermissions="allowed"
android:banner="@mipmap/ic_launcher"
android:dataExtractionRules="@xml/backup_rules"
android:extractNativeLibs="true"
android:fullBackupContent="@xml/backup_descriptor"
android:fullBackupOnly="true"
Expand Down
20 changes: 20 additions & 0 deletions app/src/main/res/xml/backup_rules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules xmlns:tools="http://schemas.android.com/tools"
tools:ignore="FullBackupContent">
<cloud-backup>
<include
domain="database"
path="sager_net.db" />
<include
domain="device_database"
path="configuration.db" />
</cloud-backup>
<device-transfer>
<include
domain="database"
path="sager_net.db" />
<include
domain="device_database"
path="configuration.db" />
</device-transfer>
</data-extraction-rules>
1 change: 1 addition & 0 deletions lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<issue id="TypographyQuotes" severity="ignore" />
<issue id="DuplicateStrings" severity="ignore" />
<issue id="ImpliedQuantity" severity="ignore" />
<issue id="MissingQuantity" severity="ignore" />

<issue id="SelectableText" severity="ignore" />
<issue id="InsecureBaseConfiguration" severity="ignore" />
Expand Down

0 comments on commit a84b9dd

Please sign in to comment.