Skip to content

Commit 829ba03

Browse files
committed
android: be stricter about system backups
we should also exclude D2D because it results in a broken store probably due to KeyStore tailscale/tailscale#732 Signed-off-by: LucasMZ <[email protected]>
1 parent 87f0e97 commit 829ba03

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"/>
5+
<exclude domain="file"/>
6+
<exclude domain="database"/>
7+
<exclude domain="sharedpref"/>
8+
<exclude domain="external"/>
9+
</cloud-backup>
10+
11+
<device-transfer>
12+
<exclude domain="root"/>
13+
<exclude domain="file"/>
14+
<exclude domain="database"/>
15+
<exclude domain="sharedpref"/>
16+
<exclude domain="external"/>
17+
</device-transfer>
18+
</data-extraction-rules>

0 commit comments

Comments
 (0)