fix(lint): resolve and suppress lints to fix canary builds

This commit is contained in:
Harsh Shandilya 2022-09-05 15:36:29 +05:30
parent d3bb888449
commit 42ecba8dee
No known key found for this signature in database
3 changed files with 16 additions and 1 deletions

View file

@ -19,6 +19,20 @@
column="7"/>
</issue>
<issue
id="TrustAllX509TrustManager"
message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
<location
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.eclipse.jgit/org.eclipse.jgit/3.7.1.201504261725-r/28bae05826c1a34381826fb1d9ea5fd0ec47cc67/org.eclipse.jgit-3.7.1.201504261725-r.jar"/>
</issue>
<issue
id="TrustAllX509TrustManager"
message="`checkServerTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
<location
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.eclipse.jgit/org.eclipse.jgit/3.7.1.201504261725-r/28bae05826c1a34381826fb1d9ea5fd0ec47cc67/org.eclipse.jgit-3.7.1.201504261725-r.jar"/>
</issue>
<issue
id="VectorPath"
message="Very long vector path (1042 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."

View file

@ -4,6 +4,7 @@
*/
package app.passwordstore.ui.main
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.os.Handler
@ -22,6 +23,7 @@ import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
@AndroidEntryPoint
@SuppressLint("CustomSplashScreen")
class LaunchActivity : AppCompatActivity() {
@Inject lateinit var features: Features

View file

@ -28,7 +28,6 @@ fun FragmentManager.performTransactionWithBackStack(
@IdRes containerViewId: Int = android.R.id.content
) {
commit {
beginTransaction()
addToBackStack(destinationFragment.tag)
setCustomAnimations(
R.animator.slide_in_left,