diff --git a/WooCommerce/build.gradle b/WooCommerce/build.gradle index 8959fc8e102..8472134e4d4 100644 --- a/WooCommerce/build.gradle +++ b/WooCommerce/build.gradle @@ -429,7 +429,6 @@ dependencies { // ViewModel and LiveData implementation(libs.androidx.fragment.ktx) - implementation(libs.androidx.activity.ktx) implementation(libs.androidx.lifecycle.viewmodel.savedstate) implementation(libs.androidx.lifecycle.process) diff --git a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainActivity.kt b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainActivity.kt index 8b5f17d864e..84bcc116432 100644 --- a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainActivity.kt +++ b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainActivity.kt @@ -395,7 +395,7 @@ class MainActivity : super.onPause() } - override fun onNewIntent(intent: Intent?) { + override fun onNewIntent(intent: Intent) { super.onNewIntent(intent) // Verify authenticated session diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5db15828723..b81f3c67c45 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ agp = '8.5.1' android-billingclient = '5.0.0' android-desugar = '2.0.4' android-security-lint = '1.0.1' -androidx-activity = '1.8.0' +androidx-activity = '1.9.3' androidx-appcompat = '1.4.2' androidx-arch-core = '2.1.0' androidx-browser = '1.5.0' @@ -98,7 +98,6 @@ android-billingclient-ktx = { group = "com.android.billingclient", name = "billi android-desugar = { group = "com.android.tools", name = "desugar_jdk_libs", version.ref = "android-desugar" } android-security-lint = { group = "com.android.security.lint", name = "lint", version.ref = "android-security-lint" } androidx-activity-compose = { group = "androidx.activity", name = "activity-compose" } -androidx-activity-ktx = { group = "androidx.activity", name = "activity-ktx", version.ref = "androidx-activity" } androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidx-appcompat" } androidx-arch-core-testing = { group = "androidx.arch.core", name = "core-testing", version.ref = "androidx-arch-core" } androidx-browser = { group = "androidx.browser", name = "browser", version.ref = "androidx-browser" }