Skip to content

Commit 1f4d6d0

Browse files
authored
Merge branch 'main' into dependabot/gradle/androidx.test.ext-truth-1.6.0
2 parents 8ffb32f + 8020c1f commit 1f4d6d0

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

firebase-ai/api.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,15 @@ package com.google.firebase.ai.type {
245245
}
246246

247247
public final class CountTokensResponse {
248-
ctor public CountTokensResponse(int totalTokens, Integer? totalBillableCharacters = null, java.util.List<com.google.firebase.ai.type.ModalityTokenCount> promptTokensDetails = emptyList());
248+
ctor public CountTokensResponse(int totalTokens, @Deprecated Integer? totalBillableCharacters = null, java.util.List<com.google.firebase.ai.type.ModalityTokenCount> promptTokensDetails = emptyList());
249249
method public operator int component1();
250250
method public operator Integer? component2();
251251
method public operator java.util.List<com.google.firebase.ai.type.ModalityTokenCount>? component3();
252252
method public java.util.List<com.google.firebase.ai.type.ModalityTokenCount> getPromptTokensDetails();
253-
method public Integer? getTotalBillableCharacters();
253+
method @Deprecated public Integer? getTotalBillableCharacters();
254254
method public int getTotalTokens();
255255
property public final java.util.List<com.google.firebase.ai.type.ModalityTokenCount> promptTokensDetails;
256-
property public final Integer? totalBillableCharacters;
256+
property @Deprecated public final Integer? totalBillableCharacters;
257257
property public final int totalTokens;
258258
}
259259

firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Schema.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,15 +309,13 @@ internal constructor(
309309
*
310310
* Example: A field that can hold either a simple userID or a more detailed user object.
311311
*
312-
* Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj(mapOf(
313-
*
314312
* ```
313+
* Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj( mapOf(
315314
* "userID" to Schema.integer(description = "User ID"),
316315
* "username" to Schema.string(description = "Username")
316+
* )))
317317
* ```
318318
*
319-
* )) )
320-
*
321319
* @param schemas The list of valid schemas which could be here
322320
*/
323321
@JvmStatic

firebase-common/src/test/java/com/google/firebase/DataCollectionPreNDefaultEnabledTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import org.robolectric.annotation.Config;
2828

2929
@RunWith(AndroidJUnit4.class)
30-
@Config(sdk = 21)
30+
@Config(sdk = Config.OLDEST_SDK)
3131
public class DataCollectionPreNDefaultEnabledTest {
3232

3333
@Test

firebase-common/src/test/java/com/google/firebase/platforminfo/FirebasePlatformLoggingTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void test_auto_atHighEnoughApiLevel() {
8787
}
8888

8989
@Test
90-
@Config(sdk = Build.VERSION_CODES.LOLLIPOP_MR1)
90+
@Config(sdk = Config.OLDEST_SDK)
9191
public void test_auto_atNotHighEnoughApiLevel() {
9292
ShadowPackageManager shadowPackageManager =
9393
shadowOf(ApplicationProvider.getApplicationContext().getPackageManager());
@@ -98,7 +98,7 @@ public void test_auto_atNotHighEnoughApiLevel() {
9898
app -> {
9999
UserAgentPublisher ua = app.get(UserAgentPublisher.class);
100100

101-
assertThat(ua.getUserAgent()).containsMatch(Pattern.compile("android-platform/($|\\s)"));
101+
assertThat(ua.getUserAgent()).containsMatch(Pattern.compile("android-installer/($|\\s)"));
102102
});
103103
}
104104

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ rxandroid = "2.0.2"
7070
rxjava = "2.1.14"
7171
serialization = "1.5.1"
7272
slf4jNop = "2.0.9"
73-
spotless = "7.0.0.BETA3"
73+
spotless = "7.0.4"
7474
testServices = "1.2.0"
7575
truth = "1.4.4"
7676
truthProtoExtension = "1.0"
@@ -216,7 +216,7 @@ turbine = { module = "app.cash.turbine:turbine", version = "1.2.0" }
216216
# correspondingly-named classes from the java.time package, which should be drop-in replacements.
217217
# Do not use three-ten-abp in production code (it's only for tests) because it has performance
218218
# issues.
219-
testonly-three-ten-abp = { module = "com.jakewharton.threetenabp:threetenabp", version = "1.4.7" }
219+
testonly-three-ten-abp = { module = "com.jakewharton.threetenabp:threetenabp", version = "1.4.9" }
220220
wiremock-standalone = { module = "com.github.tomakehurst:wiremock-standalone", version.ref = "wiremockStandalone" }
221221

222222
[bundles]

0 commit comments

Comments
 (0)