File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
sample/benchmark/src/main/java/com/datadog/benchmark/sample Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,11 @@ import com.bumptech.glide.Glide
11
11
import com.bumptech.glide.Registry
12
12
import com.bumptech.glide.annotation.GlideModule
13
13
import com.datadog.android.glide.DatadogGlideModule
14
- import com.datadog.benchmark.sample.di.app.DATADOG_SDK_INSTANCE_NAME
15
14
import okhttp3.OkHttpClient
16
15
import javax.inject.Inject
17
16
18
17
@GlideModule
19
- internal class BenchmarkGlideModule : DatadogGlideModule (
20
- sdkInstanceName = DATADOG_SDK_INSTANCE_NAME
21
- ) {
18
+ internal class BenchmarkGlideModule : DatadogGlideModule () {
22
19
@Inject
23
20
lateinit var okHttpClient: OkHttpClient
24
21
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ internal interface DatadogModule {
46
46
}
47
47
48
48
return Datadog .initialize(
49
- DATADOG_SDK_INSTANCE_NAME ,
50
49
context,
51
50
createDatadogConfiguration(),
52
51
TrackingConsent .GRANTED
@@ -110,8 +109,6 @@ private fun createDatadogConfiguration(): Configuration {
110
109
return configBuilder.build()
111
110
}
112
111
113
- internal const val DATADOG_SDK_INSTANCE_NAME = " benchmark_datadog_sdk"
114
-
115
112
// the same as the default one
116
113
private const val CAPACITY_BACK_PRESSURE_STRATEGY = 1024
117
114
You can’t perform that action at this time.
0 commit comments