Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
68f738b
[Release][Calling] Update the version and changelog (#1161)
ShaunaSong Apr 10, 2025
eb8eddd
[Release][Calling] Update the changelog date (#1162)
ShaunaSong Apr 10, 2025
078615f
[Calling][Refactor] Remove extra captions (#1163)
ShaunaSong Apr 17, 2025
a378301
[Calling][Release] Update the release version (#1164)
ShaunaSong Apr 18, 2025
b0ebfc8
[Calling][Refactor] Disable the beta feature (#1165)
ShaunaSong Apr 18, 2025
f69ba34
[Calling]Update contribution guide (#1167)
ShaunaSong Apr 21, 2025
61d2970
Merge branch 'main' into refactor/fix-conflicts-1.14.0
ShaunaSong Apr 21, 2025
ab16f6e
[Calling][Release] Merge main to release branch
ShaunaSong Apr 21, 2025
2c0c552
[Release] Merge AzureCommunicationUICalling 1.14.0
ShaunaSong Apr 21, 2025
d9fa0b9
[ReadMe] Updating telemetry disclosure
JoshuaLai Jun 3, 2025
daa699d
[ReadMe] Updating telemetry disclosure
JoshuaLai Jun 3, 2025
74bbb36
[Release][Calling] Increment version, update changelog (#1174)
ShaunaSong Jun 9, 2025
bce624e
Merge branch 'main' into release/calling-1.14.1
ShaunaSong Jun 9, 2025
0d86e22
[Calling][Bug] Fix dialog background
ShaunaSong Jun 11, 2025
194da93
[Release] Merge AzureCommunicationUICalling 1.14.1
ShaunaSong Jun 11, 2025
1f608ff
[Calling][Refactor] Increment version, update changelog
ShaunaSong Jun 11, 2025
b7df5fc
[Calling][Release] Update changelog date
ShaunaSong Jun 17, 2025
75fc189
Merge branch 'main' into release/calling-1.14.2
ShaunaSong Jun 18, 2025
413cf59
[Release] Merge AzureCommunicationUICalling 1.14.2
ShaunaSong Jun 18, 2025
77350b3
ReadMe updates (#1178)
vhuseinova-msft Jul 15, 2025
0536edf
updates for mic support
ahammer Aug 14, 2025
ab9152c
Merge branch 'main' into adamhammer/fix_wired_headset_selection
pavelprystinka Aug 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Included in this repository is a demo of using Mobile UI Library to start or joi

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. Also, please check our [Contribution Policy](docs/contributing-guide.md).

## Data Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. The azure-communication-ui-calling and azure-communication-ui-chat library collects information about users and their use of the software that cannot be opted out of. Do not use these libraries if you wish to avoid telemetry. You can learn more about data collection and use in the help documentation and Microsoft’s [privacy statement](https://go.microsoft.com/fwlink/?LinkID=824704). For more information on the data collected by the Azure SDK, please visit the [Telemetry Policy](https://learn.microsoft.com/azure/communication-services/concepts/privacy) page.

## Community Help and Support

If you find a bug or have a feature request, please raise the issue on [GitHub Issues](https://github.com/Azure/communication-ui-library-android/issues).
Expand Down
4 changes: 2 additions & 2 deletions azure-communication-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

ext {
call_library_version_name = '1.14.0'
call_library_version_name = '1.14.2'
chat_library_version_name = '1.0.0-beta.3'

ui_library_version_code = getVersionCode()
Expand Down Expand Up @@ -206,4 +206,4 @@ tasks.register("clean", Delete) {
delete rootProject.buildDir
}

apply from: file('java_compile_flags.gradle')
apply from: file('java_compile_flags.gradle')
4 changes: 2 additions & 2 deletions azure-communication-ui/calling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Latest Release

- [1.11.0 release](https://github.com/Azure/communication-ui-library-android/releases/tag/calling-v1.11.0)
- [Latest release](https://github.com/Azure/communication-ui-library-android/releases?q=calling&expanded=true)

## Getting Started

Expand All @@ -27,7 +27,7 @@ android {
```groovy
dependencies {
...
implementation 'com.azure.android:azure-communication-ui-calling:1.11.0'
implementation 'com.azure.android:azure-communication-ui-calling:+'
...
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ internal open class BaseUiTest {
internal val startCallString = R.string.azure_communication_ui_calling_setup_view_start_call
internal val callingString = R.string.azure_communication_ui_calling_call_view_calling
internal val audioTextView = R.id.azure_communication_ui_participant_audio_view_display_name
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
internal val callDurationTextView = R.id.azure_communication_ui_call_header_duration
/* </CALL_START_TIME> */
</CALL_START_TIME> */

// Support Form
internal val sendButtonId = R.id.azure_communication_ui_send_button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ import java.util.concurrent.atomic.AtomicBoolean
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import java.io.File
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
import java.util.Date
/* </CALL_START_TIME> */
</CALL_START_TIME> */

internal interface LocalStreamEventObserver {
fun onSwitchSource(deviceInfo: VideoDeviceInfo)
Expand Down Expand Up @@ -454,7 +454,7 @@ internal class TestCallingSDK(private val callEvents: CallEvents, coroutineConte
return remoteParticipantsInfoModelSharedFlow
}

/* <CALL_START_TIME> */
/* <CALL_START_TIME>
override fun getCallStartTimeSharedFlow(): SharedFlow<Date> {
var date = Date()
return MutableSharedFlow<Date>().apply {
Expand All @@ -467,7 +467,7 @@ internal class TestCallingSDK(private val callEvents: CallEvents, coroutineConte
override fun getCallStartTime(): Date? {
return Date()
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */

override fun getCamerasCountStateFlow(): StateFlow<Int> = getCameraCountStateFlow
override fun admitAll(): CompletableFuture<CallCompositeLobbyErrorCode?> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ package com.azure.android.communication.ui.calling

import androidx.test.platform.app.InstrumentationRegistry
import com.azure.android.communication.BaseUiTest
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
import com.azure.android.communication.assertDisplayed
/* </CALL_START_TIME> */
</CALL_START_TIME> */
import com.azure.android.communication.assertTextDisplayed
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
import com.azure.android.communication.assertViewNotDisplayed
/* </CALL_START_TIME> */
</CALL_START_TIME> */
import com.azure.android.communication.common.CommunicationTokenCredential
import com.azure.android.communication.common.CommunicationTokenRefreshOptions
import com.azure.android.communication.tapOnScreen
Expand Down Expand Up @@ -297,7 +297,7 @@ internal class CustomInfoHeaderTest : BaseUiTest() {
assertTextDisplayed(subtitle)
}

/* <CALL_START_TIME> */
/* <CALL_START_TIME>
@OptIn(ExperimentalCoroutinesApi::class)
@Test
fun testCallDurationIsDisplayed() = runTest {
Expand Down Expand Up @@ -367,5 +367,5 @@ internal class CustomInfoHeaderTest : BaseUiTest() {
// Assert duration displayed.
assertDisplayed(callDurationTextView)
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
import java.util.Collection;
import java.util.Collections;

/* <CALL_START_TIME> */
/* <CALL_START_TIME>
import java.util.Date;
/* </CALL_START_TIME> */
</CALL_START_TIME> */
import java.util.List;

import java.util.UUID;
Expand Down Expand Up @@ -619,39 +619,39 @@ public void removeOnRemoteParticipantLeftEventHandler(
*
* @param eventHandler The {@link CallCompositeEventHandler}.
*/
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
public void addOnCallStartTimeUpdatedEventHandler(
final CallCompositeEventHandler<Date> eventHandler) {
configuration.getCallCompositeEventsHandler().addOnCallStartTimeUpdatedEventHandler(eventHandler);
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */

/**
* Remove {@link CallCompositeEventHandler}.
*
* @param eventHandler The {@link CallCompositeEventHandler}.
*/
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
public void removeOnCallStartTimeUpdatedEventHandler(
final CallCompositeEventHandler<Date> eventHandler) {
configuration.getCallCompositeEventsHandler().removeOnCallStartTimeUpdatedEventHandler(eventHandler);
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */

/**
* Get Call Start Time.
*
* @return {@link Date}
*/
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
public Date getCallStartTime() {
final DependencyInjectionContainer container = diContainer;
if (container != null) {
return container.getCallingService().getCallStartTime();
}
return null;
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */

/**
* Add {@link CallCompositeEventHandler}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import com.azure.android.communication.ui.calling.models.CallCompositeAudioSelec
import com.azure.android.communication.ui.calling.models.CallCompositeIncomingCallCancelledEvent
import com.azure.android.communication.ui.calling.models.CallCompositeIncomingCallEvent
import com.azure.android.communication.ui.calling.models.CallCompositeRemoteParticipantLeftEvent
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
import java.util.Date
/* </CALL_START_TIME> */
</CALL_START_TIME> */

internal class CallCompositeEventsHandler {
// mutableSet does preserve element iteration order
Expand Down Expand Up @@ -45,10 +45,10 @@ internal class CallCompositeEventsHandler {
private val incomingCallCancelledEventHandlers =
mutableSetOf<CallCompositeEventHandler<CallCompositeIncomingCallCancelledEvent>>()

/* <CALL_START_TIME> */
/* <CALL_START_TIME>
private val callStartTimeUpdatedEventHandlers =
mutableSetOf<CallCompositeEventHandler<Date>>()
/* </CALL_START_TIME> */
</CALL_START_TIME> */

fun getOnErrorHandlers() = errorHandlers.asIterable()

Expand Down Expand Up @@ -134,7 +134,7 @@ internal class CallCompositeEventsHandler {

fun getOnIncomingCallHandlers() = incomingCallEventHandlers.asIterable()

/* <CALL_START_TIME> */
/* <CALL_START_TIME>
fun getOnCallStartTimeUpdatedHandlers() = callStartTimeUpdatedEventHandlers.asIterable()

fun addOnCallStartTimeUpdatedEventHandler(eventHandler: CallCompositeEventHandler<Date>) {
Expand All @@ -144,5 +144,5 @@ internal class CallCompositeEventsHandler {
fun removeOnCallStartTimeUpdatedEventHandler(eventHandler: CallCompositeEventHandler<Date>) {
callStartTimeUpdatedEventHandlers.remove(eventHandler)
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
public final class CallCompositeCallScreenHeaderViewData {
CallCompositeEventHandler<String> titleChangedEventHandler;
CallCompositeEventHandler<String> subtitleChangedEventHandler;
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
CallCompositeEventHandler<Boolean> showCallDurationChangedEventHandler;
/* </CALL_START_TIME> */
</CALL_START_TIME> */

private String title;
private String subtitle;
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
private Boolean showCallDuration = true;
/* </CALL_START_TIME> */
</CALL_START_TIME> */
private List<CallCompositeCustomButtonViewData> customButtons = new ArrayList<>();
/**
* Create a {@link CallCompositeCallScreenHeaderViewData} object.
Expand Down Expand Up @@ -94,13 +94,13 @@ public List<CallCompositeCustomButtonViewData> getCustomButtons() {
return customButtons;
}

/* <CALL_START_TIME> */
/**
/* <CALL_START_TIME>
\**
* Set the show call duration.
*
* @param showCallDuration The show call duration.
* @return The {@link CallCompositeCallScreenHeaderViewData} object itself.
*/
*\
public CallCompositeCallScreenHeaderViewData setShowCallDuration(
final Boolean showCallDuration) {
this.showCallDuration = showCallDuration;
Expand All @@ -110,13 +110,13 @@ public CallCompositeCallScreenHeaderViewData setShowCallDuration(
return this;
}

/**
\**
* Get the show call duration.
*
* @return {@link Boolean} The show call duration.
*/
*\
public Boolean getShowCallDuration() {
return showCallDuration;
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ internal fun CallCompositeCallScreenHeaderViewData.setSubtitleChangedEventHandle
internal fun CallCompositeCallScreenHeaderViewData.setTitleChangedEventHandler(handler: CallCompositeEventHandler<String?>) {
this.titleChangedEventHandler = handler
}
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
internal fun CallCompositeCallScreenHeaderViewData.setShowCallDurationChangedEventHandler(handler: CallCompositeEventHandler<Boolean?>) {
this.showCallDurationChangedEventHandler = handler
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */

internal fun createButtonClickEvent(
context: Context,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ internal class CallingViewModel(
state.buttonState,
isOverlayDisplayedOverGrid(state),
this::requestCallEndOnBackPressed,
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
state.callState.callStartTime,
/* </CALL_START_TIME> */
</CALL_START_TIME> */
)

audioDeviceListViewModel.init(
Expand Down Expand Up @@ -333,9 +333,9 @@ internal class CallingViewModel(
state.callScreenInfoHeaderState,
state.buttonState,
isOverlayDisplayedOverGrid(state),
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
state.callState.callStartTime,
/* </CALL_START_TIME> */
</CALL_START_TIME> */
state.visibilityState.status,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ internal class CaptionsListView(

val negativeButton = dialog.getButton(AlertDialog.BUTTON_NEGATIVE)
negativeButton.setBackgroundResource(R.drawable.azure_communication_ui_calling_image_button)

dialog.window?.setBackgroundDrawableResource(R.color.azure_communication_ui_calling_color_bottom_drawer_background)
}
dialog.show()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ internal class InfoHeaderView : ConstraintLayout {
private lateinit var headerView: View
private lateinit var participantNumberText: TextView
private lateinit var subtitleText: TextView
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
private lateinit var callDurationText: TextView
/* </CALL_START_TIME> */
</CALL_START_TIME> */
private lateinit var displayParticipantsImageButton: ImageButton
private lateinit var backButton: ImageButton
private lateinit var customButton1: ImageButton
Expand All @@ -45,9 +45,9 @@ internal class InfoHeaderView : ConstraintLayout {
participantNumberText =
findViewById(R.id.azure_communication_ui_call_participant_number_text)
subtitleText = findViewById(R.id.azure_communication_ui_call_header_subtitle)
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
callDurationText = findViewById(R.id.azure_communication_ui_call_header_duration)
/* </CALL_START_TIME> */
</CALL_START_TIME> */
displayParticipantsImageButton =
findViewById(R.id.azure_communication_ui_call_bottom_drawer_button)
displayParticipantsImageButton.setOnClickListener {
Expand Down Expand Up @@ -145,7 +145,7 @@ internal class InfoHeaderView : ConstraintLayout {
updateCustomButton(button, customButton2)
}
},
/* <CALL_START_TIME> */
/* <CALL_START_TIME>
{
infoHeaderViewModel.getDisplayCallDurationFlow().collect {
callDurationText.isVisible = it
Expand All @@ -156,7 +156,7 @@ internal class InfoHeaderView : ConstraintLayout {
callDurationText.text = it
}
}
/* </CALL_START_TIME> */
</CALL_START_TIME> */
)
}

Expand Down
Loading
Loading