From af1a5e6a84781d1fcef19921dfb6fd2022fff94d Mon Sep 17 00:00:00 2001 From: qwe7002 Date: Fri, 8 Jul 2022 09:05:29 -0400 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BE=A9Manifest=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 +-- app/src/main/AndroidManifest.xml | 10 ++++-- .../main/res/xml/data_extraction_rules.xml | 36 +++++++++++++++++++ 3 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/xml/data_extraction_rules.xml diff --git a/app/build.gradle b/app/build.gradle index 53d61770..bc58fa3c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { - compileSdkVersion 32 + compileSdkVersion 33 defaultConfig { applicationId "com.qwe7002.telegram_sms_china" minSdkVersion 22 - targetSdkVersion 32 + targetSdkVersion 33 versionCode System.getenv("VERSION_CODE") == null ? 1 : System.getenv("VERSION_CODE").toInteger() versionName System.getenv("VERSION_NAME") == null ? "Debug": System.getenv("VERSION_NAME").toString() ndk{ // add this diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index eb2eb655..25e40706 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -29,8 +29,9 @@ android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" - tools:ignore="GoogleAppIndexingWarning,RtlEnabled" - tools:targetApi="n"> + tools:ignore="DataExtractionRules,GoogleAppIndexingWarning,RtlEnabled" + tools:targetApi="s" + android:dataExtractionRules="@xml/data_extraction_rules"> @@ -77,6 +79,7 @@ @@ -108,6 +111,7 @@ @@ -122,8 +126,8 @@ diff --git a/app/src/main/res/xml/data_extraction_rules.xml b/app/src/main/res/xml/data_extraction_rules.xml new file mode 100644 index 00000000..8b570f15 --- /dev/null +++ b/app/src/main/res/xml/data_extraction_rules.xml @@ -0,0 +1,36 @@ + + + + + + + + \ No newline at end of file