mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
381 B
Kotlin
12 lines
381 B
Kotlin
// INTENTION_TEXT: Surround with if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { ... }
|
|
// INSPECTION_CLASS: com.android.tools.idea.lint.AndroidLintNewApiInspection
|
|
|
|
import android.graphics.drawable.VectorDrawable
|
|
|
|
class VectorDrawableProvider {
|
|
val flag = false
|
|
fun getVectorDrawable(): VectorDrawable {
|
|
if (flag)
|
|
return <caret>VectorDrawable()
|
|
}
|
|
} |