History log of /packages/services/Telecomm/src/com/android/server/telecom/Ringer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe56961d07ff3ec92d3b265fe2fa706583d8c442 21-Oct-2014 Yorke Lee <yorkelee@google.com> Once responded to a call, remove it from list of ringing calls

Remove a call from mRingingCalls immediately once it is responded to.
This fixes an erroneous transition as described below
1) Call waiting is received
2) Call waiting is answered
3) Currently active call is put on hold
4) onForegroundCallChanged is called with the new call waiting, before it
goes to active
5) Ringtone is played in Ringer.startRingingOrCallWaiting
This CL ensures that if 4) happens, we do not erroneously transition to
AudioManager.MODE_RINGTONE.

Tested with the following scenarios to ensure that the ringtone/call waiting
tone is correctly sounded, and invalid audio mode transitions are not
encountered.

1) Multiple MT calls in a row
2) MT call + call waiting + reject
3) MT call + call waiting + answer
4) Conference call + call waiting + reject
5) Conference call + call waiting + answer

Bug: 18058600
Change-Id: I97cd798656cc56c937964fb1ebb3032c4cee4ed7
/packages/services/Telecomm/src/com/android/server/telecom/Ringer.java
f33991563d6abf6308dc562d05bcf95e50667678 13-Oct-2014 Yorke Lee <yorkelee@google.com> Don't play call waiting for first incoming call

The first incoming call causes the ringer to play call waiting
for a split second before the ringtone sounds because it is
not in the foreground at that point in time.

This causes issues with the audio layer as going to IN_CALL right before
MODE_RINGTONE results in a loss of outgoing audio for the first call.

Add a special check to avoid this scenario.

Bug: 17961223
Change-Id: I580f9c8fa21e375d0c1d6fada80aa23d1ecdb913
/packages/services/Telecomm/src/com/android/server/telecom/Ringer.java
91d43cf9c985cc5a83795f256ef5c46ebb8fbdc1 17-Sep-2014 Tyler Gunn <tgunn@google.com> Preparatory work to move Telecom to system service.

- Removed use of TelecomApp.getInstance() as context.
- Refactored singleton logic and initialization to support being
performed from a SystemService.
- Note: You will see some commented out references to
"import com.android.internal.R"; these must uncommented when the code
is moved to a system service.
- You will also notice in PhoneAccountRegistrar.java a comment block with:
"UNCOMMENT_FOR_MOVE_TO_SYSTEM_SERVICE"
The code in that comment block will replace the existing file path
code.
These were added as a convenience so that I can run a simple sed script
to make the required changes to the code in an automated manner once it
is moved to its new location.

Bug: 17364651
Change-Id: I8e80e9cffc481b688c10a2bca0b59f5ccf8e0fb2
/packages/services/Telecomm/src/com/android/server/telecom/Ringer.java
7cc70b4f0ad1064a4a0dce6056ad82b205887160 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ib7b20ba6348948afb391450b4eef8919261f3272
/packages/services/Telecomm/src/com/android/server/telecom/Ringer.java