File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
lib/java/com/google/android/material/color/utilities Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 4949 *
5050 * @hide
5151 */
52- // Prevent lint for Function.apply not being available on Android before API level 14 (4.0.1).
53- // "AndroidJdkLibsChecker" for Function, "NewApi" for Function.apply().
52+ // Suppress NewApi for Function.apply not being available on Android before API level 14 (4.0.1).
5453// A java_library Bazel rule with an Android constraint cannot skip these warnings without this
5554// annotation; another solution would be to create an android_library rule and supply
5655// AndroidManifest with an SDK set higher than 14.
Original file line number Diff line number Diff line change @@ -279,9 +279,7 @@ private List<Hct> getHctsByHue() {
279279 *
280280 * <p>Sorted from coldest first to warmest last.
281281 */
282- // Prevent lint for Comparator not being available on Android before API level 24, 7.0, 2016.
283- // "AndroidJdkLibsChecker" for one linter, "NewApi" for another.
284- // A java_library Bazel rule with an Android constraint cannot skip these warnings without this
282+ // Suppress NewApi for Comparator not being available on Android before API level 24, 7.0, 2016.
285283 // annotation; another solution would be to create an android_library rule and supply
286284 // AndroidManifest with an SDK set higher than 23.
287285 @ SuppressWarnings ("NewApi" )
You can’t perform that action at this time.
0 commit comments