mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 00:21:34 +00:00
12 lines
467 B
Plaintext
Vendored
12 lines
467 B
Plaintext
Vendored
// 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
|
|
import android.os.Build
|
|
|
|
val v: VectorDrawable
|
|
get() = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
|
VectorDrawable()
|
|
} else {
|
|
TODO("VERSION.SDK_INT < LOLLIPOP")
|
|
} |