Skip to content

Revert "Update core-telecom dependency and add CALL_BACK intent filte…#406

Merged
yrezgui merged 1 commit intomainfrom
revert-405-telecom-integrated-call-log-change
Apr 8, 2026
Merged

Revert "Update core-telecom dependency and add CALL_BACK intent filte…#406
yrezgui merged 1 commit intomainfrom
revert-405-telecom-integrated-call-log-change

Conversation

@yrezgui
Copy link
Copy Markdown
Contributor

@yrezgui yrezgui commented Apr 8, 2026

…r (#405)"

This reverts commit 2d64c04.

@yrezgui yrezgui merged commit 417c6be into main Apr 8, 2026
2 checks passed
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request downgrades Gradle and AGP versions, removes the 'Exclude from call logs' feature, and refactors the Telecom sample. Feedback focuses on maintaining the version catalog for the telecom dependency to avoid hardcoding and removing unused imports in the repository class.

firebaseCrashlyticsBuildtools = "3.0.5"
uwb = "1.0.0-alpha10"
telecom = "1.1.0-alpha04"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Instead of removing the telecom version from the catalog, it should be updated to 1.0.1. Centralizing dependency versions in the catalog is a best practice that should be maintained even during reverts.

Suggested change
telecom = "1.0.1"

kotlin-coroutines-play = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-play-services", version.ref = "coroutines" }
play-services-location = { module = "com.google.android.gms:play-services-location", version.ref = "play-services-location" }
androidx-core-telecom = { module = "androidx.core:core-telecom", version.ref = "telecom" }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The androidx-core-telecom library definition should remain in the version catalog to avoid hardcoding dependencies in the module-level build.gradle.kts files.

Suggested change
androidx-core-telecom = { module = "androidx.core:core-telecom", version.ref = "telecom" }

}

dependencies {
implementation("androidx.core:core-telecom:1.0.1")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The dependency version is hardcoded here. Please use the version catalog reference instead to maintain consistency with the rest of the project.

    implementation(libs.androidx.core.telecom)

Comment on lines +28 to +32
import androidx.core.telecom.CallException
import androidx.core.telecom.CallsManager
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The imports for CallException, CoroutineScope, Dispatchers, and SupervisorJob are unused in this file and should be removed to keep the code clean.

Suggested change
import androidx.core.telecom.CallException
import androidx.core.telecom.CallsManager
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import androidx.core.telecom.CallsManager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant