`@TargetApi` does not do what you think it does. That test is still being run on Gingerbread devices, it is merely an annotation to tell the build system that you're going to use APIs from Jelly Bean and above (why not ICS?) so that Lint won't throw a warning, but that **you** take care that it only get's called on these API versions. You'd still have to do something like `if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)`.