From 01b44948c1f200f74123c045d09715948dfe6eb7 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 15 Oct 2023 08:48:09 +0200 Subject: [PATCH] support data extraction rules Data Extraction Rules have replaced Backup Content on Android 12 --- src/main/AndroidManifest.xml | 6 ++++-- src/main/res/xml/data_extraction_rules.xml | 11 +++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 src/main/res/xml/data_extraction_rules.xml diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index 1377cb257..d7da25ccc 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -78,6 +78,7 @@ android:allowBackup="true" android:appCategory="social" android:fullBackupContent="@xml/backup_content" + android:dataExtractionRules="@xml/data_extraction_rules" android:hardwareAccelerated="true" android:icon="@mipmap/new_launcher" android:label="@string/app_name" @@ -88,7 +89,7 @@ android:theme="@style/ConversationsTheme" tools:replace="android:label" android:localeConfig="@xml/locales_config" - tools:targetApi="q"> + tools:targetApi="tiramisu"> - + diff --git a/src/main/res/xml/data_extraction_rules.xml b/src/main/res/xml/data_extraction_rules.xml new file mode 100644 index 000000000..54ba0d72b --- /dev/null +++ b/src/main/res/xml/data_extraction_rules.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file