File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
app/src/main/java/org/torproject/android/service/circumvention Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -96,11 +96,6 @@ enum class Transport(val id: String) {
9696
9797 }
9898
99- /* *
100- * Seems more reliable in certain countries than the currently advertised one.
101- */
102- private val addFronts = listOf (" assets-git.f3mw1.com" )
103-
10499 private const val AMP_BROKER = " https://snowflake-broker.torproject.net/"
105100 private val ampFronts = listOf (" www.google.com" )
106101 private const val AMP_CACHE = " https://cdn.ampproject.org/"
@@ -216,10 +211,7 @@ enum class Transport(val id: String) {
216211
217212 SNOWFLAKE -> {
218213 BuiltInBridges .getInstance(context)?.snowflake?.forEach {
219- val builder = Bridge .Builder (it)
220- builder.fronts.addAll(addFronts)
221-
222- result.add(" Bridge ${builder.build().raw} " )
214+ result.add(" Bridge ${it.raw} " )
223215 }
224216 }
225217
@@ -281,7 +273,7 @@ enum class Transport(val id: String) {
281273 val snowflake = BuiltInBridges .getInstance(context)?.snowflake?.firstOrNull()
282274
283275 // Seems more reliable in certain countries than the currently advertised one.
284- val fronts = addFronts.toMutableSet ()
276+ val fronts = mutableSetOf< String > ()
285277 snowflake?.front?.let { fronts.add(it) }
286278 snowflake?.fronts?.let { fronts.addAll(it) }
287279
You can’t perform that action at this time.
0 commit comments