mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
parent
31b2fab6e9
commit
58fd6f9273
@ -46,7 +46,7 @@ public abstract class AbstractNotificationBuilder extends NotificationCompat.Bui
|
||||
String[] blinkPatternArray = parseBlinkPattern(ledBlinkPattern, ledBlinkPatternCustom);
|
||||
|
||||
if (ringtone != null) setSound(ringtone);
|
||||
else if (TextUtils.isEmpty(defaultRingtoneName)) setSound(Uri.parse(defaultRingtoneName));
|
||||
else if (!TextUtils.isEmpty(defaultRingtoneName)) setSound(Uri.parse(defaultRingtoneName));
|
||||
|
||||
if (vibrate == RecipientPreferenceDatabase.VibrateState.ENABLED ||
|
||||
(vibrate == RecipientPreferenceDatabase.VibrateState.DEFAULT && defaultVibrate))
|
||||
|
Loading…
x
Reference in New Issue
Block a user