Remove libsignal shadow/bridge websocket infra.

This commit is contained in:
Cody Henthorne
2025-03-05 15:49:23 -05:00
committed by Michelle Tang
parent 83611414cc
commit da5c8ff6ea
5 changed files with 13 additions and 374 deletions

View File

@@ -1036,20 +1036,6 @@ object RemoteConfig {
BuildConfig.MESSAGE_BACKUP_RESTORE_ENABLED || value.asBoolean(false)
}
/**
* Percentage [0, 100] of web socket requests that will be "shadowed" by sending
* an unauthenticated keep-alive via libsignal-net. Default: 0
*/
@JvmStatic
@get:JvmName("libSignalWebSocketShadowingPercentage")
val libSignalWebSocketShadowingPercentage: Int by remoteValue(
key = "android.libsignalWebSocketShadowingPercentage",
hotSwappable = false
) { value ->
val remote = value.asInteger(0)
remote.coerceIn(0, 100)
}
@JvmStatic
val backgroundMessageProcessInterval: Long by remoteValue(
key = "android.messageProcessor.alarmIntervalMins",