mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Improve Call Notification UX when things don't go as planned.
This commit is contained in:
committed by
Alex Hart
parent
b053fbc4a7
commit
d8dead82b6
@@ -987,6 +987,10 @@ public class TextSecurePreferences {
|
||||
return getBooleanPreference(context, NOTIFICATION_PREF, true);
|
||||
}
|
||||
|
||||
public static void setCallNotificationsEnabled(Context context, boolean enabled) {
|
||||
setBooleanPreference(context, CALL_NOTIFICATIONS_PREF, enabled);
|
||||
}
|
||||
|
||||
public static boolean isCallNotificationsEnabled(Context context) {
|
||||
return getBooleanPreference(context, CALL_NOTIFICATIONS_PREF, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user