History log of /packages/services/Telecomm/src/com/android/server/telecom/RingtoneFactory.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0db1bed8dbd759bb90542215918650c5080e8e3d 18-Jan-2017 Hall Liu <hallliu@google.com> Don't acquire audio focus if no ringtone will play am: a4ae7509ef am: 4408fc1df3 am: c02437ee86
am: 1bde2c113a

Change-Id: I7d81713cf29d1475301b3db5eebcfbb6fdf1805a
a4ae7509ef40502b7ad5f63c882a616dbcc4625a 13-Jan-2017 Hall Liu <hallliu@google.com> Don't acquire audio focus if no ringtone will play

When the system default ringtone is set to "None", don't acquire audio
focus so as to not interrupt music.

Change-Id: I758df49c954281c91fdeb4f6952b9ccebd0fe1ff
Fix: 33449128
Test: manual testing
/packages/services/Telecomm/src/com/android/server/telecom/RingtoneFactory.java
953e1af643b66df6f931d76c23bcc54147668cd4 06-Oct-2016 Brad Ebinger <breadley@google.com> Switch to using android.telecom.Log in Telecom

Sorry.

Test: All affected unit tests still pass.
Bug: 26571395
Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/RingtoneFactory.java
a3eccfee788c3ac3c831a443b085b141b39bb63d 06-Oct-2016 Brad Ebinger <breadley@google.com> Switch to using android.telecom.Log in Telecom

Sorry.
CP from: https://android-review.googlesource.com/#/c/287332/

Test: Added unit tests for Log Sessions and Events. All other affected
unit tests still pass.
Bug: 26571395
Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/RingtoneFactory.java
46fdd985e8ab7e9fe31dfd8c2870f7c70ba8babc 06-Sep-2016 Robin Lee <rgl@google.com> Fix broken System.getStringForUser

This makes work ringtones work as intended when the personal side has
'none' set as a ringtone.

That was failing because this code used to quietly return the answer
for the primary profile no matter what the arguments were, because
the default 3rd argument is UserHandle.myUserId().

We should add a warning against this, or alternatively we should fix
the default argument in the next release after thorough testing.

Bug: 30658854
Change-Id: I7ce702021e45978add17d26244c4f90f8ecdcefc
/packages/services/Telecomm/src/com/android/server/telecom/RingtoneFactory.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/RingtoneFactory.java
5e63953ba86bc852fc6a9be0f6e1006c6e1446b8 09-Mar-2016 Brad Ebinger <breadley@google.com> Revert "Correctly play the ringtone set by secondary users"

This reverts commit 39af15e6154255293b01784b305eeda9f3dad399.

Change-Id: I8b3d9356f9df3d840082736b85282bb903d6869f
/packages/services/Telecomm/src/com/android/server/telecom/RingtoneFactory.java
39af15e6154255293b01784b305eeda9f3dad399 04-Mar-2016 Brad Ebinger <breadley@google.com> Correctly play the ringtone set by secondary users

Correctly play the ringtone set by secondary users instead of always
playing the ringtone set by the primary user.

Bug: 18206079
Change-Id: If98701fc5e927d035d1bac5ee1b904f8964e80b5
/packages/services/Telecomm/src/com/android/server/telecom/RingtoneFactory.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/RingtoneFactory.java