diff options
author | Sukanya Rajkhowa <srajkh@codeaurora.org> | 2021-07-28 12:24:19 -0700 |
---|---|---|
committer | Sukanya Rajkhowa <srajkh@codeaurora.org> | 2021-10-04 13:08:45 -0700 |
commit | 0cbb822889f3f1918c9e71bc998dc85ea3e79ef6 (patch) | |
tree | 94c9656b179f74dfb3a384a943266d317be315b4 /telecomm/java/android/telecom/ConnectionService.java | |
parent | 88329e285e19997e50736ada3de739837baa0f51 (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-x | telecomm/java/android/telecom/ConnectionService.java | 15 |
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) {}; } |