mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 11:20:47 +01:00
Groups V2 avatar download job.
This commit is contained in:
committed by
Greyson Parrelli
parent
e2d3a43593
commit
2b1ffac564
@@ -46,6 +46,7 @@ public class ApplicationDependencies {
|
||||
private static FrameRateTracker frameRateTracker;
|
||||
private static KeyValueStore keyValueStore;
|
||||
private static MegaphoneRepository megaphoneRepository;
|
||||
private static GroupsV2Operations groupsV2Operations;
|
||||
|
||||
public static synchronized void init(@NonNull Application application, @NonNull Provider provider) {
|
||||
if (ApplicationDependencies.application != null || ApplicationDependencies.provider != null) {
|
||||
@@ -71,6 +72,16 @@ public class ApplicationDependencies {
|
||||
return accountManager;
|
||||
}
|
||||
|
||||
public static synchronized @NonNull GroupsV2Operations getGroupsV2Operations() {
|
||||
assertInitialization();
|
||||
|
||||
if (groupsV2Operations == null) {
|
||||
groupsV2Operations = provider.provideGroupsV2Operations();
|
||||
}
|
||||
|
||||
return groupsV2Operations;
|
||||
}
|
||||
|
||||
public static synchronized @NonNull KeyBackupService getKeyBackupService() {
|
||||
return getSignalServiceAccountManager().getKeyBackupService(IasKeyStore.getIasKeyStore(application),
|
||||
BuildConfig.KBS_ENCLAVE_NAME,
|
||||
|
||||
Reference in New Issue
Block a user