summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-06-01 18:42:35 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-06-04 01:52:57 +0530
commit5538306927861a711460a3b97ee0194be124c96d (patch)
treee24a414a081dc65a1d8b66897ca1d8a01e6a697b /app
parent53476f612b3cfef292717d18dd54ca82d9e0baa3 (diff)
chore: refresh lint baseline
Diffstat (limited to 'app')
-rw-r--r--app/lint-baseline.xml299
1 files changed, 298 insertions, 1 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml
index 06eabc42..36bccbca 100644
--- a/app/lint-baseline.xml
+++ b/app/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
+<issues format="6" by="lint 8.2.0-alpha06" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha06)" variant="all" version="8.2.0-alpha06">
<issue
id="StopShip"
@@ -13,6 +13,17 @@
</issue>
<issue
+ id="FullyQualifiedResource"
+ message="Use an import alias instead"
+ errorLine1=" app.passwordstore.passgen.diceware.R.raw.diceware_wordlist"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt"
+ line="50"
+ column="7"/>
+ </issue>
+
+ <issue
id="InvalidPackage"
message="Invalid package reference in org.bouncycastle:bcpkix-jdk15to18; not included in Android: `javax.naming.directory`. Referenced from `org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory`.">
<location
@@ -27,6 +38,292 @@
</issue>
<issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt"
+ line="104"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt"
+ line="132"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) { finish() }"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt"
+ line="139"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/git/base/BaseGitActivity.kt"
+ line="108"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" private val scope = CoroutineScope(Job() + Dispatchers.Main)"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/util/services/ClipboardService.kt"
+ line="35"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/util/services/ClipboardService.kt"
+ line="56"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/util/git/GitCommandExecutor.kt"
+ line="105"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/util/git/operation/GitOperation.kt"
+ line="179"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" lifecycleScope.launch(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt"
+ line="358"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt"
+ line="110"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt"
+ line="137"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt"
+ line="150"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt"
+ line="511"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt"
+ line="576"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" coroutineScope.launch(Dispatchers.Main.immediate) { viewHolderBinder.invoke(holder, item) }"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/util/viewmodel/SearchableRepositoryViewModel.kt"
+ line="485"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" withContext(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/sshkeygen/SshKeyGenActivity.kt"
+ line="114"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="RawDispatchersUse"
+ message="Use SlackDispatchers."
+ errorLine1=" runBlocking(Dispatchers.Main) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/util/git/sshj/SshjSessionFactory.kt"
+ line="60"
+ column="19"/>
+ </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=" model.searchResult"
+ errorLine2=" ^">
+ <location
+ file="src/main/java/app/passwordstore/ui/autofill/AutofillFilterView.kt"
+ line="194"
+ 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=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt"
+ line="67"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="DenyListedApi"
+ message="Use Context#getDrawableCompat() instead"
+ errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt"
+ line="67"
+ column="17"/>
+ </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=" model.searchResult"
+ errorLine2=" ^">
+ <location
+ file="src/main/java/app/passwordstore/ui/passwords/PasswordFragment.kt"
+ line="180"
+ column="5"/>
+ </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/PasswordGeneratorDialogFragment.kt"
+ line="58"
+ column="5"/>
+ </issue>
+
+ <issue
+ id="DenyListedApi"
+ message="For a stack use ArrayDeque which is more efficient internally."
+ errorLine1=" private val navigationStack = Stack&lt;NavigationStackEntry>()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/app/passwordstore/util/viewmodel/SearchableRepositoryViewModel.kt"
+ line="298"
+ column="33"/>
+ </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=" model.searchResult"
+ errorLine2=" ^">
+ <location
+ file="src/main/java/app/passwordstore/ui/folderselect/SelectFolderFragment.kt"
+ line="59"
+ column="5"/>
+ </issue>
+
+ <issue
id="MissingQuantity"
message="For locale &quot;it&quot; (Italian) the following quantity should also be defined: `many`"
errorLine1=" &lt;plurals name=&quot;delete_title&quot;>"