Loading testapps/src/com/android/server/telecom/testapps/TestConnectionService.java +0 −15 Original line number Diff line number Diff line Loading @@ -79,17 +79,6 @@ public class TestConnectionService extends ConnectionService { private final class TestConference extends Conference { private final Connection.Listener mConnectionListener = new Connection.Listener() { @Override public void onDestroyed(Connection c) { removeConnection(c); if (getConnections().size() == 0) { setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); destroy(); } } }; public TestConference(Connection a, Connection b) { super(null); setConnectionCapabilities( Loading @@ -100,9 +89,6 @@ public class TestConnectionService extends ConnectionService { addConnection(a); addConnection(b); a.addConnectionListener(mConnectionListener); b.addConnectionListener(mConnectionListener); a.setConference(this); b.setConference(this); Loading @@ -122,7 +108,6 @@ public class TestConnectionService extends ConnectionService { if (getConnections().contains(connection)) { connection.setConference(null); removeConnection(connection); connection.removeConnectionListener(mConnectionListener); } } Loading Loading
testapps/src/com/android/server/telecom/testapps/TestConnectionService.java +0 −15 Original line number Diff line number Diff line Loading @@ -79,17 +79,6 @@ public class TestConnectionService extends ConnectionService { private final class TestConference extends Conference { private final Connection.Listener mConnectionListener = new Connection.Listener() { @Override public void onDestroyed(Connection c) { removeConnection(c); if (getConnections().size() == 0) { setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); destroy(); } } }; public TestConference(Connection a, Connection b) { super(null); setConnectionCapabilities( Loading @@ -100,9 +89,6 @@ public class TestConnectionService extends ConnectionService { addConnection(a); addConnection(b); a.addConnectionListener(mConnectionListener); b.addConnectionListener(mConnectionListener); a.setConference(this); b.setConference(this); Loading @@ -122,7 +108,6 @@ public class TestConnectionService extends ConnectionService { if (getConnections().contains(connection)) { connection.setConference(null); removeConnection(connection); connection.removeConnectionListener(mConnectionListener); } } Loading