forked from mirror/monocles_chat_clean
Fix up
This commit is contained in:
parent
db9d5bd8b9
commit
eff3b2a241
2 changed files with 6 additions and 6 deletions
|
@ -228,7 +228,7 @@ public class CallIntegrationConnectionService extends ConnectionService {
|
|||
}
|
||||
}
|
||||
|
||||
private static void registerPhoneAccount(final Context context, final Account account) {
|
||||
static void registerPhoneAccount(final Context context, final Account account) {
|
||||
try {
|
||||
registerPhoneAccountOrThrow(context, account);
|
||||
} catch (final IllegalArgumentException e) {
|
||||
|
|
|
@ -708,12 +708,12 @@ public class WebRTCWrapper {
|
|||
}
|
||||
|
||||
public boolean applyDtmfTone(String tone) {
|
||||
if (toneManager == null || peerConnection == null || localAudioTrack == null) {
|
||||
//if (toneManager == null || peerConnection == null || localAudioTrack == null) {
|
||||
return false;
|
||||
}
|
||||
localAudioTrack.rtpSender.dtmf().insertDtmf(tone, TONE_DURATION, 100);
|
||||
toneManager.startTone(TONE_CODES.get(tone), TONE_DURATION);
|
||||
return true;
|
||||
//}
|
||||
//localAudioTrack.rtpSender.dtmf().insertDtmf(tone, TONE_DURATION, 100);
|
||||
//toneManager.startTone(TONE_CODES.get(tone), TONE_DURATION);
|
||||
//return true;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
|
|
Loading…
Reference in a new issue