removed obsolete code #451

This commit is contained in:
Angelo Fuchs
2019-01-29 14:02:52 +01:00
parent 37cf7e5a91
commit a6b35b2a87
@@ -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)