b29425b49c3ed353a114291712ef4d484ef645c5 |
|
22-Sep-2016 |
Ta-wei Yen <twyen@google.com> |
Disable MWI suppression if VVM cannot be activated MWI is the traditional voicemail notification which should be suppressed if visual voicemail is active. NotificationMgr.updateMwi() currently checks the CONFIGURATION_STATE to suppress the MWI, but there are several issues. b/31229016 is a bug that when the device boots the configuration state will be cleared and the MWI for voicemail that arrives when the device is offline will be cleared, even if the account cannot be activated. A full solution will be adding a setMwiEnabled() method and stop checking the configuration state, but that is too risky at this moment (ag/1467545). This is a temporary workaround to shut down the configuration state check if visual voicemail cannot be activated. + Don't clear MWI when signal is restored. Checking the notification state to hide MWI is obsolete in ag/1333776 Change-Id: I03b7e5cde2aa7ad4c1a31526eaf63d6832717e0a Fixes: 31229016
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
41fb43ee2ee41c73fab478afb4b270fff9f276c7 |
|
18-Aug-2016 |
Ta-wei Yen <twyen@google.com> |
Fix MWI missing on blocked VVM3 SIM Previously MWI will be suppressed if the notification channel state (phone signal) is active. This will only work if VVM is fully active or fully disabled. In VVM3 there is a new state that the VVM client is enabled but the carrier has blocked the service. The notification channel state will be active, but VVM SMS will not be sent and MWI will continue as usual and mistakenly be suppressed by VVM client. After this CL, instead of checking the notification state to suppress MWI, the configuration state which determines if the service is actually active will be used. Change-Id: Id55a88ff3c188113f1f40f56503d2b61dd5c0c40 Fixes: 30883795
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
02f9837ea7eb92b85809218815c06d39e2bcbef0 |
|
27-May-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "DO NOT MERGE Fix wrong voice mail ringtone for secondary SIM." into nyc-mr1-dev
|
9b37a873360aedd575d7ed189939fb0ad9f9251c |
|
27-May-2016 |
Ta-wei Yen <twyen@google.com> |
DO NOT MERGE Fix wrong voice mail ringtone for secondary SIM. Cherry-picked from https://android-review.googlesource.com/#/c/217340/ Reproduce steps: 1. Android One with Dual SIM. 2. Set different ringtone for both voice mail. 3. SIM2 receives a voice mail but ring tone is SIM1's. Solution: The ring tone URI for voice mail is from default phone object, change phone object to the right one. Change-Id: I497b681a697456c84aea5f71b68419b3c4afac2d
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
fb4f0502ade1f64cd8bdf247281ea11ce83fec85 |
|
27-May-2016 |
Ta-wei Yen <twyen@google.com> |
DO NOT MERGE Fix voicemail SIM card name unknown after unlock PIN. Cherry-picked from https://android-review.googlesource.com/#/c/217420/ Reproduce Steps: 1. Power on mobile with PIN. 2. Unlock PIN and receive a voicemail message. Solution: Voicemail message is received before SIM loaded, so SPN cannot be shown on the voicemail. To fix, after SIM loaded, refresh voicemail notification. Change-Id: I133ccab84da0e025a98e8edb7320f1aa879660e0
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
2b846c78ff3b4102e416c81c4a17b976d327ed38 |
|
10-Feb-2016 |
Hall Liu <hallliu@google.com> |
Update the network unavailable message when selection fails Add a call to updateNetworkSelection in NotificationMgr when NetworkSettings is notified that the manual network selection failed. Bug: 25453688 Change-Id: I901218b31a767e4aeb2afeabae796b615e3c9050
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
a9c6b6d73ebf2e176452a523c8d539f572a72a01 |
|
08-Jan-2016 |
Brad Ebinger <breadley@google.com> |
Refactoring into Telecomm Codebase and cleanup Cleans up obsolete parts of services/Telephony. Bug: 26204262 Change-Id: Id11bb2a20fe948d51bdc1f3ba00ae9ecb6dba14d
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
c5201f417b58f95c5f1b54de1c101b3a35ad544f |
|
25-Nov-2015 |
Amit Mahajan <amitmahajan@google.com> |
Rename PhoneBase to Phone. Bug: 25793157 Change-Id: I9d169972c71d2f261e053de2898c698ad4a22601
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
3105e9a01b1cf782e11fd1a6cb3bcefc5633ef67 |
|
21-Oct-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Clean up UserHandle.isOwner() in telephony Bug: 24869636 Change-Id: I071ff7816f86f2bdfcdf79a878ad50a899881dad
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
be964583a634a57199417e50b36edb10223f7d3e |
|
21-Aug-2015 |
Wei Liu <luciferleo@google.com> |
Make the intent of network operator settings notification configurable. b/23399960 Change-Id: I338b745210c51a69bb1f0034a633114e260e67d7
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
5dc90848c184a5fd35ad5b7c0e9aa1d50911934b |
|
11-Aug-2015 |
Bryce Lee <brycelee@google.com> |
Add redirection of voicemail notification to a custom component. Change-Id: If08ad7043987fd070f243a6c707a3f6d5c5f6915
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
3e1073d1607d41c87e97cf49ff942afde772725b |
|
16-Jul-2015 |
Sanket Padawe <sanketpadawe@google.com> |
Make NetworkSettings and NetworkQueryService multi-sim aware. Bug: 20558723 Change-Id: I3c276a881d1c5061d55b9d13d81c0d102fe0992c
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
9504c6b5c5c7072f72d8a9e6df59dbda8a6ccbe4 |
|
04-Jun-2015 |
Jonathan Basseri <misterikkit@google.com> |
Renaming carrier config variable keys. API council advised us to use KEY_NAME_TYPE for our key constants. Bug: 21571894 Change-Id: Ib5d5aff1c9070d9e5913a4099fcf55c67b800150
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
2cf7f2935c71b0ddbdda86fa6bc18b33db2dbf99 |
|
15-May-2015 |
Nancy Chen <nancychen@google.com> |
Disable MWI when VVM is available. Since we don't want to see two separate notifications each time we get a new voicemail. Ignore MWI notifications when a corresponding pstn visual voicemail source is available. Bug: 20121229 Change-Id: I963e5eea5d66f10656a7c34926e4b10c175434f5
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
c31f1f32963534763aaf82ae2544f3a94f13edca |
|
12-May-2015 |
Jonathan Basseri <misterikkit@google.com> |
Switching to PersistableBundle in carrier config API. Part of this API involves persisting config bundles to avoid binding to apps at critical moments (like boot). Regular bundles should not be written to disk because they support object types that can lose their meaning while the data is at rest. In order to use PersistableBundle, we must either start with one or filter unwanted types out of Bundle objects. Since the carrier config API has no use for unsupported types, we chose to use PersistableBundle everywhere. Bug: 20268926 Change-Id: Ia85c1b2426907a5e6431095dbd3776213c7eb45d
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
3649bdb5813200904d4e887306dfebb1a0beffa8 |
|
01-May-2015 |
Jonathan Basseri <misterikkit@google.com> |
Migrating more code to read config from CarrierConfigManager. The following variables are now being read through the carrier config API. config_voice_privacy_disable config_show_onscreen_dial_button config_enable_dialer_key_vibration sim_network_unlock_allow_dismiss voicemail_notification_persistent Bug: 20270007 Change-Id: I4dc909ae32c23fc3f62c5d151ac2b19ef49dffe5
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
bf07f76dd57457da159b5d5504e391afbb4a3592 |
|
08-Apr-2015 |
Andrew Lee <anwlee@google.com> |
Port VM settings to its own activity. I gave up on PreferenceFragments because it's too hard to migrate the Activity Dialog logic at this point. Moving voicemail settings code to its own activity, with an eye towards avoiding any breakages in the attends related to it. I tried to rearrange some methods for better organization while I was at it... all this logic is still in much need of clarity, but I figure this is no worse of a state than before, and at least now it's separated from the rest of the call settings. No (deliberate) changes to logic besides that. Bug: 17019623 Change-Id: I20aa177ca699ad2c823e49f0fed0dcd89f75596d
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
b4a9270ef0cd337732e6e88d9cf4ff5f72fb94d2 |
|
05-Dec-2014 |
Nancy Chen <nancychen@google.com> |
Allow voicemail notification dismissal to be configurable. If a device/carrier allows it, a voicemail notification in the notification bar should be dismissable. Note that this change does not wipe the notification completely, i.e. it will come back if the user restarts the phone. Add configuration values relevant to Verizon for non-dismissable notifications. Bug: 7888110 Change-Id: I7af4a610fb2ba330633157abcc59f8940372fd85
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
a60be872ccf4fc96584bf99b11129ffa2cbb7c4e |
|
16-Jan-2015 |
Amit Mahajan <amitmahajan@google.com> |
Change to append subId to network selection related sharedPreferences. Bug: 19023266 Change-Id: Ia7b2ac5b37d5abb1231288caf923336bf0bec9e1
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
67a62a2dd4941b983ed92f53b330a7c902408c5d |
|
16-Dec-2014 |
Yorke Lee <yorkelee@google.com> |
Fix build break Bug: 18248222 Change-Id: I0f0fc3aa4421d29feb0ab243ec104dae9740c6d8
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
e062ec2db23f2e21911a20fccfa3229264151be7 |
|
16-Dec-2014 |
Andrew Lee <anwlee@google.com> |
Merge "Add logging for MWI visible/hidden." into lmp-mr1-dev
|
f8ad78f133fc0841d2cd6947f5be3aa94cf2252e |
|
16-Dec-2014 |
Andrew Lee <anwlee@google.com> |
Add logging for MWI visible/hidden. Bug: 18248222 Change-Id: Ic211e82ce6c5983df6a203de48b73a5df67ea8be
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
dcf40a9cc562d95f826123d8d670262c8d15e7bd |
|
09-Dec-2014 |
Stuart Scott <stuartscott@google.com> |
Set radio power of all phones and multi phone changes. bug:18415518 Change-Id: I33845aec1e7f162430b76ce0dee4d10664722bdd
/packages/services/Telephony/src/com/android/phone/NotificationMgr.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/NotificationMgr.java
|
d5165b05c851ecd47d330b600ed2768e0db8b9d1 |
|
06-Dec-2014 |
Andrew Lee <anwlee@google.com> |
Tidy up visuals/behaviors for MSIM notifications. + If MSIM device, show subscription display name on voicemail or call forwarding notifications instead of some of the normal title/summary text. + Use subscription colors to tint notification backgrounds. + Use PhoneAccountHandle to specify SIM to call with for voicemail notifications. + Move code for getting PhoneAccountHandle from Phone into PhoneUtils and update references throughout telephony. This assumes we only need to do the conversion for PSTN phones; this seems to be a safe assumption given how the notification manager previously got the default Phone from the phone factory. Bug: 18232725 Change-Id: I62574643de1d61ef716e06fb733467ce2f607586
/packages/services/Telephony/src/com/android/phone/NotificationMgr.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/NotificationMgr.java
|
1ec7c7e0c27729717907f3e40c0bc2ab240e1e29 |
|
04-Dec-2014 |
Andrew Lee <anwlee@google.com> |
Make voicemail vibrate/ringtone MSIM-aware. + Use phone/subIds to set and query for settings. + Migrate old settings. Do not migrate for MSIM devices, because the scenarios for figuring out how to migrate from one setting to multiple settings is a bit convoluted. Falls back to default instead. + Initialize voicemail ringtone preference in call settings. Bug: 18232725 Change-Id: I04a4908c9c38d6228ed3945bc00e9ef75d95b388
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
a82b820e69f41585c3a2b76678040b93fdf54886 |
|
22-Nov-2014 |
Andrew Lee <anwlee@google.com> |
Listen to subscription info changes to update MWI. MWI refers to "message waiting indicator" (aka. voicemail notifications). Before, there custom delay/retry code to handle if the SIM was not yet registered, but the network indicated a voicemail. This CL deletes that custom logic, and instead listens for changes to the subscription info (which should change with SIM registration) as a trigger for retrying to show the message waiting. I moved some logic into NotificationMgr so this behavior can be centralized in one class. This clears the way to implement some MSIM voicemail notification settings; the retry logic was written assuming there was only one internal.telephony.Phone, but there may now be multiple ones. This change makes it easier to iterate over all the phones and update their MWIs, which will be done in a subsequent CL. It's a little tricky to test the exact scenario which this case accounted for; I tested by removing/re-inserting a SIM to see if it updated accordingly (which it did successfully). Bug: 18232725 Change-Id: Ica2c5a2ddef8a2efc2c40c2f4d8729b485eb0bf7
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
8d66d81ad89e66ccaf688e896286e2a06307a554 |
|
24-Nov-2014 |
Andrew Lee <anwlee@google.com> |
Move Voicemail notification settings into util. This utility localizes related functions/constants in a class, in preparation for adding more functionality to make both voicemail ringtone and vibration settings MSIM-capable, and also handle associated necessary migrations. Besides fixing voicemail notifications (before it did not update when the value is changed), there should be no change in functionality. + Add utility for settings related to voicemail notifications. + Handle get/set ringtone uri in new util. + Handle get/set vibrate in new util. + Make keys for shared preferences independent of preference names. There was an implicit relationship between these before. I think it is safer if the two are not correlated, and the shared preferences key needs to be changed shortly to consider subscription id anyways. + Handle saving ringtone uri in VoicemailRingtonePreference. For now this has no change in behavior, but in a subsequent CL we will save the ringtone by subscription id here. - Don't use default values on VoicemailRingtonePreference; default values use the preference's key as the shared preference key, but we will need to use subscription ids for our keys. Bug: 18232725 Change-Id: Ifb52f47073418c76ad4bcf86c57c0ed75d05d0ca
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
3faa594099e79c7fa7ac6e4c974e435d2cf4d471 |
|
06-Nov-2014 |
Yorke Lee <yorkelee@google.com> |
Don't send various Telephony notifications for managed users Bug: 18226975 Change-Id: I3044318fd86f33d47fbad851d6e26a653e6b206e
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
047b1f9f0af3c9a0a285eb944b409a785040707c |
|
24-Oct-2014 |
Yorke Lee <yorkelee@google.com> |
Don't send voicemail notification for managed profile Bug: 18075090 Change-Id: I4db879db210455c254f739eec5958237cbe47852
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
99d0ac2c693849e959601a275128a739569d2efb |
|
10-Oct-2014 |
Andrew Lee <anwlee@google.com> |
Send telephony notifications to appropriate users. - Show notifications with no PII implications to all users. - Show voicemail notifications to all users which can make outgoing phone calls. (and cancel notifications for all users when read) - For stateful/ongoing notifications (voicemail, call forwarding, network selection), cancel notifications for all users when canceled. - For data disconnected due to roaming, only cancel for current user. - For notifications which the user can't do anything because they aren't the primary user, show the notification, but provide a null content intent. Refactored some notifications to be created by builders to make this cleaner. Bug: 17950718 Change-Id: I07ac2f7abd8c9a75cdfec1a3123276ca747268df
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
4d45d1cf58a2003378fd35912d6d73a00001bf06 |
|
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: Ic33bafd37200e65431543a9889aed549dbb04831
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
137458b4bf3516941483e59c123c22cbee27ed43 |
|
05-Sep-2014 |
Jay Shrauner <shrauner@google.com> |
Use framework scheme definitions Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}. Bug:17398074 Change-Id: I36adb16f659daef89957072f9e00d08ea2cb8e9e
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
acb5f74aff9bd9e15ec21f421e79bc555faaff20 |
|
19-Aug-2014 |
Yorke Lee <yorkelee@google.com> |
Add theme color to notifications (1/4) Bug: 17129072 Change-Id: I9c50a3231ae6308b32a1d844908d2c3621d498eb
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
f68db2ef27f3bdf14f0053c46d73df910bd394f2 |
|
02-Jul-2014 |
Santos Cordon <santoscordon@google.com> |
Move missed-call notifications out of services/Telephony. Change-Id: I6a54574d95f3d586b22eb515b4a8cc7e6c4abe0c
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
352ff6587456f60948648726cf1573a2e595e238 |
|
30-May-2014 |
Santos Cordon <santoscordon@google.com> |
Move headset hook from Telephony to Telecomm. (2/2) Lots of code deletion of the headset code and old status bar notification code. Bug: 15190069 Change-Id: I990110816ec37c168e3646290a538be3cd23be35
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
daf4c1d42c8f10ce902cb536c875b074404b7e4c |
|
29-Oct-2013 |
Christine Chen <christinech@google.com> |
Fixes bug in CDMA phones' missed call notification - There was inconsistency between CallNotifier and NotificationMgr in which variable to set to "Private number" when the number has its representation form set. - This fixed the problem in the missed call case, but we should re-examine our logic to set the "Private number" string in all our projects. Bug: 11275098 Change-Id: I5bb955ebdfa16860cfcb1494ba82789fb40d79c2
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
b685f1796c6f33a1476716167db9334f4f5d8139 |
|
26-Sep-2013 |
Christine Chen <christinech@google.com> |
Disable camera button in Incoming call UI Bug: 10929467 Change-Id: I0476c8e97568edd707b5ef51ecb32f2c53c8bdf8
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
6fe8fd6b90be53f5f0a10f589ac320db07b71ba2 |
|
17-Sep-2013 |
Jay Shrauner <shrauner@google.com> |
Remove unused old UI code Remove unused UI code copied over from apps/Phone that is no longer used. Bug:10608890 Change-Id: I41a0bd01102df70aa9a28bfa24994eca05e3fc0c
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
312b9c9112948c8ca7f74ea91b5e2585a66482c9 |
|
17-Sep-2013 |
Chiao Cheng <chiaocheng@google.com> |
Remove more code from NotificationManager. updateInCallNotification is not longer used. Delete along with code that uses it. Bug: 10605959 Change-Id: Idb69020a4dd99a36575aae0a77990f8c3ca693a9
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
2ed6651aaf74adeb9a0bef631c4c7875d985db0b |
|
16-Sep-2013 |
Chiao Cheng <chiaocheng@google.com> |
Remove un-needed code in NotificationManager. Notification variable is not longer used. Line 1116 of original code. Much of the method was logic for building this notification variable via the builder object. This CL removes code that was only used by this builder. Bug: 10605959 Change-Id: I4520f59579c7a25fbacf9db73772fd87180a8423
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
528bd1e5b3b2a1ba37ff9815b79b7a59a77235ca |
|
05-Sep-2013 |
Yorke Lee <yorkelee@google.com> |
Show numbers LTR in notifications Bug: 10541171 Change-Id: Ie75d65ecb7ed892c501a877faa558df8ff492b16
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
ca6ec3b13134765667783ebfeaa5745eb1e94743 |
|
29-Aug-2013 |
Yorke Lee <yorkelee@google.com> |
Missed call notification creates PendingIntent using TaskStackBuilder Bug: 10262590 Change-Id: Iedc11dfbd40c167a2eefc8f32ebb1dc322e36ef0
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
7f7c652f0d23c9dfaa904431b94ef8f77b0d2e24 |
|
17-Jul-2013 |
Chiao Cheng <chiaocheng@google.com> |
Disabling incoming call function. Also fix un-used imports in several files. Change-Id: Ife01674b2a1fe807a8d0b23c984e46715fc08908
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|
7d4ddf6dc0d7c8158bac3a5dec7936e837e95bdd |
|
10-Jul-2013 |
Santos Cordon <santoscordon@google.com> |
Blanket copy of PhoneApp to services/Telephony. First phase of splitting out InCallUI from PhoneApp. Change-Id: I237341c4ff00e96c677caa4580b251ef3432931b
/packages/services/Telephony/src/com/android/phone/NotificationMgr.java
|