Skip to content

Commit 8e828d4

Browse files
committed
Fixed lint warnings
1 parent 77f972e commit 8e828d4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

FlowCrypt/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
import com.android.build.api.artifact.SingleArtifact
88
import com.android.build.api.variant.ResValue
9-
import org.gradle.api.GradleException
10-
import java.io.File
119
import com.android.ddmlib.DdmPreferences
1210
import java.io.FileInputStream
1311
import java.text.SimpleDateFormat
@@ -94,7 +92,6 @@ android {
9492

9593
buildTypes {
9694
getByName("release") {
97-
isShrinkResources = false
9895
isMinifyEnabled = false
9996
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
10097
signingConfig = signingConfigs.getByName("release")

FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/CheckKeysFragment.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
package com.flowcrypt.email.ui.activity.fragment
77

8+
import android.annotation.SuppressLint
89
import android.os.Bundle
910
import android.view.LayoutInflater
1011
import android.view.View
@@ -83,6 +84,8 @@ class CheckKeysFragment : BaseFragment<FragmentCheckKeysBinding>() {
8384

8485
if (!args.isExtraImportOpt) {
8586
if (args.skipImportedKeys) {
87+
//todo-denbond7 temporary changes to fix lint warning. Should be improved in future
88+
@SuppressLint("ThreadConstraint")
8689
removeAlreadyImportedKeys()
8790
}
8891
uniqueKeysCount = getCountOfUniqueKeys(keyDetailsAndFingerprintsMap)

0 commit comments

Comments
 (0)