Skip to content

Commit 5c23347

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Bump minSdkVersion to 23 (Marshmallow).
RELNOTES=Our Android `minSdkVersion` is now 23 (Marshmallow). This follows the minimum of Google's foundational Android libraries, and we expect it to have no practical impact on users. PiperOrigin-RevId: 791226165
1 parent 995f5d4 commit 5c23347

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class by appending the class name to guava.dev. For example,
128128
on Linux, with some additional testing on newer JDKs and on Windows. Some
129129
features, especially in `com.google.common.io`, may not work correctly in
130130
non-Linux environments. For the Android flavor, our unit tests also run on
131-
API level 21 (Lollipop).
131+
API level 23 (Marshmallow).
132132

133133
[guava-snapshot-api-docs]: https://guava.dev/releases/snapshot-jre/api/docs/
134134
[guava-snapshot-api-diffs]: https://guava.dev/releases/snapshot-jre/api/diffs/

android/guava/src/com/google/common/util/concurrent/Runnables.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@GwtCompatible
2525
public final class Runnables {
2626
/*
27-
* If we inline this, it's not longer a singleton under Android (at least under the Lollipop
27+
* If we inline this, it's not longer a singleton under Android (at least under the Marshmallow
2828
* version that we're testing under) or J2CL.
2929
*
3030
* That's not necessarily a real-world problem, but it does break our tests.

android/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@
372372
<checkTestClasses>true</checkTestClasses>
373373
<signature>
374374
<groupId>com.toasttab.android</groupId>
375-
<artifactId>gummy-bears-api-21</artifactId>
375+
<artifactId>gummy-bears-api-23</artifactId>
376376
<version>0.12.0</version>
377377
<!-- TODO(cpovirk): In principle, it would make sense to *also* test compatibility with JDK 1.8, since guava-android also has JRE users. -->
378378
</signature>

guava/src/com/google/common/util/concurrent/Runnables.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@GwtCompatible
2525
public final class Runnables {
2626
/*
27-
* If we inline this, it's not longer a singleton under Android (at least under the Lollipop
27+
* If we inline this, it's not longer a singleton under Android (at least under the Marshmallow
2828
* version that we're testing under) or J2CL.
2929
*
3030
* That's not necessarily a real-world problem, but it does break our tests.

0 commit comments

Comments
 (0)