Index: webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
index b50935b809d19edc4db5d9c6ca51ccac082bab65..e2f130663bf77425414eb9fb5a3734fe991ebd92 100644 |
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
@@ -558,24 +558,11 @@ |
@Override |
public void run() { |
if (peerConnectionClient == null) { |
- Log.e(TAG, "Received ICE candidate for a non-initialized peer connection."); |
+ Log.e(TAG, |
+ "Received ICE candidate for non-initilized peer connection."); |
return; |
} |
peerConnectionClient.addRemoteIceCandidate(candidate); |
- } |
- }); |
- } |
- |
- @Override |
- public void onRemoteIceCandidatesRemoved(final IceCandidate[] candidates) { |
- runOnUiThread(new Runnable() { |
- @Override |
- public void run() { |
- if (peerConnectionClient == null) { |
- Log.e(TAG, "Received ICE candidate removals for a non-initialized peer connection."); |
- return; |
- } |
- peerConnectionClient.removeRemoteIceCandidates(candidates); |
} |
}); |
} |
@@ -631,18 +618,6 @@ |
} |
@Override |
- public void onIceCandidatesRemoved(final IceCandidate[] candidates) { |
- runOnUiThread(new Runnable() { |
- @Override |
- public void run() { |
- if (appRtcClient != null) { |
- appRtcClient.sendLocalIceCandidateRemovals(candidates); |
- } |
- } |
- }); |
- } |
- |
- @Override |
public void onIceConnected() { |
final long delta = System.currentTimeMillis() - callStartedTimeMs; |
runOnUiThread(new Runnable() { |