Skip to content

Commit 54d5f0a

Browse files
committed
make lint happy
1 parent 99eb4c1 commit 54d5f0a

File tree

2 files changed

+4
-0
lines changed
  • app-tracking-protection/vpn-impl/src/main/java/com/duckduckgo/mobile/android/vpn/pixels
  • network-protection/network-protection-impl/src/main/java/com/duckduckgo/networkprotection/impl/pixels

2 files changed

+4
-0
lines changed

app-tracking-protection/vpn-impl/src/main/java/com/duckduckgo/mobile/android/vpn/pixels/VpnEnableWideEvent.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.duckduckgo.mobile.android.vpn.pixels
1818

19+
import android.annotation.SuppressLint
1920
import com.duckduckgo.app.di.AppCoroutineScope
2021
import com.duckduckgo.app.statistics.wideevents.FlowStatus
2122
import com.duckduckgo.app.statistics.wideevents.WideEventClient
@@ -46,6 +47,7 @@ class VpnEnableWideEventImpl @Inject constructor(
4647
) : VpnEnableWideEvent {
4748

4849
// This is to ensure modifications of the wide event are serialized
50+
@SuppressLint("AvoidComputationUsage")
4951
private val coroutineScope = CoroutineScope(
5052
context = appCoroutineScope.coroutineContext +
5153
dispatchers.computation().limitedParallelism(1),

network-protection/network-protection-impl/src/main/java/com/duckduckgo/networkprotection/impl/pixels/VpnEnableWideEvent.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.duckduckgo.networkprotection.impl.pixels
1818

19+
import android.annotation.SuppressLint
1920
import com.duckduckgo.app.di.AppCoroutineScope
2021
import com.duckduckgo.app.statistics.wideevents.CleanupPolicy
2122
import com.duckduckgo.app.statistics.wideevents.FlowStatus
@@ -57,6 +58,7 @@ class VpnEnableWideEventImpl @Inject constructor(
5758
) : VpnEnableWideEvent {
5859

5960
// This is to ensure modifications of the wide event are serialized
61+
@SuppressLint("AvoidComputationUsage")
6062
private val coroutineScope = CoroutineScope(
6163
context = appCoroutineScope.coroutineContext +
6264
dispatchers.computation().limitedParallelism(1),

0 commit comments

Comments
 (0)