aboutsummaryrefslogtreecommitdiff
path: root/app/lint-baseline.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-06-01 20:51:05 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-06-04 01:52:57 +0530
commitf6e1830647d9fbf91fca603a51566d66069e9def (patch)
treefd4b8d53017604acf1b0a923981c3c0e1053fe98 /app/lint-baseline.xml
parent3a4e827f1abcb3d77d43dba4f7cf4d9a9c9655f7 (diff)
fix: start clearing violations of `DenyListedApi`
Diffstat (limited to 'app/lint-baseline.xml')
-rw-r--r--app/lint-baseline.xml33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml
index cbf1295c..f6232d8e 100644
--- a/app/lint-baseline.xml
+++ b/app/lint-baseline.xml
@@ -39,39 +39,6 @@
<issue
id="DenyListedApi"
- message="Use the structured concurrent CoroutineScope#launch and Flow#collect APIs instead of reactive Flow#onEach and Flow#launchIn. Suspend calls like Flow#collect can be refactored into standalone suspend funs and mixed in with regular control flow in a suspend context, but calls that invoke CoroutineScope#launch and Flow#collect at the same time hide the suspend context, encouraging the developer to continue working in the reactive domain."
- errorLine1=" model.searchResult"
- errorLine2=" ^">
- <location
- file="src/main/java/app/passwordstore/ui/autofill/AutofillFilterView.kt"
- line="199"
- column="7"/>
- </issue>
-
- <issue
- id="DenyListedApi"
- message="Use the structured concurrent CoroutineScope#launch and Flow#collect APIs instead of reactive Flow#onEach and Flow#launchIn. Suspend calls like Flow#collect can be refactored into standalone suspend funs and mixed in with regular control flow in a suspend context, but calls that invoke CoroutineScope#launch and Flow#collect at the same time hide the suspend context, encouraging the developer to continue working in the reactive domain."
- errorLine1=" entry.totp.onEach(adapter::updateOTPCode).launchIn(lifecycleScope)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/app/passwordstore/ui/crypto/DecryptActivity.kt"
- line="271"
- column="9"/>
- </issue>
-
- <issue
- id="DenyListedApi"
- message="Use the structured concurrent CoroutineScope#launch and Flow#collect APIs instead of reactive Flow#onEach and Flow#launchIn. Suspend calls like Flow#collect can be refactored into standalone suspend funs and mixed in with regular control flow in a suspend context, but calls that invoke CoroutineScope#launch and Flow#collect at the same time hide the suspend context, encouraging the developer to continue working in the reactive domain."
- errorLine1=" merge("
- errorLine2=" ^">
- <location
- file="src/main/java/app/passwordstore/ui/dialogs/DicewarePasswordGeneratorDialogFragment.kt"
- line="50"
- column="5"/>
- </issue>
-
- <issue
- id="DenyListedApi"
message="Use Context#getDrawableCompat() instead"
errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">