Skip to content

Added latest features from Jetpack Telecom to the sample#407

Open
natarajkr007 wants to merge 12 commits intoandroid:mainfrom
natarajkr007:telecom-integrated-call-log-change
Open

Added latest features from Jetpack Telecom to the sample#407
natarajkr007 wants to merge 12 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 integrated call logging, call log exclusion and call back handling.

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: Integrated call log and call log exclusion

  • Added support for integrated call logging by bumping the library version and added CALL_BACK intent.
  • 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 11 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.
- 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
- Update - `gradle/wrapper-validation-action@v1` to `gradle/actions/wrapper-validation@v4` in the build workflow tp validate latest 8.13 Gradle version.

Change-Id: Iaa9cdc6f8eb4f26486a31d0bf716910cbae0cc47
- 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.
- 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
- Update - `gradle/wrapper-validation-action@v1` to `gradle/actions/wrapper-validation@v4` in the build workflow tp validate latest 8.13 Gradle version.

Change-Id: Iaa9cdc6f8eb4f26486a31d0bf716910cbae0cc47
…ge' into telecom-integrated-call-log-change

Change-Id: I196290e22bad21215d38740968bf341611bac7c8
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 AGP 8.13.2, and introduces a feature to the Telecom sample allowing calls to be excluded from the system call log via a new UI checkbox. It also adds support for handling callback intents in TelecomCallActivity. Feedback was provided regarding the handleCallBack implementation, which currently uses hardcoded values instead of extracting the destination URI from the incoming intent data.

Change-Id: Ic03d0b0b984075d026b16bcc86c6aee90e88b151
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