From 6acc2d3089a075ddfb2099aade7b42530cc375fb Mon Sep 17 00:00:00 2001 From: "a.mochalov" Date: Thu, 12 Aug 2021 00:14:43 +0300 Subject: [PATCH] version 3.2.2 --- core/src/main/java/com/vk/api/sdk/ui/VKWebViewAuthActivity.kt | 1 + dependencies.gradle | 4 ++-- id/src/main/java/com/vk/sdk/id/UserId.kt | 2 +- vk.gradle | 0 4 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 vk.gradle diff --git a/core/src/main/java/com/vk/api/sdk/ui/VKWebViewAuthActivity.kt b/core/src/main/java/com/vk/api/sdk/ui/VKWebViewAuthActivity.kt index 14165d5876..eaa259a145 100644 --- a/core/src/main/java/com/vk/api/sdk/ui/VKWebViewAuthActivity.kt +++ b/core/src/main/java/com/vk/api/sdk/ui/VKWebViewAuthActivity.kt @@ -156,6 +156,7 @@ open class VKWebViewAuthActivity: Activity() { } else if (uri.getQueryParameter("cancel") != null) { notifyLockerAndFinish() } + return false } else { if (!url.startsWith(redirectUrl)) { return false diff --git a/dependencies.gradle b/dependencies.gradle index c1f1c088ed..73a268b0e8 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -23,8 +23,8 @@ SOFTWARE. */ ext.sdkVersions = [ - code : '25', - name : '3.2.0', + code : '27', + name : '3.2.2', minSdk : 21, targetSdk : 29, diff --git a/id/src/main/java/com/vk/sdk/id/UserId.kt b/id/src/main/java/com/vk/sdk/id/UserId.kt index 8a3923162c..ed483d7624 100644 --- a/id/src/main/java/com/vk/sdk/id/UserId.kt +++ b/id/src/main/java/com/vk/sdk/id/UserId.kt @@ -90,4 +90,4 @@ fun Long.toUserId(): UserId = UserId(this) @Deprecated(message = "don't use it in new code", replaceWith = ReplaceWith("toUserId()", "com.vk.dto.common.id") ) -fun Int.toLegacyUserId(): UserId = UserId(this.toLong()) \ No newline at end of file +fun Int.toLegacyUserId(): UserId = UserId(this.toLong()) diff --git a/vk.gradle b/vk.gradle deleted file mode 100644 index e69de29bb2..0000000000