mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
@@ -855,6 +855,10 @@ public class TextSecurePreferences {
|
||||
setStringPreference(context, CALL_RINGTONE_PREF, ringtone);
|
||||
}
|
||||
|
||||
public static void setNotificationVibrateEnabled(Context context, boolean enabled) {
|
||||
setBooleanPreference(context, VIBRATE_PREF, enabled);
|
||||
}
|
||||
|
||||
public static boolean isNotificationVibrateEnabled(Context context) {
|
||||
return getBooleanPreference(context, VIBRATE_PREF, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user