summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/ConnectionService.java
diff options
context:
space:
mode:
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionService.java')
-rwxr-xr-xtelecomm/java/android/telecom/ConnectionService.java21
1 files changed, 14 insertions, 7 deletions
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java
index bce6809ef32d..19585c90fa7d 100755
--- a/telecomm/java/android/telecom/ConnectionService.java
+++ b/telecomm/java/android/telecom/ConnectionService.java
@@ -2216,7 +2216,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);
@@ -2225,7 +2226,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();
@@ -2284,7 +2286,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();
@@ -2293,7 +2296,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();
@@ -3366,7 +3370,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);
}
@@ -3381,7 +3386,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);
}
@@ -3427,7 +3433,8 @@ public abstract class ConnectionService extends Service {
return ids;
}
- private Conference getNullConference() {
+ /** {@hide} */
+ protected Conference getNullConference() {
if (sNullConference == null) {
sNullConference = new Conference(null) {};
}