mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Fix crash when running shortcut update job on older APIs.
This commit is contained in:
@@ -58,9 +58,7 @@ public final class ConversationUtil {
|
||||
* Enqueues a job to update the list of shortcuts.
|
||||
*/
|
||||
public static void refreshRecipientShortcuts() {
|
||||
if (Build.VERSION.SDK_INT >= CONVERSATION_SUPPORT_VERSION) {
|
||||
ApplicationDependencies.getJobManager().add(new ConversationShortcutUpdateJob());
|
||||
}
|
||||
ConversationShortcutUpdateJob.enqueue();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user