From af1b296a41f0b6e3af34e9c2c73bc1029bfa8b2a Mon Sep 17 00:00:00 2001 From: Santos Cordon Date: Thu, 16 Oct 2014 19:23:54 -0700 Subject: [PATCH] Add hidden method to access a connection's service. This change exposes a method that is used by the actual fix here: I4e4789c044d9e3614f42143cfa6053881a6d109b Bug: 17962996 Change-Id: Iec3795ea372634120c71b0a80ee046e372569ecf --- telecomm/java/android/telecom/Connection.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index b5f66926d8c03..4c1f75f15fd14 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -900,6 +900,13 @@ public abstract class Connection { } } + /** + * @hide + */ + public final ConnectionService getConnectionService() { + return mConnectionService; + } + /** * Sets the conference that this connection is a part of. This will fail if the connection is * already part of a conference call. {@link #resetConference} to un-set the conference first.