Update to and integrate with libsignal v0.69.0.

This commit is contained in:
andrew-signal
2025-04-03 09:38:36 -04:00
committed by Michelle Tang
parent 7a5790a6ce
commit 5b04107447
7 changed files with 35 additions and 28 deletions

View File

@@ -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) {

View File

@@ -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",