dd4f6df7bf726284b0747405307de54e0c0acabb |
|
10-Dec-2014 |
Andrew Lee <anwlee@google.com> |
Don't set settings titles for single SIM devices. The seemingly most straightforward way to accomplish this is pass a context into SubscriptionInfoHelper, and check TelephonyManager for the device SIM capability before setting any title. Leave the Context parameter in getIntent() because of how CallFeaturesSetting may be creating an intent for a different activity (handling the up arrow). Bug: 18692675 Change-Id: I689e0db066a16ba06bda6e0fd68b6d25e9c698b9
/packages/services/Telephony/src/com/android/phone/SubscriptionInfoHelper.java
|
9c1071fdb42947afd215b0f4f3e81f871b1ff581 |
|
09-Dec-2014 |
Tyler Gunn <tgunn@google.com> |
When voicemail number is unknown, show voicemail setup on notification click. 1. In NotificationMgr changed intent when no voicemail number is found so that it will trigger opening of the voicemail screen. 2. In CallFeaturesSetting added new intent extra to indicate we just want to open the voicemail settings. This intent is used by Google Voice, and I wanted to ensure that the code path for that case is not changed, hence the new extra. Bug: 17795834 Change-Id: I62b3d6c99558dc698565459aa0d43cd4efdd6fdd
/packages/services/Telephony/src/com/android/phone/SubscriptionInfoHelper.java
|
2fcb6c372c76a48b7af8f9b0dc7fd518698bbf77 |
|
04-Dec-2014 |
Andrew Lee <anwlee@google.com> |
Handle MSIM behavior for VM notifications and CFI. Implement correct behavior for voicemail notifications, also known as message waiting indicator (MWI) and call forwarding (CFI). - Don't instantiate CallNotifier with a Phone object. + Change updateMwi and updateCfi to take the subscription id as a parameter so the notification can be shown on a per-SIM basis. + Change phone state listener to be subscription-specific. + Register/unregister phone state listeners on subscription changes. + Update Cfi according to subscription-specific changes. + Use subscription ids as a tag on the voicemail/call forwarding notifications so they can be shown/canceled with greater precision. Tested: + Voicemail ringtone on Sprout for different SIMs. + Voicemail vibration on Sprout for different SIMs. + Call forwarding notifications on Sprout for different SIMs. + Remove/place SIM on Shamu to see notifications disappear/reappear. TBD: + Voicemail notifications just dial the voicemail schema right now. Need to ascertain whether we can dial a specific number, and what happens if the number is the same for different SIMs. Bug: 18232725 Change-Id: Ie15c3d640e8da217fa8778b2d9d904d76bf0c586
/packages/services/Telephony/src/com/android/phone/SubscriptionInfoHelper.java
|
0f3b5fcda1b76fbd6042f9a6f81f69d0b44bc3ee |
|
11-Nov-2014 |
Wink Saville <wink@google.com> |
Update SubscriptionManager API as per API council. bug: 17575308 Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
/packages/services/Telephony/src/com/android/phone/SubscriptionInfoHelper.java
|
5ed870cca68496757c2335d37d3818e9aa0006b6 |
|
29-Oct-2014 |
Andrew Lee <anwlee@google.com> |
Add MSIM support for FDN. Show title and get the Phone object to modify FDN settings for according to subscription.. + Add helper to provide common functionality for setting/getting extras, getting the appropriate phone for a given subscription id, and other miscellaneous things. + Show the subscription label in actionbar title of Call settings, FDN settings, and FDN list. I didn't do this for edit/delete because they have really long titles, and the context didn't seem necessary at that point. + Pass the subscription label/id along in intents to the various FDN setting activities. + Get the correct phone, so FDN setting changes are SIM-specific. + Take into account subscription id when providing a Uri for modifying FDN settings, so that FDN contacts can be modified on a per-sim basis. - Delete some unused strings. Bug: 18233666 Bug: 18232723 Bug: 18114923 Change-Id: I05c7149382adb7e7af36d38bab8a6875d5b20609
/packages/services/Telephony/src/com/android/phone/SubscriptionInfoHelper.java
|