Implement quickfixes for Android Lint api issues
#KT-16624 Fixed #KT-16625 Fixed #KT-14947 Fixed
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import android.annotation.SuppressLint
|
||||
|
||||
// INTENTION_TEXT: Suppress: Add @SuppressLint("SdCardPath") annotation
|
||||
// INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintSdCardPathInspection
|
||||
|
||||
@SuppressLint("SdCardPath")
|
||||
fun foo() {
|
||||
val (a: String, b: String) = "/sdcard"
|
||||
}
|
||||
|
||||
operator fun CharSequence.component1(): String = "component1"
|
||||
operator fun CharSequence.component2(): String = "component2"
|
||||
Reference in New Issue
Block a user