Skip to content

Commit 5647beb

Browse files
committed
linter fix
1 parent 914568b commit 5647beb

File tree

1 file changed

+11
-11
lines changed
  • android/daemon/src/main/java/org/mozilla/firefox/vpn/daemon

1 file changed

+11
-11
lines changed

android/daemon/src/main/java/org/mozilla/firefox/vpn/daemon/VPNService.kt

+11-11
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class VPNService : android.net.VpnService() {
322322
// Record data transfer metrics, as we're switching servers/configs and this data will get reset
323323
// Data metrics must be recorded prior to wgTurnOff, or we can't get data from the config
324324
if (isSuperDooperMetricsActive) {
325-
recordDataTransferMetrics()
325+
recordDataTransferMetrics()
326326
}
327327

328328
wgTurnOff(currentTunnelHandle)
@@ -368,13 +368,13 @@ class VPNService : android.net.VpnService() {
368368

369369
// If changing server, connection health is still running
370370
if (!isChangingServers) {
371-
mConnectionHealth.start(
372-
jServer.getString("ipv4AddrIn"),
373-
jServer.getString("ipv4Gateway"),
374-
json.getString("dns"),
375-
fallbackIpv4,
376-
isSuperDooperMetricsActive,
377-
)
371+
mConnectionHealth.start(
372+
jServer.getString("ipv4AddrIn"),
373+
jServer.getString("ipv4Gateway"),
374+
json.getString("dns"),
375+
fallbackIpv4,
376+
isSuperDooperMetricsActive,
377+
)
378378
}
379379

380380
// For `isGleanDebugTagActive` and `isSuperDooperMetricsActive` to work,
@@ -409,7 +409,7 @@ class VPNService : android.net.VpnService() {
409409
Pings.daemonsessionReasonCodes.daemonStart,
410410
)
411411
} else {
412-
Log.v(tag, "Skipping recording of start telemetry")
412+
Log.v(tag, "Skipping recording of start telemetry")
413413
}
414414
mMetricsTimer.cancel() // if this is a server switch, time is already running and must be reset
415415
mMetricsTimer.start()
@@ -465,7 +465,7 @@ class VPNService : android.net.VpnService() {
465465

466466
fun turnOff() {
467467
Log.v(tag, "Try to disable tunnel")
468-
// turnOff is not called when switching locations, doing a silent server switch from app, or doing a silent server switch from daemon...
468+
// turnOff is not called when switching locations, doing a silent server switch from app, or doing a silent server switch from daemon...
469469
// Thus we always want to record end-of-session metrics here, and send the ping below.
470470
if (isSuperDooperMetricsActive) {
471471
// Data metrics must be recorded prior to wgTurnOff, or we can't get data from the config
@@ -497,7 +497,7 @@ class VPNService : android.net.VpnService() {
497497
// metrics.
498498
Session.daemonSessionId.generateAndSet()
499499
} else {
500-
Log.v(tag, "Skipping ending metrics")
500+
Log.v(tag, "Skipping ending metrics")
501501
}
502502
mMetricsTimer.cancel()
503503
}

0 commit comments

Comments
 (0)