Skip to content

Commit 2e04704

Browse files
Material Design Teampekingme
authored andcommitted
[Internal change] Removed references to the AndroidJdkLibsChecker Error Prone check
PiperOrigin-RevId: 828144964
1 parent c4d19f6 commit 2e04704

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

lib/java/com/google/android/material/color/utilities/DynamicColor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
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.

lib/java/com/google/android/material/color/utilities/TemperatureCache.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)