Skip to content

Commit d2e52ce

Browse files
author
natarajkr
committed
Update core-telecom dependency and add CALL_BACK intent filter
- 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.
1 parent 16281a5 commit d2e52ce

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

samples/connectivity/telecom/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ android {
3939
}
4040

4141
dependencies {
42-
implementation("androidx.core:core-telecom:1.0.0-alpha02")
42+
implementation("androidx.core:core-telecom:1.0.1")
4343
implementation(project(mapOf("path" to ":samples:connectivity:audio")))
4444

4545
implementation(libs.androidx.activity.compose)

samples/connectivity/telecom/src/main/AndroidManifest.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@
2020
android:showOnLockScreen="true"
2121
android:showWhenLocked="true"
2222
android:turnScreenOn="true"
23-
tools:targetApi="o" />
23+
tools:targetApi="o">
24+
25+
<!-- Required intent to handle for call logging -->
26+
<intent-filter>
27+
<action android:name="android.telecom.action.CALL_BACK" />
28+
<category android:name="android.intent.category.DEFAULT" />
29+
</intent-filter>
30+
</activity>
2431

2532
<receiver
2633
android:name=".call.TelecomCallBroadcast"

0 commit comments

Comments
 (0)