Add hold support to Telecomm service
Bug: 13169202
Change-Id: Ic2c1989de41c91d237841581e6fa531cb71d4eed
diff --git a/src/com/android/telecomm/InCallController.java b/src/com/android/telecomm/InCallController.java
index 4da9190..4f863c5 100644
--- a/src/com/android/telecomm/InCallController.java
+++ b/src/com/android/telecomm/InCallController.java
@@ -141,6 +141,17 @@
}
}
+ void markCallAsOnHold(String callId) {
+ try {
+ if (mInCallService != null) {
+ Log.i(this, "Mark call as HOLD: %s", callId);
+ mInCallService.setOnHold(callId);
+ }
+ } catch (RemoteException e) {
+ Log.e(this, e, "Exception attempting to markCallAsHeld.");
+ }
+ }
+
/**
* Unbinds an existing bound connection to the in-call app.
*/