mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-03 15:25:39 +00:00
parent
31b2fab6e9
commit
58fd6f9273
@ -46,7 +46,7 @@ public abstract class AbstractNotificationBuilder extends NotificationCompat.Bui
|
|||||||
String[] blinkPatternArray = parseBlinkPattern(ledBlinkPattern, ledBlinkPatternCustom);
|
String[] blinkPatternArray = parseBlinkPattern(ledBlinkPattern, ledBlinkPatternCustom);
|
||||||
|
|
||||||
if (ringtone != null) setSound(ringtone);
|
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 ||
|
if (vibrate == RecipientPreferenceDatabase.VibrateState.ENABLED ||
|
||||||
(vibrate == RecipientPreferenceDatabase.VibrateState.DEFAULT && defaultVibrate))
|
(vibrate == RecipientPreferenceDatabase.VibrateState.DEFAULT && defaultVibrate))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user