Skip to content

Commit 3627db1

Browse files
committed
deny any google app backup
1 parent 00643ed commit 3627db1

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

android-refimpl-app/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@
6868
<application
6969
android:name=".MainApplication"
7070
android:allowBackup="false"
71+
android:fullBackupContent="false"
72+
android:dataExtractionRules="@xml/data_extraction_rules"
7173
android:icon="@mipmap/ic_launcher4"
7274
android:roundIcon="@mipmap/ic_launcher4_round"
7375
android:label="TRIfA"
7476
android:supportsRtl="true"
7577
android:requestLegacyExternalStorage="false"
7678
android:theme="@style/AppTheme"
77-
tools:replace="android:allowBackup,android:label">
79+
tools:replace="android:allowBackup,android:fullBackupContent,android:label">
7880

7981
<activity
8082
android:name=".StartMainActivityWrapper"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
<device-transfer>
11+
<exclude domain="root" />
12+
<exclude domain="file" />
13+
<exclude domain="database" />
14+
<exclude domain="sharedpref" />
15+
<exclude domain="external" />
16+
</device-transfer>
17+
</data-extraction-rules>

0 commit comments

Comments
 (0)