diff --git a/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java b/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
index 456ff310ce0..73da8edca95 100755
--- a/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
+++ b/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
@@ -1931,8 +1931,8 @@ public class SettingsProvider extends ContentProvider {
String cacheName = null;
if (Settings.System.RINGTONE.equals(name)) {
cacheName = Settings.System.RINGTONE_CACHE;
- } else if (name.startsWith(Settings.System.RINGTONE)) {
- cacheName = name.replace(Settings.System.RINGTONE, Settings.System.RINGTONE_CACHE);
+ } else if ((Settings.System.RINGTONE + "1").equals(name)) {
+ cacheName = name.replace(Settings.System.RINGTONE, Settings.System.RINGTONE_CACHE);
} else if (Settings.System.NOTIFICATION_SOUND.equals(name)) {
cacheName = Settings.System.NOTIFICATION_SOUND_CACHE;
} else if (Settings.System.ALARM_ALERT.equals(name)) {
展讯A13把sd卡里面的歌曲设置为来电铃声,手机重启后又恢复成默认的来电铃声问题
最新推荐文章于 2024-09-20 17:29:30 发布