mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Add dataExtractionRules, applicable to Android 12. Exclude everything from being backed up. Also properly support Android 11.
This commit is contained in:
parent
88482c9b2e
commit
842a9bbd55
@ -87,6 +87,7 @@
|
||||
|
||||
<!-- Manifest -->
|
||||
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
|
||||
<issue id="DataExtractionRules" severity="error" />
|
||||
|
||||
<!-- Performance -->
|
||||
<issue id="UselessParent" severity="error" />
|
||||
|
@ -318,12 +318,12 @@
|
||||
<activity android:name=".features.poll.create.CreatePollActivity" />
|
||||
<activity android:name=".features.location.LocationSharingActivity" />
|
||||
<activity android:name=".features.location.live.map.LiveLocationMapViewActivity" />
|
||||
<activity android:name=".features.settings.font.FontScaleSettingActivity"/>
|
||||
<activity android:name=".features.settings.font.FontScaleSettingActivity" />
|
||||
<activity android:name=".features.call.dialpad.PstnDialActivity" />
|
||||
<activity android:name=".features.home.room.list.home.invites.InvitesActivity"/>
|
||||
<activity android:name=".features.home.room.list.home.release.ReleaseNotesActivity"/>
|
||||
<activity android:name=".features.settings.devices.v2.overview.SessionOverviewActivity"/>
|
||||
<activity android:name=".features.settings.devices.v2.details.SessionDetailsActivity"/>
|
||||
<activity android:name=".features.home.room.list.home.invites.InvitesActivity" />
|
||||
<activity android:name=".features.home.room.list.home.release.ReleaseNotesActivity" />
|
||||
<activity android:name=".features.settings.devices.v2.overview.SessionOverviewActivity" />
|
||||
<activity android:name=".features.settings.devices.v2.details.SessionDetailsActivity" />
|
||||
|
||||
<!-- Services -->
|
||||
|
||||
|
18
vector/src/main/res/xml/backup_rules.xml
Normal file
18
vector/src/main/res/xml/backup_rules.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<full-backup-content>
|
||||
<exclude
|
||||
domain="file"
|
||||
path="." />
|
||||
<exclude
|
||||
domain="database"
|
||||
path="." />
|
||||
<exclude
|
||||
domain="sharedpref"
|
||||
path="." />
|
||||
<exclude
|
||||
domain="external"
|
||||
path="." />
|
||||
<exclude
|
||||
domain="root"
|
||||
path="." />
|
||||
</full-backup-content>
|
17
vector/src/main/res/xml/data_extraction_rules.xml
Normal file
17
vector/src/main/res/xml/data_extraction_rules.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<data-extraction-rules>
|
||||
<cloud-backup>
|
||||
<exclude domain="root" />
|
||||
<exclude domain="file" />
|
||||
<exclude domain="database" />
|
||||
<exclude domain="sharedpref" />
|
||||
<exclude domain="external" />
|
||||
</cloud-backup>
|
||||
<device-transfer>
|
||||
<exclude domain="root" />
|
||||
<exclude domain="file" />
|
||||
<exclude domain="database" />
|
||||
<exclude domain="sharedpref" />
|
||||
<exclude domain="external" />
|
||||
</device-transfer>
|
||||
</data-extraction-rules>
|
Loading…
Reference in New Issue
Block a user