mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Bump libsignal to v0.69.1.
This commit is contained in:
committed by
Michelle Tang
parent
6afeb45f43
commit
0d611cf4c9
@@ -260,6 +260,7 @@ public class ApplicationDependencyProvider implements AppDependencies.Provider {
|
||||
public @NonNull Network provideLibsignalNetwork(@NonNull SignalServiceConfiguration config) {
|
||||
Network network = new Network(BuildConfig.LIBSIGNAL_NET_ENV, StandardUserAgentInterceptor.USER_AGENT);
|
||||
LibSignalNetworkExtensions.applyConfiguration(network, config);
|
||||
LibSignalNetworkExtensions.transformAndSetRemoteConfig(network, RemoteConfig.getMemoryValues());
|
||||
|
||||
return network;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ public class LogSectionRemoteConfig implements LogSection {
|
||||
@Override
|
||||
public @NonNull CharSequence getContent(@NonNull Context context) {
|
||||
StringBuilder out = new StringBuilder();
|
||||
Map<String, Object> memory = RemoteConfig.getDebugMemoryValues();
|
||||
Map<String, Object> memory = RemoteConfig.getMemoryValues();
|
||||
Map<String, Object> disk = RemoteConfig.getDebugDiskValues();
|
||||
Map<String, Object> pending = RemoteConfig.getDebugPendingDiskValues();
|
||||
int remoteLength = Stream.of(memory.keySet()).map(String::length).max(Integer::compareTo).orElse(0);
|
||||
|
||||
@@ -121,10 +121,9 @@ object RemoteConfig {
|
||||
Log.i(TAG, "[Disk] After : ${result.disk}")
|
||||
}
|
||||
|
||||
/** Only for rendering debug info. */
|
||||
@JvmStatic
|
||||
@get:Synchronized
|
||||
val debugMemoryValues: Map<String, Any>
|
||||
val memoryValues: Map<String, Any>
|
||||
get() = TreeMap(REMOTE_VALUES)
|
||||
|
||||
/** Only for rendering debug info. */
|
||||
|
||||
Reference in New Issue
Block a user