Register backupIds for all users.

This commit is contained in:
Greyson Parrelli
2025-07-30 10:55:53 -04:00
committed by GitHub
parent 90c381f0ba
commit 1ee606de9e
6 changed files with 125 additions and 10 deletions

View File

@@ -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)));