Skip to content

Update core-telecom dependency and add CALL_BACK intent filter#405

Merged
yrezgui merged 5 commits intoandroid:mainfrom
natarajkr007:telecom-integrated-call-log-change
Apr 8, 2026
Merged

Update core-telecom dependency and add CALL_BACK intent filter#405
yrezgui merged 5 commits intoandroid:mainfrom
natarajkr007:telecom-integrated-call-log-change

Conversation

@natarajkr007
Copy link
Copy Markdown
Contributor

This pull request updates dependencies, adds new features, and refactors the Telecom sample to support excluding calls from call logs.

Dependency and Build System Updates:

  • Updated the Android Gradle Plugin to version 8.13.2 and Gradle to 8.13 to compile sample for 36.1

Feature: Exclude Calls from Call Logs

  • Added a checkbox in the Telecom sample UI to allow users to exclude calls from call logs. This state is passed through the call launch and registration flow.
  • Extended TelecomCallService and TelecomCallRepository to accept and propagate the excludeCallLogging parameter, using the isLogExcluded attribute in CallAttributesCompat.

Telecom Sample Enhancements

  • Added naive handling for the TelecomManager.ACTION_CALL_BACK intent in TelecomCallActivity to support call-back actions.

natarajkr added 3 commits January 28, 2026 22:58
- Update `androidx.core:core-telecom` from `1.0.0-alpha02` to `1.0.1` (latest stable).
- Add `android.telecom.action.CALL_BACK` intent filter to the main activity to support integrated call logging.
…ge' into telecom-integrated-call-log-change
- Update: `androidx.core:core-telecom` to `1.1.0-alpha04`.
- Add: a UI option to the Telecom sample to exclude calls from the system call log using the `isLogExcluded` property in `CallAttributesCompat`.
- Implement handling for `TelecomManager.ACTION_CALL_BACK` in `TelecomCallActivity` to support re-initiating calls from the system UI.
- Update Android Gradle Plugin to `8.13.2` and Gradle wrapper to `8.13` to compile against 36.1.
- Refactor URI creation to use the `toUri()` extension function.
- Update `compileSdk` configuration and add the Foojay toolchain resolver plugin.
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 updates the project to Gradle 8.13 and Android Gradle Plugin 8.13.2, while introducing a feature to exclude calls from system logs in the Telecom sample. It also adds initial support for handling call-back intents in TelecomCallActivity. Feedback highlights the need to use intent data for call-backs instead of hardcoded URIs, the importance of overriding onNewIntent to handle activity reuse, and the removal of a stale TODO comment in the repository.

- Add `onNewIntent` to `TelecomCallActivity` to handle call-back intents when the activity is already running.
- Remove obsolete TODO regarding `isLogExcluded` in `TelecomCallRepository`.
- Add `@SuppressLint("RequiresWindowSdk")` to `ExampleWindowInitializer.create` to suppress false positive lint warning.

Change-Id: I66df7227042f72d20cd328cac16a8a802385781b
…izer

- Update `launchCall` invocations to use named arguments for `excludeCallLogging` to improve readability.
- moved `@SuppressLint("RequiresWindowSdk")` annotation in `ExampleWindowInitializer` to a new PR.

Change-Id: I9e363e3c3b38ef6c840f23fe4b27df5c5d4a9d94
@natarajkr007 natarajkr007 requested a review from yrezgui April 8, 2026 17:26
@yrezgui yrezgui enabled auto-merge (squash) April 8, 2026 18:52
@yrezgui yrezgui merged commit 2d64c04 into android:main Apr 8, 2026
2 of 3 checks passed
yrezgui added a commit that referenced this pull request Apr 8, 2026
yrezgui added a commit that referenced this pull request Apr 8, 2026
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.

3 participants