DescriptionAddress 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
Committed: https://crrev.com/3a06d2fbbe2c3e2ccabdb3858002435700edbef1
Cr-Commit-Position: refs/heads/master@{#319703}
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : comments from #2 #
Total comments: 4
Patch Set 4 : qinmin's comments #Patch Set 5 : rebase #
Messages
Total messages: 29 (6 generated)
|