Improve network reliability.

This commit is contained in:
Greyson Parrelli
2024-10-18 14:33:17 -04:00
parent 19602b0e68
commit 9c8331f7f3

View File

@@ -67,7 +67,6 @@ open class SignalServiceNetworkAccess(context: Context) {
private const val COUNTRY_CODE_IRAN = 98
private const val COUNTRY_CODE_CUBA = 53
private const val COUNTRY_CODE_UZBEKISTAN = 998
private const val COUNTRY_CODE_RUSSIA = 7
private const val COUNTRY_CODE_VENEZUELA = 58
private const val COUNTRY_CODE_PAKISTAN = 92
@@ -216,8 +215,7 @@ open class SignalServiceNetworkAccess(context: Context) {
listOf(HostConfig("https://www.google.com.pk", G_HOST, GMAIL_CONNECTION_SPEC)) + baseGHostConfigs
),
COUNTRY_CODE_IRAN to fConfig,
COUNTRY_CODE_CUBA to fConfig,
COUNTRY_CODE_RUSSIA to fConfig
COUNTRY_CODE_CUBA to fConfig
)
private val defaultCensoredConfiguration: SignalServiceConfiguration = buildGConfiguration(baseGHostConfigs) + fConfig
@@ -230,7 +228,6 @@ open class SignalServiceNetworkAccess(context: Context) {
COUNTRY_CODE_IRAN,
COUNTRY_CODE_CUBA,
COUNTRY_CODE_UZBEKISTAN,
COUNTRY_CODE_RUSSIA,
COUNTRY_CODE_VENEZUELA,
COUNTRY_CODE_PAKISTAN
)