Android 12 data extraction rules

This commit is contained in:
lucky 2022-02-14 17:19:24 +03:00
parent 8809b143d8
commit 103d398a2b
3 changed files with 10 additions and 1 deletions

View File

@ -9,12 +9,15 @@
<application <application
android:allowBackup="false" android:allowBackup="false"
android:fullBackupContent="false"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:name=".Application" android:name=".Application"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.Wasted"> android:theme="@style/Theme.Wasted"
android:dataExtractionRules="@xml/data_extraction_rules"
tools:targetApi="s">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"

View File

@ -20,6 +20,7 @@ class Preferences(ctx: Context) {
private const val WIPE_ON_INACTIVITY_DAYS = "wipe_on_inactivity_days" private const val WIPE_ON_INACTIVITY_DAYS = "wipe_on_inactivity_days"
private const val FILE_NAME = "sec_shared_prefs" private const val FILE_NAME = "sec_shared_prefs"
// migration // migration
private const val DO_WIPE = "do_wipe" private const val DO_WIPE = "do_wipe"
private const val CODE_ENABLED = "code_enabled" private const val CODE_ENABLED = "code_enabled"

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<cloud-backup />
<device-transfer />
</data-extraction-rules>