Merge "Rename setDestroy() to destroy()" into lmp-dev
diff --git a/tests/src/com/android/telecomm/testapps/TestConnectionService.java b/tests/src/com/android/telecomm/testapps/TestConnectionService.java
index fcff0a3..8f02b9f 100644
--- a/tests/src/com/android/telecomm/testapps/TestConnectionService.java
+++ b/tests/src/com/android/telecomm/testapps/TestConnectionService.java
@@ -75,7 +75,7 @@
public void onDisconnected(RemoteConnection connection, int cause, String message) {
setDisconnected(cause, message);
destroyCall(TestConnection.this);
- setDestroyed();
+ destroy();
}
@Override
@@ -128,7 +128,7 @@
@Override
public void onDestroyed(RemoteConnection connection) {
- setDestroyed();
+ destroy();
}
};
@@ -165,7 +165,7 @@
mRemoteConnection.removeListener(mProxyListener);
} else {
destroyCall(this);
- setDestroyed();
+ destroy();
}
}
@@ -188,7 +188,7 @@
} else {
setDisconnected(DisconnectCause.LOCAL, null);
destroyCall(this);
- setDestroyed();
+ destroy();
}
}
@@ -210,7 +210,7 @@
} else {
setDisconnected(DisconnectCause.INCOMING_REJECTED, null);
destroyCall(this);
- setDestroyed();
+ destroy();
}
}