Skip to content

Commit 54d2b31

Browse files
committed
Mark android call on hold when use hold the call
1 parent 10a062f commit 54d2b31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

android/src/main/java/io/wazo/callkeep/VoiceConnectionService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,15 @@ public void onAbort() {
155155
@Override
156156
public void onHold() {
157157
super.onHold();
158+
connection.setOnHold();
158159

159160
sendCallRequestToActivity(ACTION_HOLD_CALL, null);
160161
}
161162

162163
@Override
163164
public void onUnhold() {
164165
super.onUnhold();
166+
connection.setActive();
165167

166168
sendCallRequestToActivity(ACTION_UNHOLD_CALL, null);
167169
}

0 commit comments

Comments
 (0)