diff --git a/libraries/common/src/test/java/androidx/media3/common/util/UtilTest.java b/libraries/common/src/test/java/androidx/media3/common/util/UtilTest.java index 9888c1dc87..b076c50565 100644 --- a/libraries/common/src/test/java/androidx/media3/common/util/UtilTest.java +++ b/libraries/common/src/test/java/androidx/media3/common/util/UtilTest.java @@ -1570,7 +1570,7 @@ public class UtilTest { } @Test - @Config(minSdk = 16) // Specifies the minimum SDK to enforce the test to run with all API levels. + @Config(minSdk = 21) // Specifies the minimum SDK to enforce the test to run with all API levels. public void contentEquals_sparseArraysWithEqualContent_returnsTrue() { SparseArray sparseArray1 = new SparseArray<>(); sparseArray1.put(1, 2); @@ -1583,7 +1583,7 @@ public class UtilTest { } @Test - @Config(minSdk = 16) // Specifies the minimum SDK to enforce the test to run with all API levels. + @Config(minSdk = 21) // Specifies the minimum SDK to enforce the test to run with all API levels. public void contentEquals_sparseArraysWithDifferentContents_returnsFalse() { SparseArray sparseArray1 = new SparseArray<>(); sparseArray1.put(1, 2); @@ -1599,7 +1599,7 @@ public class UtilTest { } @Test - @Config(minSdk = 16) // Specifies the minimum SDK to enforce the test to run with all API levels. + @Config(minSdk = 21) // Specifies the minimum SDK to enforce the test to run with all API levels. public void contentHashCode_sparseArraysWithEqualContent_returnsEqualContentHashCode() { SparseArray sparseArray1 = new SparseArray<>(); sparseArray1.put(1, 2); @@ -1612,7 +1612,7 @@ public class UtilTest { } @Test - @Config(minSdk = 16) // Specifies the minimum SDK to enforce the test to run with all API levels. + @Config(minSdk = 21) // Specifies the minimum SDK to enforce the test to run with all API levels. public void contentHashCode_sparseArraysWithDifferentContent_returnsDifferentContentHashCode() { // In theory this is not guaranteed though, adding this test to ensure a sensible // contentHashCode implementation.