History log of /packages/services/Telephony/src/com/android/phone/settings/VoicemailNotificationSettingsUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fa3de753c544675d95504623706a2eb9cd618468 24-Jan-2015 Andrew Lee <anwlee@google.com> Use default URI instead of string name.

Previously defaulted to String value which was not the URI's string
value..

Bug: 19125984
Change-Id: I8f9bde1f18fa758b627951223d486fa11e35887b
/packages/services/Telephony/src/com/android/phone/settings/VoicemailNotificationSettingsUtil.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/settings/VoicemailNotificationSettingsUtil.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/settings/VoicemailNotificationSettingsUtil.java