summaryrefslogtreecommitdiffstats
path: root/src/com/android/messaging/datamodel/BugleNotifications.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/messaging/datamodel/BugleNotifications.java')
-rw-r--r--src/com/android/messaging/datamodel/BugleNotifications.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/messaging/datamodel/BugleNotifications.java b/src/com/android/messaging/datamodel/BugleNotifications.java
index 355fb3a..f0ca910 100644
--- a/src/com/android/messaging/datamodel/BugleNotifications.java
+++ b/src/com/android/messaging/datamodel/BugleNotifications.java
@@ -194,6 +194,15 @@ public class BugleNotifications {
}
/**
+ * Play a sound to notify arrival of a class 0 message
+ *
+ */
+ public static void playClassZeroNotification() {
+ final Uri ringtoneUri = RingtoneUtil.getNotificationRingtoneUri(null);
+ playObservableConversationNotificationSound(ringtoneUri);
+ }
+
+ /**
* Cancel all notifications of a certain type.
*
* @param type Message or error notifications from Constants.