History log of /packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ad54e7f053f00d6c77fe18c11cc5e7c5a7b8fb60 23-May-2016 Brad Ebinger <breadley@google.com> Add check for "Silent" Uri.EMPTY Ringtone Uri

Currently we do not check for the ringtone Uri Uri.Empty, which is
the "Silent" ringtone. Since we did not check for this case, we would
play a "Dinging" sound instead of nothing when we queried for the
Ringtone associated with the Uri.

This change checks to see if the Ringtone Uri is Uri.EMPTY before
playing it.

Change-Id: Iab51d43184f29caf58f5333a7c893c26cd9bca0a
Fix: 28912183
/packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.java
c9286f49d12769d775d8ad7a66f9117c49c71162 11-Mar-2016 Brad Ebinger <breadley@google.com> Update the Ringer to ring based on User/profile

The Telecom Ringer used to ignore the default ringer of secondary
users. We will now use the default ringer of the secondary users as well
as support custom contact ringtones for secondary users.

Bug: 18206079
Bug: 27568161
Change-Id: I31b8b226f852a84b11939ab77f6a8cb0e35e88b6
/packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.java
8c89b20bc84c06294bff803b3a6043992b613e76 25-Feb-2016 Hall Liu <hallliu@google.com> Move ringtone lookup to background

Obtaining a Ringtone object from an Uri can sometimes involve a disk
read. This change moves the lookup to the same thread that plays the
ringtone.

Bug: 27327098
Change-Id: I8091d73000414add97fe163f702cc4ed2ac612f8
/packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.java
d931a017a0abea32ad4485a91402b5f62b9ddb0e 21-Oct-2015 Brad Ebinger <breadley@google.com> Ringer unit tests added and minor refactoring to accommodate testing.

Change-Id: Ia176dff453e1876494e14d8403eb5a9ed3dd3865
/packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.java
f43ff474988d4b35c77e0834506d0e15111a4cf1 16-Sep-2015 Wenyi Wang <wenyiw@google.com> Modify play method to handle silent ringtone

Bug: 12800232
Change-Id: I4ab30c04e0c38c58c9bd04222cea730b4aaaecec
/packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.java
dcf7b1f6cdbf597f4e1da766eeb995a9cf9bc949 20-Nov-2014 Yorke Lee <yorkelee@google.com> Fix NPE if phone ringtone is set to None

Bug: 18418803
Change-Id: I50e5903cfe75da02e94a888e24c97d03cb7607c5
/packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.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/AsyncRingtonePlayer.java
b21c5daa6ce683d7f6a1605a50a7ae05c520309f 12-Sep-2014 Santos Cordon <santoscordon@google.com> Repeat ringtones every 3 seconds.

This repeats ringtones at multiples of 3 seconds. E.g., if the ringtone
is 2 seconds long it will repeat every 3 seconds, if it is 4 secs long
it will repeat every 6 seconds, if it is 7 secs long, it repeats every
9...you get the picture.

Bug: 17466554
Change-Id: I4cad6d03b92cde7d5d1652fc91834c7499c2960a
/packages/services/Telecomm/src/com/android/server/telecom/AsyncRingtonePlayer.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/AsyncRingtonePlayer.java