mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Save last-known server time offset.
This commit is contained in:
committed by
Clark Chen
parent
8372c699f7
commit
ebaa445bee
@@ -18,6 +18,7 @@ import org.thoughtcrime.securesms.groups.SelectionLimits;
|
||||
import org.thoughtcrime.securesms.jobs.RemoteConfigRefreshJob;
|
||||
import org.thoughtcrime.securesms.keyvalue.SignalStore;
|
||||
import org.thoughtcrime.securesms.messageprocessingalarm.MessageProcessReceiver;
|
||||
import org.whispersystems.signalservice.api.RemoteConfigResult;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
@@ -293,8 +294,8 @@ public final class FeatureFlags {
|
||||
|
||||
@WorkerThread
|
||||
public static void refreshSync() throws IOException {
|
||||
Map<String, Object> config = ApplicationDependencies.getSignalServiceAccountManager().getRemoteConfig();
|
||||
FeatureFlags.update(config);
|
||||
RemoteConfigResult result = ApplicationDependencies.getSignalServiceAccountManager().getRemoteConfig();
|
||||
FeatureFlags.update(result.getConfig());
|
||||
}
|
||||
|
||||
public static synchronized void update(@NonNull Map<String, Object> config) {
|
||||
|
||||
Reference in New Issue
Block a user