mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Update to and integrate with libsignal v0.69.0.
This commit is contained in:
committed by
Michelle Tang
parent
7a5790a6ce
commit
5b04107447
@@ -97,8 +97,7 @@ object ContactDiscoveryRefreshV2 {
|
||||
serviceIds = SignalDatabase.recipients.getAllServiceIdProfileKeyPairs(),
|
||||
token = Optional.empty(),
|
||||
timeoutMs = 10_000,
|
||||
libsignalNetwork = AppDependencies.libsignalNetwork,
|
||||
useLibsignalRouteBasedCDSIConnectionLogic = RemoteConfig.libsignalRouteBasedCDSILookup
|
||||
libsignalNetwork = AppDependencies.libsignalNetwork
|
||||
) {
|
||||
Log.i(TAG, "Ignoring token for one-off lookup.")
|
||||
}
|
||||
@@ -176,8 +175,7 @@ object ContactDiscoveryRefreshV2 {
|
||||
serviceIds = SignalDatabase.recipients.getAllServiceIdProfileKeyPairs(),
|
||||
token = Optional.ofNullable(token),
|
||||
timeoutMs = timeoutMs,
|
||||
libsignalNetwork = AppDependencies.libsignalNetwork,
|
||||
useLibsignalRouteBasedCDSIConnectionLogic = RemoteConfig.libsignalRouteBasedCDSILookup
|
||||
libsignalNetwork = AppDependencies.libsignalNetwork
|
||||
) { tokenToSave ->
|
||||
stopwatch.split("network-pre-token")
|
||||
if (!isPartialRefresh) {
|
||||
|
||||
@@ -1109,13 +1109,6 @@ object RemoteConfig {
|
||||
hotSwappable = false
|
||||
)
|
||||
|
||||
/** Whether or not libsignal-net's CDSI lookups use the new route-based internals or the old ones */
|
||||
val libsignalRouteBasedCDSILookup: Boolean by remoteBoolean(
|
||||
key = "android.libsignal.libsignalRouteBasedCDSILookup",
|
||||
defaultValue = true,
|
||||
hotSwappable = true
|
||||
)
|
||||
|
||||
/** Whether to allow different WindowSizeClasses to be used to determine screen layout */
|
||||
val largeScreenUi: Boolean by remoteBoolean(
|
||||
key = "android.largeScreenUI",
|
||||
|
||||
Reference in New Issue
Block a user