mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Improve network reliability.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user