Skip to content

Commit

Permalink
Update non-test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Oct 12, 2024
1 parent f2b4926 commit 05defcb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions atox/src/main/kotlin/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2019-2021 aTox contributors
// SPDX-FileCopyrightText: 2019-2024 Robin Lindén <[email protected]>
//
// SPDX-License-Identifier: GPL-3.0-only

Expand Down Expand Up @@ -58,7 +58,7 @@ class MainActivity : AppCompatActivity() {
handleIntent(intent)
}

override fun onNewIntent(intent: Intent?) {
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
handleIntent(intent)
}
Expand All @@ -73,8 +73,8 @@ class MainActivity : AppCompatActivity() {
autoAway.onForeground()
}

private fun handleIntent(intent: Intent?) {
when (intent?.action) {
private fun handleIntent(intent: Intent) {
when (intent.action) {
Intent.ACTION_VIEW -> handleToxLinkIntent(intent)
Intent.ACTION_SEND -> handleShareIntent(intent)
}
Expand Down
16 changes: 8 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ android-plugin = "8.5.2"
coroutines = "1.8.1"
dagger = "2.51.1"
espresso = "3.5.1"
lifecycle = "2.6.2" # 2.7.0 requires API 34.
navigation = "2.6.0" # 2.7.5 requires API 34.
room = "2.5.2" # 2.6.0 requires API 34.
lifecycle = "2.8.6"
navigation = "2.7.7" # 2.8.2 requires minSdk 21.
room = "2.6.1"
tox4j-android = "0.2.19"
tox4j-core = "0.2.3"

Expand All @@ -22,11 +22,11 @@ androidApplication = { id = "com.android.application", version.ref = "android-pl
androidLibrary = { id = "com.android.library", version.ref = "android-plugin" }

[libraries]
androidx-activity = "androidx.activity:activity:1.7.2" # 1.8.0 requires API 34.
androidx-appcompat = "androidx.appcompat:appcompat:1.6.1" # 1.7.0 requires API 34.
androidx-activity = "androidx.activity:activity:1.9.2"
androidx-appcompat = "androidx.appcompat:appcompat:1.6.1" # 1.7.0 requires minSdk 21.
androidx-constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
androidx-core-ktx = "androidx.core:core-ktx:1.10.1" # 1.12.0 requires API 34.
androidx-fragment = "androidx.fragment:fragment:1.6.2" # 1.7.1 requires API 34.
androidx-core-ktx = "androidx.core:core-ktx:1.13.1"
androidx-fragment = "androidx.fragment:fragment:1.7.1" # 1.8.4 requires minSdk 21.

androidx-multidex = "androidx.multidex:multidex:2.0.1"
androidx-navigation-fragment = { module = "androidx.navigation:navigation-fragment", version.ref = "navigation" }
Expand All @@ -43,7 +43,7 @@ androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
androidx-room-testing = { module = "androidx.room:room-testing", version.ref = "room" }

google-android-material = "com.google.android.material:material:1.9.0" # 1.10.0 requires API 34
google-android-material = "com.google.android.material:material:1.12.0"
google-dagger-compiler = { module = "com.google.dagger:dagger-compiler", version.ref = "dagger" }
google-dagger-core = { module = "com.google.dagger:dagger", version.ref = "dagger" }

Expand Down

0 comments on commit 05defcb

Please sign in to comment.