Skip to content

Commit 6a69101

Browse files
Brad EbingerGerrit Code Review
Brad Ebinger
authored and
Gerrit Code Review
committed
Merge "Use the correct @RequiresOptIn for ExperimentalAppActions" into androidx-main
2 parents c7d2a9b + 55d5ec9 commit 6a69101

24 files changed

+61
-18
lines changed

Diff for: core/core-telecom/api/current.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ package androidx.core.telecom {
109109

110110
package androidx.core.telecom.util {
111111

112-
@SuppressCompatibility @RequiresOptIn @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface ExperimentalAppActions {
112+
@SuppressCompatibility @kotlin.RequiresOptIn @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalAppActions {
113113
}
114114

115115
}

Diff for: core/core-telecom/api/restricted_current.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ package androidx.core.telecom {
109109

110110
package androidx.core.telecom.util {
111111

112-
@SuppressCompatibility @RequiresOptIn @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface ExperimentalAppActions {
112+
@SuppressCompatibility @kotlin.RequiresOptIn @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalAppActions {
113113
}
114114

115115
}

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/CallCompatTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import androidx.core.telecom.internal.InCallServiceCompat
3636
import androidx.core.telecom.internal.utils.Utils
3737
import androidx.core.telecom.test.utils.BaseTelecomTest
3838
import androidx.core.telecom.test.utils.TestUtils
39+
import androidx.core.telecom.util.ExperimentalAppActions
3940
import androidx.test.ext.junit.runners.AndroidJUnit4
4041
import androidx.test.filters.LargeTest
4142
import androidx.test.filters.SdkSuppress
@@ -67,6 +68,7 @@ import org.junit.runner.RunWith
6768
*/
6869
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.O)
6970
@RequiresApi(Build.VERSION_CODES.O)
71+
@OptIn(ExperimentalAppActions::class)
7072
@RunWith(AndroidJUnit4::class)
7173
class CallCompatTest : BaseTelecomTest() {
7274
private lateinit var callCompat: CallCompat

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/CallSessionTest.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import androidx.core.telecom.extensions.voip.VoipExtensionManager
2424
import androidx.core.telecom.internal.CallChannels
2525
import androidx.core.telecom.internal.CallSession
2626
import androidx.core.telecom.test.utils.BaseTelecomTest
27+
import androidx.core.telecom.util.ExperimentalAppActions
2728
import androidx.test.ext.junit.runners.AndroidJUnit4
2829
import androidx.test.filters.SdkSuppress
2930
import androidx.test.filters.SmallTest
@@ -43,7 +44,7 @@ import org.junit.runner.RunWith
4344
* [androidx.core.telecom.internal.CallSession] object.
4445
*/
4546
@SdkSuppress(minSdkVersion = VERSION_CODES.UPSIDE_DOWN_CAKE /* api=34 */)
46-
@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)
47+
@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class, ExperimentalAppActions::class)
4748
@RequiresApi(VERSION_CODES.UPSIDE_DOWN_CAKE)
4849
@RunWith(AndroidJUnit4::class)
4950
class CallSessionTest : BaseTelecomTest() {

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/E2ECallExtensionExtrasTests.kt

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import androidx.core.telecom.test.utils.BaseTelecomTest
3030
import androidx.core.telecom.test.utils.MockInCallServiceDelegate
3131
import androidx.core.telecom.test.utils.TestUtils
3232
import androidx.core.telecom.test.utils.TestUtils.waitOnInCallServiceToReachXCallCompats
33+
import androidx.core.telecom.util.ExperimentalAppActions
3334
import androidx.test.ext.junit.runners.AndroidJUnit4
3435
import androidx.test.filters.LargeTest
3536
import androidx.test.filters.SdkSuppress
@@ -59,6 +60,7 @@ import org.junit.runner.RunWith
5960
*/
6061
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.O)
6162
@RequiresApi(Build.VERSION_CODES.O)
63+
@OptIn(ExperimentalAppActions::class)
6264
@RunWith(AndroidJUnit4::class)
6365
class E2ECallExtensionExtrasTests : BaseTelecomTest() {
6466
companion object {

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/E2ECapabilityExchangeTests.kt

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import androidx.core.telecom.test.utils.BaseTelecomTest
2929
import androidx.core.telecom.test.utils.InCallServiceType
3030
import androidx.core.telecom.test.utils.MockInCallServiceDelegate
3131
import androidx.core.telecom.test.utils.TestUtils
32+
import androidx.core.telecom.util.ExperimentalAppActions
3233
import androidx.test.filters.LargeTest
3334
import androidx.test.filters.SdkSuppress
3435
import androidx.test.platform.app.InstrumentationRegistry
@@ -44,6 +45,7 @@ import org.junit.Rule
4445
import org.junit.Test
4546

4647
@RequiresApi(Build.VERSION_CODES.O)
48+
@ExperimentalAppActions
4749
class E2ECapabilityExchangeTests : BaseTelecomTest() {
4850
@get:Rule val serviceRule: ServiceTestRule = ServiceTestRule()
4951

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/ExtensionAidlTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import androidx.core.telecom.extensions.ICallDetailsListener
2121
import androidx.core.telecom.extensions.ICapabilityExchange
2222
import androidx.core.telecom.extensions.ICapabilityExchangeListener
2323
import androidx.core.telecom.extensions.IParticipantStateListener
24+
import androidx.core.telecom.util.ExperimentalAppActions
2425
import androidx.test.ext.junit.runners.AndroidJUnit4
2526
import androidx.test.filters.SmallTest
2627
import org.junit.Assert.assertEquals
@@ -33,6 +34,7 @@ import org.junit.runner.RunWith
3334
* Not very useful for now, but tests the visibility of the AIDL files and ensures that they can
3435
* be used as described.
3536
*/
37+
@OptIn(ExperimentalAppActions::class)
3638
@RunWith(AndroidJUnit4::class)
3739
class ExtensionAidlTest {
3840

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/InCallServiceCompatTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import androidx.core.telecom.test.utils.BaseTelecomTest
3131
import androidx.core.telecom.test.utils.InCallServiceType
3232
import androidx.core.telecom.test.utils.MockInCallServiceDelegate
3333
import androidx.core.telecom.test.utils.TestUtils
34+
import androidx.core.telecom.util.ExperimentalAppActions
3435
import androidx.test.ext.junit.runners.AndroidJUnit4
3536
import androidx.test.filters.LargeTest
3637
import androidx.test.filters.SdkSuppress
@@ -53,6 +54,7 @@ import org.junit.runner.RunWith
5354
*/
5455
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.O)
5556
@RequiresApi(Build.VERSION_CODES.O)
57+
@OptIn(ExperimentalAppActions::class)
5658
@RunWith(AndroidJUnit4::class)
5759
class InCallServiceCompatTest : BaseTelecomTest() {
5860

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/JetpackConnectionServiceTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import androidx.core.telecom.test.utils.BaseTelecomTest
3131
import androidx.core.telecom.test.utils.TestUtils
3232
import androidx.core.telecom.test.utils.TestUtils.TEST_CALL_ATTRIB_NAME
3333
import androidx.core.telecom.test.utils.TestUtils.TEST_PHONE_NUMBER_9001
34+
import androidx.core.telecom.util.ExperimentalAppActions
3435
import androidx.test.ext.junit.runners.AndroidJUnit4
3536
import androidx.test.filters.SdkSuppress
3637
import androidx.test.filters.SmallTest
@@ -45,6 +46,7 @@ import org.junit.runner.RunWith
4546

4647
@SdkSuppress(minSdkVersion = VERSION_CODES.O /* api=26 */)
4748
@RequiresApi(VERSION_CODES.O)
49+
@OptIn(ExperimentalAppActions::class)
4850
@RunWith(AndroidJUnit4::class)
4951
class JetpackConnectionServiceTest : BaseTelecomTest() {
5052
private val callChannels = CallChannels()

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/VoipAppWithExtensions/VoipAppWithExtensionsControl.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import androidx.core.telecom.extensions.Capability
3232
import androidx.core.telecom.extensions.Participant
3333
import androidx.core.telecom.test.ITestAppControl
3434
import androidx.core.telecom.test.utils.TestUtils
35+
import androidx.core.telecom.util.ExperimentalAppActions
3536
import kotlinx.coroutines.CompletableDeferred
3637
import kotlinx.coroutines.CoroutineScope
3738
import kotlinx.coroutines.Dispatchers
@@ -40,7 +41,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
4041
import kotlinx.coroutines.launch
4142
import kotlinx.coroutines.runBlocking
4243

43-
@OptIn(ExperimentalCoroutinesApi::class)
44+
@OptIn(ExperimentalCoroutinesApi::class, ExperimentalAppActions::class)
4445
@RequiresApi(Build.VERSION_CODES.O)
4546
class VoipAppWithExtensionsControl : Service() {
4647
var mCallsManager: CallsManager? = null

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/VoipExtensionRegistrationTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import androidx.core.telecom.extensions.voip.raisedHandParticipants
3131
import androidx.core.telecom.internal.utils.Utils
3232
import androidx.core.telecom.test.utils.BaseTelecomTest
3333
import androidx.core.telecom.test.utils.TestUtils
34+
import androidx.core.telecom.util.ExperimentalAppActions
3435
import androidx.test.ext.junit.runners.AndroidJUnit4
3536
import androidx.test.filters.MediumTest
3637
import androidx.test.filters.SdkSuppress
@@ -47,6 +48,7 @@ import org.junit.runner.RunWith
4748

4849
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.O)
4950
@RequiresApi(Build.VERSION_CODES.O)
51+
@OptIn(ExperimentalAppActions::class)
5052
@RunWith(AndroidJUnit4::class)
5153
class VoipExtensionRegistrationTest : BaseTelecomTest() {
5254
private lateinit var extensionRegistrationMap: Map<Int, (CallControlScope) -> Unit>

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/utils/BaseTelecomTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import androidx.core.telecom.CallControlScope
3030
import androidx.core.telecom.CallsManager
3131
import androidx.core.telecom.internal.JetpackConnectionService
3232
import androidx.core.telecom.internal.utils.Utils
33+
import androidx.core.telecom.util.ExperimentalAppActions
3334
import androidx.test.core.app.ApplicationProvider
3435
import androidx.test.filters.SdkSuppress
3536
import androidx.testutils.TestExecutor
@@ -129,6 +130,7 @@ abstract class BaseTelecomTest {
129130
return mContext.packageManager.hasSystemFeature(PackageManager.FEATURE_TELECOM)
130131
}
131132

133+
@OptIn(ExperimentalAppActions::class)
132134
private suspend fun maybeCleanupStuckCalls() {
133135
JetpackConnectionService.mPendingConnectionRequests.clear()
134136
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/utils/MockInCallServiceDelegate.kt

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import androidx.core.telecom.extensions.addParticipantsSupport
2929
import androidx.core.telecom.internal.CallCompat
3030
import androidx.core.telecom.internal.InCallServiceCompat
3131
import androidx.core.telecom.test.utils.TestUtils.printParticipants
32+
import androidx.core.telecom.util.ExperimentalAppActions
3233
import androidx.test.core.app.ActivityScenario.launch
3334
import java.util.Collections
3435
import kotlinx.coroutines.CoroutineScope
@@ -45,6 +46,7 @@ import kotlinx.coroutines.withTimeout
4546
@RequiresApi(Build.VERSION_CODES.O)
4647
internal class MockInCallServiceDelegate : Service() {
4748

49+
@OptIn(ExperimentalAppActions::class)
4850
class InCallServiceWoExtensions(context: Context) : InCallService() {
4951
init {
5052
// Icky hack, but since we are using a delegate, we need to attach the Context manually.
@@ -60,12 +62,14 @@ internal class MockInCallServiceDelegate : Service() {
6062
mCalls.add(callCompat)
6163
}
6264
}
65+
6366
override fun onCallRemoved(call: Call) {
6467
Log.i(LOG_TAG, String.format("ICS.onCallRemoved: call=[%s]", call))
6568
mCalls.removeIf { c -> c.toCall() == call }
6669
}
6770
}
6871

72+
@ExperimentalAppActions
6973
class InCallServiceWExtensions(context: Context) : InCallServiceCompat() {
7074
init {
7175
// Icky hack, but since we are using a delegate, we need to attach the Context manually.
@@ -98,11 +102,13 @@ internal class MockInCallServiceDelegate : Service() {
98102

99103
companion object {
100104
const val LOG_TAG = "MockInCallServiceDelegate"
105+
@OptIn(ExperimentalAppActions::class)
101106
val mCalls = Collections.synchronizedList(ArrayList<CallCompat>())
102107
var mIsServiceBound = false
103108
var mInCallServiceType: InCallServiceType = InCallServiceType.ICS_WITHOUT_EXTENSIONS
104109
val mServiceFlow = MutableStateFlow<InCallService?>(null)
105110

111+
@OptIn(ExperimentalAppActions::class)
106112
@Suppress("deprecation")
107113
suspend fun destroyAllCalls() {
108114
Log.i(LOG_TAG, "destroyAllCalls: Calls.size=[${mCalls.size}]")
@@ -128,6 +134,7 @@ internal class MockInCallServiceDelegate : Service() {
128134
}
129135
}
130136

137+
@ExperimentalAppActions
131138
fun getLastCall(): CallCompat? {
132139
return if (mCalls.size == 0) {
133140
null
@@ -136,6 +143,7 @@ internal class MockInCallServiceDelegate : Service() {
136143
}
137144
}
138145

146+
@OptIn(ExperimentalAppActions::class)
139147
fun getCallCount(): Int {
140148
return mCalls.size
141149
}
@@ -147,12 +155,14 @@ internal class MockInCallServiceDelegate : Service() {
147155
fun getService(): InCallService? {
148156
return mServiceFlow.value
149157
}
158+
@ExperimentalAppActions
150159
fun getServiceWithExtensions(): InCallServiceCompat? {
151160
if (getService() !is InCallServiceCompat) return null
152161
return getService() as InCallServiceCompat
153162
}
154163
}
155164

165+
@OptIn(ExperimentalAppActions::class)
156166
override fun onCreate() {
157167
Log.i(LOG_TAG, "Delegate service onCreate")
158168
mServiceFlow.tryEmit(when (mInCallServiceType) {

Diff for: core/core-telecom/src/androidTest/java/androidx/core/telecom/test/utils/TestUtils.kt

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import androidx.core.telecom.CallsManager
3333
import androidx.core.telecom.extensions.Participant
3434
import androidx.core.telecom.internal.CallCompat
3535
import androidx.core.telecom.internal.utils.BuildVersionAdapter
36+
import androidx.core.telecom.util.ExperimentalAppActions
3637
import androidx.test.platform.app.InstrumentationRegistry
3738
import java.io.FileInputStream
3839
import kotlinx.coroutines.TimeoutCancellationException
@@ -273,6 +274,7 @@ object TestUtils {
273274
Log.i(LOG_TAG, "defaultDialer=[${getDefaultDialer()}]")
274275
}
275276

277+
@OptIn(ExperimentalAppActions::class)
276278
@Suppress("deprecation")
277279
suspend fun waitOnInCallServiceToReachXCalls(targetCallCount: Int): Call? {
278280
var targetCall: Call?
@@ -325,6 +327,7 @@ object TestUtils {
325327
}
326328
}
327329

330+
@OptIn(ExperimentalAppActions::class)
328331
internal suspend fun waitOnInCallServiceToReachXCallCompats(targetCallCompatCount: Int):
329332
CallCompat? {
330333
var targetCallCompat: CallCompat? = null
@@ -394,6 +397,7 @@ object TestUtils {
394397
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE
395398
}
396399

400+
@ExperimentalAppActions
397401
fun getDefaultParticipant(): Participant {
398402
val p = Participant()
399403
p.id = 123
@@ -409,6 +413,7 @@ object TestUtils {
409413
)
410414
}
411415

416+
@ExperimentalAppActions
412417
fun printParticipants(participants: Set<Participant>, tag: String) {
413418
Log.i(LOG_TAG, tag + ": printParticipants: set size=${participants.size}")
414419
for (v in participants) {

Diff for: core/core-telecom/src/main/java/androidx/core/telecom/CallsManager.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ import androidx.core.telecom.internal.CallSessionLegacy
3939
import androidx.core.telecom.internal.JetpackConnectionService
4040
import androidx.core.telecom.internal.utils.Utils
4141
import androidx.core.telecom.internal.utils.Utils.Companion.remapJetpackCapsToPlatformCaps
42+
import androidx.core.telecom.util.ExperimentalAppActions
4243
import java.util.UUID
4344
import java.util.concurrent.CancellationException
4445
import java.util.concurrent.Executor
4546
import kotlin.coroutines.coroutineContext
4647
import kotlinx.coroutines.CompletableDeferred
48+
import kotlinx.coroutines.ExperimentalCoroutinesApi
4749
import kotlinx.coroutines.TimeoutCancellationException
4850
import kotlinx.coroutines.job
4951
import kotlinx.coroutines.withTimeout
@@ -71,6 +73,7 @@ class CallsManager constructor(context: Context) {
7173
// A single declared constant for a direct [Executor], since the coroutines primitives we invoke
7274
// from the associated callbacks will perform their own dispatch as needed.
7375
private val mDirectExecutor = Executor { it.run() }
76+
@ExperimentalAppActions
7477
// Capabilities to be set by the VOIP app which will be used in addCall.
7578
private var mCapabilities: MutableList<androidx.core.telecom.extensions.Capability> =
7679
mutableListOf()
@@ -295,7 +298,7 @@ class CallsManager constructor(context: Context) {
295298
* @throws CancellationException if the call failed to be added within 5000 milliseconds
296299
*/
297300
@RequiresPermission(value = "android.permission.MANAGE_OWN_CALLS")
298-
@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)
301+
@OptIn(ExperimentalCoroutinesApi::class, ExperimentalAppActions::class)
299302
@Suppress("ClassVerificationFailure")
300303
suspend fun addCall(
301304
callAttributes: CallAttributesCompat,
@@ -435,6 +438,7 @@ class CallsManager constructor(context: Context) {
435438
mCapabilities.clear()
436439
}
437440

441+
@ExperimentalAppActions
438442
private suspend fun pauseExecutionUntilCallIsReady_orTimeout(
439443
openResult: CompletableDeferred<*>,
440444
request: JetpackConnectionService.PendingConnectionRequest? = null
@@ -482,6 +486,7 @@ class CallsManager constructor(context: Context) {
482486
return mPhoneAccount
483487
}
484488

489+
@ExperimentalAppActions
485490
internal fun setVoipCapabilities(
486491
capabilities: List<androidx.core.telecom.extensions.Capability>
487492
) {

Diff for: core/core-telecom/src/main/java/androidx/core/telecom/extensions/ParticipantClientExtension.kt

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ internal fun CallCompat.addParticipantsSupport(
5858
}
5959

6060
// Allows the InCallService implementer to inspect state and perform requests to update state
61+
@ExperimentalAppActions
6162
internal interface ParticipantClientActions {
6263
val negotiatedActions: Set<Int>
6364
val isParticipantExtensionSupported: Boolean

Diff for: core/core-telecom/src/main/java/androidx/core/telecom/extensions/voip/VoipExtensionManager.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ import androidx.core.telecom.CallsManager
2727
import androidx.core.telecom.extensions.Capability
2828
import androidx.core.telecom.extensions.ICapabilityExchange
2929
import androidx.core.telecom.internal.CallChannels
30+
import androidx.core.telecom.util.ExperimentalAppActions
3031
import kotlin.coroutines.CoroutineContext
3132

3233
@RequiresApi(Build.VERSION_CODES.O)
33-
@androidx.annotation.OptIn(androidx.core.telecom.util.ExperimentalAppActions::class)
34+
@ExperimentalAppActions
3435
internal class VoipExtensionManager(
3536
private val context: Context,
3637
private val coroutineContext: CoroutineContext?,

Diff for: core/core-telecom/src/main/java/androidx/core/telecom/extensions/voip/VoipParticipantExtensionManager.kt

+3-5
Original file line numberDiff line numberDiff line change
@@ -321,20 +321,18 @@ internal class VoipParticipantExtensionManager(
321321
* be translated to backing fields so, internally, we need to resolve the APIs for each
322322
* CallControlScope using a delegate to mimic this behavior.
323323
*/
324+
@ExperimentalAppActions
324325
internal val CallControlScope.activeParticipant: MutableStateFlow<Participant?>?
325-
@ExperimentalAppActions
326326
@RequiresApi(Build.VERSION_CODES.O)
327327
get() = CallControlScopeExtensionSingleton.getInstance()
328328
.PARTICIPANT_DELEGATE[getCallId()]?.activeParticipantFlow
329-
329+
@ExperimentalAppActions
330330
internal val CallControlScope.participants: MutableStateFlow<Set<Participant>>?
331-
@ExperimentalAppActions
332331
@RequiresApi(Build.VERSION_CODES.O)
333332
get() = CallControlScopeExtensionSingleton.getInstance()
334333
.PARTICIPANT_DELEGATE[getCallId()]?.participantsFlow
335-
334+
@ExperimentalAppActions
336335
internal val CallControlScope.raisedHandParticipants: MutableStateFlow<Set<Participant>>?
337-
@ExperimentalAppActions
338336
@RequiresApi(Build.VERSION_CODES.O)
339337
get() = CallControlScopeExtensionSingleton.getInstance()
340338
.PARTICIPANT_DELEGATE[getCallId()]?.raisedHandParticipantsFlow

Diff for: core/core-telecom/src/main/java/androidx/core/telecom/internal/CallChannels.kt

+2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ package androidx.core.telecom.internal
1818

1919
import androidx.core.telecom.CallEndpointCompat
2020
import androidx.core.telecom.extensions.voip.VoipParticipantActionRequest
21+
import androidx.core.telecom.util.ExperimentalAppActions
2122
import kotlinx.coroutines.channels.Channel
2223

24+
@OptIn(ExperimentalAppActions::class)
2325
internal class CallChannels(
2426
val currentEndpointChannel: Channel<CallEndpointCompat> = Channel(Channel.UNLIMITED),
2527
val availableEndpointChannel: Channel<List<CallEndpointCompat>> = Channel(Channel.UNLIMITED),

0 commit comments

Comments
 (0)