Fix AddTargetVersionCheckQuickFix, generate else branch with TODO
when surrounded statement used as expression #KT-17786 Fixed #KT-17788 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// INTENTION_TEXT: Surround with if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { ... }
|
||||
// INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintNewApiInspection
|
||||
|
||||
import android.graphics.drawable.VectorDrawable
|
||||
|
||||
val v: VectorDrawable
|
||||
get() = <caret>VectorDrawable()
|
||||
Reference in New Issue
Block a user