Browse files

Use default timeout value for MMS notifications.

Not just 4 seconds. *oops* My bad. :P
  • Loading branch information...
1 parent 687ebeb commit 8fd9882493354be0d3ab5f63d74562431bb060ac @firetech firetech committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/metawatch/manager/NotificationBuilder.java
View
2 src/org/metawatch/manager/NotificationBuilder.java
@@ -89,7 +89,7 @@ public static void createMMS(Context context, String number) {
VibratePattern vibratePattern = createVibratePatternFromPreference(context, "settingsSMSNumberBuzzes");
if (MetaWatchService.watchType == WatchType.DIGITAL) {
Bitmap bitmap = smartLines(context, "message.bmp", "MMS from", new String[] {name});
- Notification.addBitmapNotification(context, bitmap, vibratePattern, 4000);
+ Notification.addBitmapNotification(context, bitmap, vibratePattern, Notification.getDefaultNotificationTimeout(context));
} else {
byte[] scroll = new byte[800];
int len = Protocol.createOled2linesLong(context, name, scroll);

0 comments on commit 8fd9882

Please sign in to comment.