summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/ConnectionService.java
diff options
context:
space:
mode:
authorSukanya Rajkhowa <srajkh@codeaurora.org>2021-07-28 12:24:19 -0700
committerSukanya Rajkhowa <srajkh@codeaurora.org>2021-10-04 13:08:45 -0700
commit0cbb822889f3f1918c9e71bc998dc85ea3e79ef6 (patch)
tree94c9656b179f74dfb3a384a943266d317be315b4 /telecomm/java/android/telecom/ConnectionService.java
parent88329e285e19997e50736ada3de739837baa0f51 (diff)
DSDA Framework changes
- Add new event for RESUME fail case - Make certain ConnectionService methods protected Change-Id: Ib2a7cc13f6256fa3eef7d5dc77a6f66baa19e7ca CRs-Fixed: 3041636
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionService.java')
-rwxr-xr-xtelecomm/java/android/telecom/ConnectionService.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java
index 7cff44ea47b8..90f5074a20a6 100755
--- a/telecomm/java/android/telecom/ConnectionService.java
+++ b/telecomm/java/android/telecom/ConnectionService.java
@@ -2285,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();
@@ -2294,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();
@@ -3350,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);
}
@@ -3365,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);
}
@@ -3411,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) {};
}