remove CallControl#close()
Clients cannot make CallControl a final object inside their
representation of a Call object and therefore auto-closeable cannot be
called.
bug: 265074967
Test: none
Change-Id: Ie91db3a249711703f1665a39c78981ac4deb9317
diff --git a/tests/src/com/android/server/telecom/tests/CallControlTest.java b/tests/src/com/android/server/telecom/tests/CallControlTest.java
index 279fcc8..2613206 100644
--- a/tests/src/com/android/server/telecom/tests/CallControlTest.java
+++ b/tests/src/com/android/server/telecom/tests/CallControlTest.java
@@ -75,17 +75,4 @@
control.setInactive(Runnable::run, result -> {
}));
}
-
- @Test
- public void testClose() {
- // GIVEN
- CallControl control = new CallControl(CALL_ID_1, mICallControl, mRepository, mHandle);
-
- // WHEN
- control.close();
-
- // THEN
- verify(mRepository, times(1))
- .removeCallFromServiceWrapper(mHandle, CALL_ID_1);
- }
}