chore: refresh Lint baseline

This commit is contained in:
Harsh Shandilya
2023-07-23 00:51:24 +05:30
parent 70a08c3f13
commit cd6c0a2d78

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.2.0-alpha09" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha09)" variant="all" version="8.2.0-alpha09"> <issues format="6" by="lint 8.2.0-alpha13" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha13)" variant="all" version="8.2.0-alpha13">
<issue <issue
id="StopShip" id="StopShip"
@@ -41,55 +41,55 @@
id="DenyListedApi" id="DenyListedApi"
message="Use Context#getDrawableCompat() instead" message="Use Context#getDrawableCompat() instead"
errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)" errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> errorLine2=" ~~~~~~~~~~~">
<location <location
file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt" file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt"
line="67" line="67"
column="17"/> column="31"/>
</issue> </issue>
<issue <issue
id="DenyListedApi" id="DenyListedApi"
message="Use Context#getDrawableCompat() instead" message="Use Context#getDrawableCompat() instead"
errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)" errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> errorLine2=" ~~~~~~~~~~~">
<location <location
file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt" file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt"
line="67" line="67"
column="17"/> column="31"/>
</issue> </issue>
<issue <issue
id="DenyListedApi" 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." 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" errorLine1=" .launchIn(lifecycleScope)"
errorLine2=" ^"> errorLine2=" ~~~~~~~~">
<location <location
file="src/main/java/app/passwordstore/ui/passwords/PasswordFragment.kt" file="src/main/java/app/passwordstore/ui/passwords/PasswordFragment.kt"
line="182" line="212"
column="5"/> column="8"/>
</issue> </issue>
<issue <issue
id="DenyListedApi" 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." 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(" errorLine1=" .launchIn(lifecycleScope)"
errorLine2=" ^"> errorLine2=" ~~~~~~~~">
<location <location
file="src/main/java/app/passwordstore/ui/dialogs/PasswordGeneratorDialogFragment.kt" file="src/main/java/app/passwordstore/ui/dialogs/PasswordGeneratorDialogFragment.kt"
line="59" line="68"
column="5"/> column="8"/>
</issue> </issue>
<issue <issue
id="DenyListedApi" 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." 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" errorLine1=" .launchIn(lifecycleScope)"
errorLine2=" ^"> errorLine2=" ~~~~~~~~">
<location <location
file="src/main/java/app/passwordstore/ui/folderselect/SelectFolderFragment.kt" file="src/main/java/app/passwordstore/ui/folderselect/SelectFolderFragment.kt"
line="62" line="65"
column="5"/> column="8"/>
</issue> </issue>
<issue <issue