diff --git a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java index 066e0d748..3839c6acb 100644 --- a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java +++ b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java @@ -152,15 +152,6 @@ public class MessageNotifier { updateNotification(context, true, 0); } - /** - * @deprecated use updateNotificatio(Context, int) instead. - */ - @Deprecated - public static void updateNotification(@NonNull Context context, long threadId) - { - throw new IllegalStateException("old signal code called. thread -> chat, long -> int"); - } - public static void updateNotification(@NonNull Context context, int threadId) { if (System.currentTimeMillis() - lastDesktopActivityTimestamp < DESKTOP_ACTIVITY_PERIOD) { @@ -171,16 +162,6 @@ public class MessageNotifier { } } - /** - * @deprecated used updateNotification(Context, int, boolean) instead. - */ - @Deprecated - public static void updateNotification(@NonNull Context context, - long threadId, - boolean signal) { - throw new IllegalStateException("Old signal code called. thread -> chat & long -> int"); - } - public static void updateNotification(@NonNull Context context, int chatId, boolean signal)