mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
13 lines
440 B
Kotlin
Vendored
13 lines
440 B
Kotlin
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
|
|
|
|
class VectorDrawableProvider {
|
|
val flag = false
|
|
fun getVectorDrawable(): VectorDrawable {
|
|
if (flag) {
|
|
return <caret>VectorDrawable()
|
|
}
|
|
}
|
|
} |