diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-01 20:50:52 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-04 01:52:57 +0530 |
commit | 3a4e827f1abcb3d77d43dba4f7cf4d9a9c9655f7 (patch) | |
tree | 96b314ed0cb1f62722e6c02336c28c0819673916 /app/lint-baseline.xml | |
parent | 496f421f170f6d437cdef63dc4644bf6b423a547 (diff) |
fix: clear violations of `RawDispatcherUse`
Diffstat (limited to 'app/lint-baseline.xml')
-rw-r--r-- | app/lint-baseline.xml | 186 |
1 files changed, 5 insertions, 181 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index c2f393ad..cbf1295c 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -29,183 +29,7 @@ <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) {" + errorLine1=" runBlocking(Dispatchers.Main) { suspendCoroutine { cont -> askForPassword(cont, isRetry) } }" errorLine2=" ~~~~~~~~~~~~~~~~"> <location file="src/main/java/app/passwordstore/util/git/sshj/SshjSessionFactory.kt" @@ -220,7 +44,7 @@ errorLine2=" ^"> <location file="src/main/java/app/passwordstore/ui/autofill/AutofillFilterView.kt" - line="194" + line="199" column="7"/> </issue> @@ -275,7 +99,7 @@ errorLine2=" ^"> <location file="src/main/java/app/passwordstore/ui/passwords/PasswordFragment.kt" - line="180" + line="182" column="5"/> </issue> @@ -297,7 +121,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/app/passwordstore/util/viewmodel/SearchableRepositoryViewModel.kt" - line="298" + line="297" column="33"/> </issue> @@ -308,7 +132,7 @@ errorLine2=" ^"> <location file="src/main/java/app/passwordstore/ui/folderselect/SelectFolderFragment.kt" - line="59" + line="62" column="5"/> </issue> |