mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Register backupIds for all users.
This commit is contained in:
@@ -423,15 +423,6 @@ public class TextSecurePreferences {
|
||||
setBooleanPreference(context, TYPING_INDICATORS, enabled);
|
||||
}
|
||||
|
||||
/**
|
||||
* Only kept so that we can avoid showing the megaphone for the new link previews setting
|
||||
* ({@link SettingsValues#isLinkPreviewsEnabled()}) when users upgrade. This can be removed after
|
||||
* we stop showing the link previews megaphone.
|
||||
*/
|
||||
public static boolean wereLinkPreviewsEnabled(Context context) {
|
||||
return getBooleanPreference(context, LINK_PREVIEWS, true);
|
||||
}
|
||||
|
||||
public static int getNotificationPriority(Context context) {
|
||||
try {
|
||||
return Integer.parseInt(getStringPreference(context, NOTIFICATION_PRIORITY_PREF, String.valueOf(NotificationCompat.PRIORITY_HIGH)));
|
||||
|
||||
Reference in New Issue
Block a user