Add @TargetApi to version dependent methods.

Adding the @TargetApi annotation to methods that require newer features
of android will remove lint warnings while ensuring that the warnings
will return if anything is referenced above the API level specified in
the annotation.

BUG=634948

Review-Url: https://codereview.chromium.org/2219993002
Cr-Commit-Position: refs/heads/master@{#410771}
3 files changed