Files
kotlin-fork/idea/testData/android/lintQuickfix/targetApi/functionLiteral.kt.expected.181
T
2018-04-11 16:28:35 +03:00

15 lines
438 B
Plaintext
Vendored

// INTENTION_TEXT: Add @TargetApi(LOLLIPOP) Annotation
// INSPECTION_CLASS: com.android.tools.idea.lint.AndroidLintNewApiInspection
import android.annotation.TargetApi
import android.graphics.drawable.VectorDrawable
import android.os.Build
class VectorDrawableProvider {
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
fun getVectorDrawable(): VectorDrawable {
with(this) {
return VectorDrawable()
}
}
}