diff options
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionService.java')
-rwxr-xr-x | telecomm/java/android/telecom/ConnectionService.java | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java index c5fc4365df7a..90f5074a20a6 100755 --- a/telecomm/java/android/telecom/ConnectionService.java +++ b/telecomm/java/android/telecom/ConnectionService.java @@ -2215,7 +2215,8 @@ public abstract class ConnectionService extends Service { findConnectionForAction(callId, "abort").onAbort(); } - private void answerVideo(String callId, int videoState) { + /** {@hide} */ + protected void answerVideo(String callId, int videoState) { Log.i(this, "answerVideo %s", callId); if (mConnectionById.containsKey(callId)) { findConnectionForAction(callId, "answer").onAnswer(videoState); @@ -2224,7 +2225,8 @@ public abstract class ConnectionService extends Service { } } - private void answer(String callId) { + /** {@hide} */ + protected void answer(String callId) { Log.i(this, "answer %s", callId); if (mConnectionById.containsKey(callId)) { findConnectionForAction(callId, "answer").onAnswer(); @@ -2283,7 +2285,8 @@ public abstract class ConnectionService extends Service { } } - private void hold(String callId) { + /** {@hide} */ + protected void hold(String callId) { Log.i(this, "hold %s", callId); if (mConnectionById.containsKey(callId)) { findConnectionForAction(callId, "hold").onHold(); @@ -2292,7 +2295,8 @@ public abstract class ConnectionService extends Service { } } - private void unhold(String callId) { + /** {@hide} */ + protected void unhold(String callId) { Log.i(this, "unhold %s", callId); if (mConnectionById.containsKey(callId)) { findConnectionForAction(callId, "unhold").onUnhold(); @@ -3348,7 +3352,8 @@ public abstract class ConnectionService extends Service { } } - private Connection findConnectionForAction(String callId, String action) { + /** {@hide} */ + protected Connection findConnectionForAction(String callId, String action) { if (callId != null && mConnectionById.containsKey(callId)) { return mConnectionById.get(callId); } @@ -3363,7 +3368,8 @@ public abstract class ConnectionService extends Service { return sNullConnection; } - private Conference findConferenceForAction(String conferenceId, String action) { + /** {@hide} */ + protected Conference findConferenceForAction(String conferenceId, String action) { if (mConferenceById.containsKey(conferenceId)) { return mConferenceById.get(conferenceId); } @@ -3409,7 +3415,8 @@ public abstract class ConnectionService extends Service { return ids; } - private Conference getNullConference() { + /** {@hide} */ + protected Conference getNullConference() { if (sNullConference == null) { sNullConference = new Conference(null) {}; } |