History log of /packages/apps/PhoneCommon/src/com/android/phone/common/util/SettingsUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
53845dd9c153aeb23999aac7f19dbb652976b565 16-Jul-2015 Yorke Lee <yorkelee@google.com> Fix SecurityException when trying to retrieve ringtone title

Use RingtoneManager.getRingtone instead of accessing MediaProvider
directly

Bug: 22430897

Change-Id: Ib7ec053b5b92ed3d1b77ef63ab339c9b8c4da87f
/packages/apps/PhoneCommon/src/com/android/phone/common/util/SettingsUtil.java
53abf3276ae2ba32b6f34a91001943c0d0b621b9 26-Jan-2015 Andrew Lee <anwlee@google.com> am f300ae67: am 2b2bcb0f: am 895849b2: Return default notification uri if none found.

* commit 'f300ae67ec39a6ebaf09aad574c35f98d1a84d89':
Return default notification uri if none found.
895849b2484727546133da8b8762e1fdcc3ecd9b 24-Jan-2015 Andrew Lee <anwlee@google.com> Return default notification uri if none found.

Before, if none was found, it assumed there was no notification
sound, but that's a bad default behavior.

Bug: 19125984
Change-Id: I7b6c536dc0a457c043f6bc97b882cbc3a10711ca
/packages/apps/PhoneCommon/src/com/android/phone/common/util/SettingsUtil.java
53fcafb3caf6197451a4ed9e34411da52cf3bf86 19-Dec-2014 Brian Attwell <brianattwell@google.com> Unbundle PhoneCommon 1/2

+ Copy android.internal strings
- Remove getVibrateWhenRingingSetting(), which depends on the
hidden Settings.System.VIBRATE_WHEN_RINGING property name. The
property's javadoc suggests it should only be used inside system
apps, so I don't want to prematuraly unhide it.

Bug: 18777272
Change-Id: Ie80adaee100f797259f894b2c413e153e85c3bbb
/packages/apps/PhoneCommon/src/com/android/phone/common/util/SettingsUtil.java
c11bd1b0ac01d0bd3497d1e47e70e53792036e5a 25-Nov-2014 Andrew Lee <anwlee@google.com> Use string SharedPreferences key for update ringtone.

Instead of using the preference, deal directly with the key.

I changed the logic so that it will return null/silent as the
ringtone uri if the key is null. Because, technically, one could
call the function with a "type" expecting a valid return type,
but not provide a key.

Bug: 18232725
Change-Id: Ifb3d517ef8b0a5ddba388f2e0d471874f7b4b235
/packages/apps/PhoneCommon/src/com/android/phone/common/util/SettingsUtil.java
112e85e36bf9bf2af9a67e138934b66877be868b 14-Aug-2014 Andrew Lee <anwlee@google.com> Add SettingsUtil to PhoneCommon, move methods here from Telephony.

+ Move updateRingtoneName() to SettingsUtil, so that it can be used
both by Telephony and Dialer. Changed it to pass in a couple
parameters (eg. context) to make this possible..
+ Move utility for getting the vibrate-when-ringing setting.

Bug: 16788935
Change-Id: I0a836b4040fd88d930b5a8cc0051411b170ea9db
/packages/apps/PhoneCommon/src/com/android/phone/common/util/SettingsUtil.java