13 lines
393 B
Kotlin
Vendored
13 lines
393 B
Kotlin
Vendored
// 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()
|
|
}
|
|
}
|
|
} |