a1a9601840e50e18ff8ca4be9b888e592287577b |
|
11-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Don't crash phone app when running as non-primary user. Rename PhoneApp to PhoneGlobals. Add new PhoneApp that only instantiates PhoneGlobals when running as the primary user. Add check in PhoneGlobals.getInstance() to immediately throw if called when there are no globals for that process. Add new PhoneGlobals.getInstanceIfPrimary() that doesn't throw; OtaStartupReceiver uses to abort early if receiving a BOOT_COMPLETED for a non-primary user. All of the other files here are just due to the rename of PhoneApp to PhoneGlobals. Change-Id: Ic3999d956198ac836cb6a07fa3c77f36c1754ea3
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
12c60e42f20d203c2f75c42f8978153005182eb1 |
|
12-Jul-2012 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Using SystemVibrator in the cases other than Ringer.java In ICS, Phone app was creating separate Vibrator instances in Ringer.java and CallNotifier.java, while in Jellybean they started relying on one single Vibrator Service. See also Id928ffef9a87e2563198240e91184cf59ecebbb1. It means vibrate()/cancel() calls from two files interfere with each other. When "Emergency tone" is set to "Vibrate" in Sound Setting (which is only available with CDMA devices), this causes unexpected trouble; the "Emergency tone" vibration is canceled immediately by Ringer's Vibrator#cancel() call. onPhoneStateChanged() is indirectly calling the method. This change stops using the Vibrator Service in the emergency vibration case, so that two Vibrator objects won't interfere with each other. TESTED (use CDMA phone): - Set "Emergency tone" to "Vibrate", and make a phone call to "911" -> The device should vibrate for hundreds of mills (even without a fix, it may vibrate for an instant, so need to check how long) Bug: 6794250 Change-Id: I69e6c3d99b14b3c50c57ff5d59ca42f4ea18024f
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
e37e5164b4eef1b9cc477b0d1656c3e09ae335fe |
|
30-May-2012 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Suppress vibration on silent mode. Bug: 6570480 Change-Id: I72e7e50edd61c0dc41c9877976a1e4a63e7a514c
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
aae548345025cea61210cff5f1d4201f3416712b |
|
08-May-2012 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Introduce "vibrate when ringing" Depends on I850d27629a75615647883fdaa2933f337c4824d1 See also Idb0453e187f8025565d6744cd774613531e7cb8b for Setting app side change. Bug: 6036529 Bug: 6393739 Change-Id: I3a4ed2bd5e4bde05dfb97c7bb20b9284d1c6f13f
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
a639e43e02e2b395285ccacabdb9c57943b486a1 |
|
08-May-2012 |
Eric Laurent <elaurent@google.com> |
Changes for new vibration policy. Do not rely anymore on deprecated method AudioManager.shouldVibrate(). TODO: remove dependency from AudioManager.setVibrateSetting() and AudioManager.getVibrateSetting() when Phone app settings for vibration policy are ready. Issue 6036529. Issue 6393739. Change-Id: I0903cd4972a5ad77f02634b91e2302f44b7cb73a
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
7281d4a0b89a8984e4be8ccd1756a00af4e4e102 |
|
13-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Get Vibrator from Context instead of using private API. Bug: 6334179 Change-Id: Id928ffef9a87e2563198240e91184cf59ecebbb1
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
78ad44009f2aecefa2547e40b4fb0a81b9be03c2 |
|
07-Jan-2012 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Rely on Java constructor to set default ringtone. Ringer#mCustomRingtoneUri must not be null and CallNotifier should initialize the Uri before calling Ringer#ring() with the default Uri. Bug 5527862 implies the default Uri may not be set in some rare case. Relying on constructor should avoid the issue from the beginning. Because the process won't be killed, we still need to reset the Uri to default everytime. TESTED: - receive a phone call from a contact without a custom ringtone. - receive a phone call from a contact with a custom ringtone. (Those tests are for checking if the current feature is working fine. Bug 5527862 looks a very rare edge case and thus hard to test) Bug: 5527862 Change-Id: I67c0bca9aa186a2986a91cc2baa5d7d57ce20b24
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
f0c4d0e94b7fa915bcfacd28ee432f8b3846511a |
|
10-May-2011 |
David Brown <dab@google.com> |
Singleton pattern code cleanup Fix a few of the phone app's singleton classes to be more explicit about their singleton-ness, by making the constructor private, and instead providing a public factory method that creates the singleton instance. TESTED: Basic telephony (including bluetooth) on crespo. Change-Id: Idb5bac1cf97a6864b898b09645779de214ac5266
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
a4b443115c1442c9d65ba58fcb667b0e025993de |
|
17-Aug-2010 |
Hung-ying Tyan <tyanh@google.com> |
Move PhoneUtils.setAudioMode(). As different audio modes need to be applied for different phone types, (for example, SIP call needs to be in MODE_NORMAL while GSM call in MODE_IN_CALL,) we move the logic to CallManager. A side benefit is that since CallManager knows the current phone state, PhoneUtils does not need to keep the audio control state (sAudioBehaviourState) anymore. The companion CL is at https://android-git/g/#change,61553 Change-Id: Ibb40e1853f2e5818b4b28c976f5756f567b3de41
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
992eb4d41e0dd7c1676a264c700be0a779536a7c |
|
25-Mar-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: If2986811870c3a64a19feb56c6d4d19eafd98a29
|
d614b529c8bb38332872992f787a820a461763a0 |
|
06-Sep-2009 |
Ian Peters <ipeters@gmail.com> |
Change the way the Phone app determines when to skip rings while ringing for incoming phone calls, to fix a problem where a long initial delay before the first ring (a busy phone) would cause the phone to needlessly skip successive rings. In short, the Phone app was considering the synthetic delay time as a period where it was actively ringing, causing the phone to not queue successive ring events triggered by the RIL (which themselves would have been delayed, so would not have overlapped). For a more thorough explanation, please see the writeup on http://code.google.com/p/android/issues/detail?id=3652
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
818128e431f475eace94335b7dce3bbbef642752 |
|
25-Nov-2009 |
Mike Lockwood <lockwood@android.com> |
Use IPowerManager.setAttentionLight() now that IHardwareService is gone. Change-Id: I4e2cd7567256d6d88b42108c63e3c4f3aaa71fdb Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
c79d6f38b9fa727875b6f860f3d0c5ed46ae32e2 |
|
30-Oct-2009 |
Eric Olsen <eolsen@android.com> |
Have jogball led flash blue if connected to bluetooth. Signed-off-by: Eric Olsen <eolsen@android.com>
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
7fe7f7e57aaa38290c37ab48867d34a279d198f3 |
|
21-Jul-2009 |
w00278 <w00278@motorola.com> |
CDMA OTA tone/vibrate and misc CDMA fixes 1. Remove OTA vibrate feature when OTA call ends. 2. Fix OTA issue: When All Sounds are in Silence Mode, OTA tone is still played. 3. Fix call waiting issue: Phone display does not Update after Incoming call is ignored. 4. Add TTY support: sync TTY settings from AP to BP NV after phone completes powerup.
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
af684393e2c6d0c051b9d5a189c2cd1de2506831 |
|
16-Jul-2009 |
Wink Saville <wink@google.com> |
Rebase against latest changes.
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
c51f5ac3de9db72a11dfbb1cefd8cc72f7a0fc7c |
|
02-Apr-2009 |
Wink Saville <> |
AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger. Automated import of CL 144245
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
29c19f0620d86f4c2636fed9b33bf4f0b2108f56 |
|
25-Mar-2009 |
David Brown <> |
Automated import from //branches/master/...@140616,140616
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
4b8337277ec2e375c3536b97c40e6617a7b12990 |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
b16363f5fc191b769e88c364243e34b92eb22688 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
a412e78a7bba553a66503370b4c618db83528916 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
c563f5594dc6b2ffc0c3bf74ac03108bb168abd6 |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
0fd72beba9fbbdbdbb516ce3ea0eb707818ab748 |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/packages/apps/Phone/src/com/android/phone/Ringer.java
|
abc47110c17fa8e8cb6161bc045e87f31eeb7a1c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/Phone/src/com/android/phone/Ringer.java
|