Skip to content

Commit 0bfb0d5

Browse files
committed
android: be stricter about system backups
we should also exclude D2D because it also does not work
1 parent bd51913 commit 0bfb0d5

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<application
3333
android:name=".App"
3434
android:allowBackup="false"
35+
android:dataExtractionRules="@xml/data_extraction_rules"
3536
android:banner="@drawable/tv_banner"
3637
android:icon="@mipmap/ic_launcher"
3738
android:label="Tailscale"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<data-extraction-rules>
3+
<cloud-backup>
4+
<exclude domain="root" path="."/>
5+
<exclude domain="file" path="."/>
6+
<exclude domain="database" path="."/>
7+
<exclude domain="sharedpref" path="."/>
8+
<exclude domain="external" path="."/>
9+
</cloud-backup>
10+
11+
<device-transfer>
12+
<exclude domain="root" path="."/>
13+
<exclude domain="file" path="."/>
14+
<exclude domain="database" path="."/>
15+
<exclude domain="sharedpref" path="."/>
16+
<exclude domain="external" path="."/>
17+
</device-transfer>
18+
</data-extraction-rules>

0 commit comments

Comments
 (0)