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
3 changed files with 16 additions and 1 deletions

View File

@@ -19,6 +19,20 @@
column="7"/> column="7"/>
</issue> </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 <issue
id="VectorPath" id="VectorPath"
message="Very long vector path (1042 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector." 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 package app.passwordstore.ui.main
import android.annotation.SuppressLint
import android.content.Intent import android.content.Intent
import android.os.Bundle import android.os.Bundle
import android.os.Handler import android.os.Handler
@@ -22,6 +23,7 @@ import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject import javax.inject.Inject
@AndroidEntryPoint @AndroidEntryPoint
@SuppressLint("CustomSplashScreen")
class LaunchActivity : AppCompatActivity() { class LaunchActivity : AppCompatActivity() {
@Inject lateinit var features: Features @Inject lateinit var features: Features

View File

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