mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-26 04:33:36 +00:00
Fix shortcut update job crash for old installs without an aci.
This commit is contained in:
committed by
Michelle Tang
parent
6d04c8ba42
commit
961e9fd4b9
@@ -64,6 +64,11 @@ public class ConversationShortcutUpdateJob extends BaseJob {
|
||||
return;
|
||||
}
|
||||
|
||||
if (SignalStore.account().getAci() == null) {
|
||||
Log.i(TAG, "Need ACI for group shortcuts");
|
||||
return;
|
||||
}
|
||||
|
||||
ThreadTable threadTable = SignalDatabase.threads();
|
||||
int maxShortcuts = ConversationUtil.getMaxShortcuts(context);
|
||||
List<Recipient> ranked = new ArrayList<>(maxShortcuts);
|
||||
|
||||
Reference in New Issue
Block a user