From 4c8330a4c9d14540d8823e071e2e1de9631dc152 Mon Sep 17 00:00:00 2001 From: wylyl22 <2373073266@qq.com> Date: Mon, 29 Aug 2022 13:46:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 3 +++ android/.gradle/7.4.2/checksums/checksums.lock | Bin 0 -> 17 bytes .../dependencies-accessors.lock | Bin 0 -> 17 bytes .../7.4.2/dependencies-accessors/gc.properties | 0 .../7.4.2/executionHistory/executionHistory.lock | Bin 0 -> 17 bytes android/.gradle/7.4.2/fileChanges/last-build.bin | Bin 0 -> 1 bytes android/.gradle/7.4.2/fileHashes/fileHashes.lock | Bin 0 -> 17 bytes android/.gradle/7.4.2/gc.properties | 0 .../buildOutputCleanup/buildOutputCleanup.lock | Bin 0 -> 17 bytes .../.gradle/buildOutputCleanup/cache.properties | 2 ++ android/.gradle/vcs-1/gc.properties | 0 .../shounakmulay/telephony/sms/SmsController.kt | 2 +- .../android/.gradle/7.4.2/checksums/checksums.lock | Bin 0 -> 17 bytes .../.gradle/7.4.2/fileChanges/last-build.bin | Bin 0 -> 1 bytes .../.gradle/7.4.2/fileHashes/fileHashes.lock | Bin 0 -> 17 bytes example/android/.gradle/7.4.2/gc.properties | 0 example/android/.gradle/vcs-1/gc.properties | 0 example/android/app/build.gradle | 2 +- 18 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 android/.gradle/7.4.2/checksums/checksums.lock create mode 100644 android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock create mode 100644 android/.gradle/7.4.2/dependencies-accessors/gc.properties create mode 100644 android/.gradle/7.4.2/executionHistory/executionHistory.lock create mode 100644 android/.gradle/7.4.2/fileChanges/last-build.bin create mode 100644 android/.gradle/7.4.2/fileHashes/fileHashes.lock create mode 100644 android/.gradle/7.4.2/gc.properties create mode 100644 android/.gradle/buildOutputCleanup/buildOutputCleanup.lock create mode 100644 android/.gradle/buildOutputCleanup/cache.properties create mode 100644 android/.gradle/vcs-1/gc.properties create mode 100644 example/android/.gradle/7.4.2/checksums/checksums.lock create mode 100644 example/android/.gradle/7.4.2/fileChanges/last-build.bin create mode 100644 example/android/.gradle/7.4.2/fileHashes/fileHashes.lock create mode 100644 example/android/.gradle/7.4.2/gc.properties create mode 100644 example/android/.gradle/vcs-1/gc.properties diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c5f3f6b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "interactive" +} \ No newline at end of file diff --git a/android/.gradle/7.4.2/checksums/checksums.lock b/android/.gradle/7.4.2/checksums/checksums.lock new file mode 100644 index 0000000000000000000000000000000000000000..c23c7a48c94ff4231f0403a803eb822b2483efd3 GIT binary patch literal 17 TcmZRsj`aTKwaRiE0~7!NF)0K5 literal 0 HcmV?d00001 diff --git a/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock b/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000000000000000000000000000000000000..858368255663417c2769a853975038ef5104d45b GIT binary patch literal 17 TcmZQ>VLJc&O4plw1}FdkJ+K80 literal 0 HcmV?d00001 diff --git a/android/.gradle/7.4.2/dependencies-accessors/gc.properties b/android/.gradle/7.4.2/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/android/.gradle/7.4.2/executionHistory/executionHistory.lock b/android/.gradle/7.4.2/executionHistory/executionHistory.lock new file mode 100644 index 0000000000000000000000000000000000000000..be7272506eddbbd984c9ad30771b8e273d7d8d39 GIT binary patch literal 17 TcmZSHGI1aG!Nk(D3{U_7H}nK{ literal 0 HcmV?d00001 diff --git a/android/.gradle/7.4.2/fileChanges/last-build.bin b/android/.gradle/7.4.2/fileChanges/last-build.bin new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d GIT binary patch literal 1 IcmZPo000310RR91 literal 0 HcmV?d00001 diff --git a/android/.gradle/7.4.2/fileHashes/fileHashes.lock b/android/.gradle/7.4.2/fileHashes/fileHashes.lock new file mode 100644 index 0000000000000000000000000000000000000000..4d5ad4235a244ca43f7d79472d0868d8659f94fc GIT binary patch literal 17 TcmZRcsj)xyONiDt1}FdkG_3?l literal 0 HcmV?d00001 diff --git a/android/.gradle/7.4.2/gc.properties b/android/.gradle/7.4.2/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000000000000000000000000000000000000..e9582aa4d843770f55c741c62ad65d21d4c16728 GIT binary patch literal 17 UcmZSnKH>J(@8VbF86bcW07F0p9RL6T literal 0 HcmV?d00001 diff --git a/android/.gradle/buildOutputCleanup/cache.properties b/android/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..b327b7b --- /dev/null +++ b/android/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Mon Aug 29 13:42:02 CST 2022 +gradle.version=7.4.2 diff --git a/android/.gradle/vcs-1/gc.properties b/android/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/android/src/main/kotlin/com/shounakmulay/telephony/sms/SmsController.kt b/android/src/main/kotlin/com/shounakmulay/telephony/sms/SmsController.kt index dea8ce4..ea97baa 100644 --- a/android/src/main/kotlin/com/shounakmulay/telephony/sms/SmsController.kt +++ b/android/src/main/kotlin/com/shounakmulay/telephony/sms/SmsController.kt @@ -189,7 +189,7 @@ class SmsController(private val context: Context) { @RequiresPermission(Manifest.permission.READ_PHONE_STATE) fun getCallState(): Int { val telephonyManager = getTelephonyManager() - return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + return if (Build.VERSION.SDK_INT >= 33) { telephonyManager.callStateForSubscription } else { telephonyManager.callState diff --git a/example/android/.gradle/7.4.2/checksums/checksums.lock b/example/android/.gradle/7.4.2/checksums/checksums.lock new file mode 100644 index 0000000000000000000000000000000000000000..1990bc1284a3195152961f0a26d3a1b83874bd37 GIT binary patch literal 17 TcmZSf^Zlol{xkR(0~7!NGiU@r literal 0 HcmV?d00001 diff --git a/example/android/.gradle/7.4.2/fileChanges/last-build.bin b/example/android/.gradle/7.4.2/fileChanges/last-build.bin new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d GIT binary patch literal 1 IcmZPo000310RR91 literal 0 HcmV?d00001 diff --git a/example/android/.gradle/7.4.2/fileHashes/fileHashes.lock b/example/android/.gradle/7.4.2/fileHashes/fileHashes.lock new file mode 100644 index 0000000000000000000000000000000000000000..aa39a99c5b6b45e7f9379ac51396984004442b88 GIT binary patch literal 17 TcmZSX|6IWoyZrQA1}FdkHx~qK literal 0 HcmV?d00001 diff --git a/example/android/.gradle/7.4.2/gc.properties b/example/android/.gradle/7.4.2/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/example/android/.gradle/vcs-1/gc.properties b/example/android/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 33553a8..75e99ab 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -40,7 +40,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). minSdkVersion 23 applicationId "com.shounakmulay.telephony_example" - targetSdkVersion 31 + targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName }