diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-05-28 01:48:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-27 20:18:39 +0000 |
commit | 184391599b3b2946a485fc31e3b6896d2ab6f303 (patch) | |
tree | 50663ba3b5c3fb43383b864b90e38e364d15cdfa /app/src/free/java | |
parent | fb7c81124cce8f89aeaa282ecdfdcdc65c460acd (diff) |
Fix ClipboardService crash (#1928)
* Fix clipboard service crash on API 31
* all: use ints directly for SDK version checks
I much prefer it this way
Diffstat (limited to 'app/src/free/java')
-rw-r--r-- | app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt b/app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt index 5121a5b0..0faf3d67 100644 --- a/app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt +++ b/app/src/free/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt @@ -6,11 +6,10 @@ package dev.msfjarvis.aps.autofill.oreo.ui import android.content.Context import android.content.IntentSender -import android.os.Build import androidx.annotation.RequiresApi import androidx.appcompat.app.AppCompatActivity -@RequiresApi(Build.VERSION_CODES.O) +@RequiresApi(26) @Suppress("UNUSED_PARAMETER") class AutofillSmsActivity : AppCompatActivity() { |