OSDN Git Service

Treat the default sound Uri the same as DEFAULT_SOUND.
authorDaniel Sandler <dsandler@android.com>
Wed, 17 Apr 2013 04:17:22 +0000 (00:17 -0400)
committerDaniel Sandler <dsandler@android.com>
Wed, 17 Apr 2013 14:59:50 +0000 (10:59 -0400)
commit3147523c107a5fecdccdc8083dea3124576331de
tree314ce4778841aa82675c190ea87c5f5fe40921e9
parent37f58dccecd778f5af1f1f1db492c75ec5fcabd6
Treat the default sound Uri the same as DEFAULT_SOUND.

For the purposes of deciding whether or not to invoke the
"fallback vibrate", that is. (RingtonePicker will return
content://settings/system/notification_sound when "Default"
is chosen, so if the app pops this Uri directly into
Notification.sound, we should treat it like DEFAULT_SOUND
and look to see whether the system notification sound is
not None before running the fallback vibration.)

Bug: 8627641
Change-Id: Ia469b8e4d5d7647ce1a8a179f591ed7a3443b5c5
services/java/com/android/server/NotificationManagerService.java