Skip to content

Commit f421c94

Browse files
committed
Merge branch 'master' into dependabot/gradle/androidx_lifecycle-99041b28b3
# Conflicts: # FlowCrypt/build.gradle.kts
2 parents efab5aa + 81c182f commit f421c94

3 files changed

Lines changed: 19 additions & 17 deletions

File tree

FlowCrypt/build.gradle.kts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ val uiTestsImplementation by configurations.named("uiTestsImplementation")
402402
dependencies {
403403
ksp("com.github.bumptech.glide:ksp:4.16.0")
404404
ksp("androidx.annotation:annotation:1.9.1")
405-
ksp("androidx.room:room-compiler:2.7.1")
405+
ksp("androidx.room:room-compiler:2.7.2")
406406
//ACRA needs the following dependency to use a custom report sender
407407

408408
ksp("dev.zacsweers.autoservice:auto-service-ksp:1.2.0")
@@ -425,9 +425,9 @@ dependencies {
425425
androidTestImplementation("androidx.test:rules:1.6.1")
426426
androidTestImplementation("androidx.test.ext:junit-ktx:1.2.1")
427427
androidTestImplementation("androidx.test.uiautomator:uiautomator:2.3.0")
428-
androidTestImplementation("androidx.room:room-testing:2.7.1")
428+
androidTestImplementation("androidx.room:room-testing:2.7.2")
429429
androidTestImplementation("androidx.arch.core:core-testing:2.2.0")
430-
androidTestImplementation("androidx.work:work-testing:2.10.1")
430+
androidTestImplementation("androidx.work:work-testing:2.10.2")
431431
androidTestImplementation("com.squareup.okhttp3:mockwebserver:4.12.0")
432432
androidTestImplementation("com.squareup.okhttp3:okhttp-tls:4.12.0")
433433
androidTestImplementation("com.athaydes.rawhttp:rawhttp-core:2.6.0")
@@ -438,20 +438,20 @@ dependencies {
438438
testImplementation("com.shazam:shazamcrest:0.11")
439439
testImplementation("org.robolectric:robolectric:4.14.1")
440440
//we need it to test Parcelable implementation
441-
testImplementation("org.jetbrains.kotlin:kotlin-reflect:2.1.21")
441+
testImplementation("org.jetbrains.kotlin:kotlin-reflect:2.2.0")
442442
testImplementation("junit:junit:4.13.2")
443-
testImplementation("androidx.room:room-testing:2.7.1")
443+
testImplementation("androidx.room:room-testing:2.7.2")
444444
testImplementation("io.github.classgraph:classgraph:4.8.179")
445445

446446
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
447447

448448
implementation("androidx.legacy:legacy-support-v4:1.0.0")
449-
implementation("androidx.appcompat:appcompat:1.7.0")
449+
implementation("androidx.appcompat:appcompat:1.7.1")
450450
implementation("androidx.legacy:legacy-preference-v14:1.0.0")
451451
implementation("androidx.cardview:cardview:1.0.0")
452452
implementation("androidx.browser:browser:1.8.0")
453453
implementation("androidx.recyclerview:recyclerview:1.4.0")
454-
implementation("androidx.recyclerview:recyclerview-selection:1.1.0")
454+
implementation("androidx.recyclerview:recyclerview-selection:1.2.0")
455455
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
456456
implementation("androidx.test.espresso:espresso-idling-resource:3.6.1")
457457
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
@@ -460,8 +460,8 @@ dependencies {
460460
implementation("androidx.lifecycle:lifecycle-process:2.9.1")
461461
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.9.1")
462462
implementation("androidx.lifecycle:lifecycle-service:2.9.1")
463-
implementation("androidx.room:room-runtime:2.7.1")
464-
implementation("androidx.room:room-ktx:2.7.1")
463+
implementation("androidx.room:room-runtime:2.7.2")
464+
implementation("androidx.room:room-ktx:2.7.2")
465465
//we disabled warnings about paging-runtime-ktx because a newer version doesn't fit our needs
466466
//noinspection GradleDependency
467467
implementation("androidx.paging:paging-runtime-ktx:2.1.2")
@@ -470,7 +470,7 @@ dependencies {
470470
implementation("androidx.core:core-splashscreen:1.0.1")
471471
implementation("androidx.activity:activity-ktx:1.10.1")
472472
implementation("androidx.fragment:fragment-ktx:1.8.8")
473-
implementation("androidx.work:work-runtime-ktx:2.10.1")
473+
implementation("androidx.work:work-runtime-ktx:2.10.2")
474474
implementation("androidx.navigation:navigation-fragment-ktx:2.9.0")
475475
implementation("androidx.navigation:navigation-ui-ktx:2.9.0")
476476
implementation("androidx.navigation:navigation-runtime-ktx:2.9.0")
@@ -481,7 +481,7 @@ dependencies {
481481
implementation("com.google.android.material:material:1.12.0")
482482
implementation("com.google.android.flexbox:flexbox:3.0.0")
483483
implementation("com.google.code.gson:gson:2.13.1")
484-
implementation("com.google.api-client:google-api-client-android:2.7.2")
484+
implementation("com.google.api-client:google-api-client-android:2.8.0")
485485
implementation("com.google.apis:google-api-services-gmail:v1-rev20250331-2.0.0")
486486
//ACRA needs the following dependency to use a custom report sender
487487
implementation("com.google.auto.service:auto-service-annotations:1.1.1")

FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/UserRecoverableAuthExceptionFragment.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/*
22
* © 2016-present FlowCrypt a.s. Limitations apply. Contact human@flowcrypt.com
3-
* Contributors: DenBond7
3+
* Contributors: denbond7
44
*/
55

66
package com.flowcrypt.email.ui.activity.fragment
77

88
import android.accounts.Account
99
import android.accounts.AccountManager
10+
import android.annotation.SuppressLint
1011
import android.app.Activity
1112
import android.os.Bundle
1213
import android.view.LayoutInflater
@@ -142,6 +143,7 @@ class UserRecoverableAuthExceptionFragment :
142143
GeneralUtil.openCustomTab(requireContext(), Constants.FLOWCRYPT_TERMS_URL)
143144
}
144145
binding?.buttonSecurity?.setOnClickListener {
146+
@SuppressLint("CheckResult")
145147
NavGraphDirections.actionGlobalHtmlViewFromAssetsRawFragment(
146148
title = getString(R.string.security),
147149
resourceIdAsString = "html/security.htm"

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
plugins {
99
id("com.android.application") version "8.9.2" apply false
10-
id("org.jetbrains.kotlin.android") version "2.1.21" apply false
11-
id("androidx.navigation.safeargs.kotlin") version "2.8.9" apply false
12-
id("com.starter.easylauncher") version "6.4.0" apply false
13-
id("org.jetbrains.kotlin.plugin.parcelize") version "2.1.21" apply false
14-
id("com.google.devtools.ksp") version "2.1.21-2.0.2" apply false
10+
id("org.jetbrains.kotlin.android") version "2.2.0" apply false
11+
id("androidx.navigation.safeargs.kotlin") version "2.9.3" apply false
12+
id("com.starter.easylauncher") version "6.4.1" apply false
13+
id("org.jetbrains.kotlin.plugin.parcelize") version "2.2.0" apply false
14+
id("com.google.devtools.ksp") version "2.2.0-2.0.2" apply false
1515
id("org.ajoberstar.grgit") version "5.3.0" apply false
1616
}
1717

0 commit comments

Comments
 (0)