Address NewApi Android lint warnings in src/media.
Android lint complains when we use APIs added to Android after ICS because these will causes crashes if used on ICS devices. In cases where we only call the API on later versions of Android, we need to annotate the method or class with @TargetApi to tell Android lint that each particular use of the new API is safe. This adds a bunch of such @TargetApi annotations. BUG=266140 Review URL: https://codereview.chromium.org/969883002 Cr-Commit-Position: refs/heads/master@{#319703}
Showing
Please register or sign in to comment