aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-10-03 18:09:24 +0530
committerGitHub <noreply@github.com>2021-10-03 12:39:24 +0000
commit99586970a1d80e45eee3f99324d1d8f250747f45 (patch)
treeff81e28b65f51bda49b75590300ed35d0fb5ea2d /app/src
parent2cef6a5bb4cb4afb1b1f1b704f83c1565e441825 (diff)
Cleanup and improve CI checks (#1511)
Diffstat (limited to 'app/src')
-rw-r--r--app/src/nonFree/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/nonFree/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt b/app/src/nonFree/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt
index 094c6c33..abe855cd 100644
--- a/app/src/nonFree/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt
+++ b/app/src/nonFree/java/dev/msfjarvis/aps/autofill/oreo/ui/AutofillSmsActivity.kt
@@ -37,7 +37,9 @@ import kotlin.coroutines.suspendCoroutine
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
+import logcat.LogPriority.ERROR
import logcat.LogPriority.WARN
+import logcat.asLog
import logcat.logcat
suspend fun <T> Task<T>.suspendableAwait() =
@@ -134,7 +136,7 @@ class AutofillSmsActivity : AppCompatActivity() {
if (e is ResolvableApiException) {
e.startResolutionForResult(this@AutofillSmsActivity, 1)
} else {
- e(e)
+ logcat(ERROR) { e.asLog() }
withContext(Dispatchers.Main) { finish() }
}
}