Files
kotlin-fork/idea/testData/android/lintQuickfix/targetApi/inlinedConstant.kt.expected
T
Vyacheslav Gerasimov bc403ce744 Switch to 181 platform
2018-04-27 18:25:17 +03:00

12 lines
334 B
Plaintext
Vendored

import android.annotation.TargetApi
import android.os.Build
// INTENTION_TEXT: Add @TargetApi(KITKAT) Annotation
// INSPECTION_CLASS: com.android.tools.idea.lint.AndroidLintInlinedApiInspection
class Test {
@TargetApi(Build.VERSION_CODES.KITKAT)
fun foo(): Int {
return android.R.attr.windowTranslucentStatus
}
}