Bumped dependencies

This commit is contained in:
Sylvain Berfini 2024-04-19 10:35:08 +02:00
parent c4358f20f5
commit a13b46bd2c
3 changed files with 8 additions and 11 deletions

View file

@ -132,13 +132,13 @@ android {
}
dependencies {
implementation "androidx.activity:activity-ktx:1.8.2"
implementation "androidx.activity:activity:1.9.0"
implementation "androidx.annotation:annotation:1.7.1"
implementation "androidx.appcompat:appcompat:1.7.0-alpha03"
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.core:core-ktx:1.13.0"
implementation 'androidx.core:core-splashscreen:1.0.1'
implementation "androidx.core:core-telecom:1.0.0-alpha02"
implementation "androidx.core:core-telecom:1.0.0-alpha03"
implementation "androidx.media:media:1.7.0"
implementation "androidx.fragment:fragment-ktx:1.6.2"
implementation "androidx.recyclerview:recyclerview:1.3.2"

View file

@ -281,14 +281,14 @@ class CallActivity : GenericActivity() {
}
}
override fun onNewIntent(intent: Intent?) {
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
if (intent?.extras?.getBoolean("ActiveCall", false) == true) {
if (intent.extras?.getBoolean("ActiveCall", false) == true) {
navigateToActiveCall(
callViewModel.conferenceModel.isCurrentCallInConference.value == false
)
} else if (intent?.extras?.getBoolean("IncomingCall", false) == true) {
} else if (intent.extras?.getBoolean("IncomingCall", false) == true) {
val action = IncomingCallFragmentDirections.actionGlobalIncomingCallFragment()
findNavController(R.id.call_nav_container).navigate(action)
}

View file

@ -258,12 +258,9 @@ class MainActivity : GenericActivity() {
viewModel.checkForNewAccount()
}
override fun onNewIntent(intent: Intent?) {
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
if (intent != null) {
handleIntent(intent, true)
}
handleIntent(intent, true)
}
@SuppressLint("RtlHardcoded")