diff --git a/buildSrc/src/main/kotlin/com/datadog/gradle/config/FlavorBuildConfig.kt b/buildSrc/src/main/kotlin/com/datadog/gradle/config/FlavorBuildConfig.kt index 5005703ba7..9c015acb89 100644 --- a/buildSrc/src/main/kotlin/com/datadog/gradle/config/FlavorBuildConfig.kt +++ b/buildSrc/src/main/kotlin/com/datadog/gradle/config/FlavorBuildConfig.kt @@ -31,22 +31,22 @@ fun ApplicationDefaultConfig.configureFlavorForBenchmark( val config = sampleAppConfig("${rootDir.absolutePath}/config/benchmark.json") buildConfigField( "String", - "BM_RUM_APPLICATION_ID", + "BENCHMARK_RUM_APPLICATION_ID", "\"${config.rumApplicationId}\"" ) buildConfigField( "String", - "BM_CLIENT_TOKEN", + "BENCHMARK_CLIENT_TOKEN", "\"${config.token}\"" ) buildConfigField( "String", - "BM_API_KEY", + "BENCHMARK_API_KEY", "\"${config.apiKey}\"" ) buildConfigField( "String", - "BM_APPLICATION_KEY", + "BENCHMARK_APPLICATION_KEY", "\"${config.applicationKey}\"" ) } diff --git a/sample/benchmark/src/main/AndroidManifest.xml b/sample/benchmark/src/main/AndroidManifest.xml index a1d258065b..c077024498 100644 --- a/sample/benchmark/src/main/AndroidManifest.xml +++ b/sample/benchmark/src/main/AndroidManifest.xml @@ -10,12 +10,12 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:theme="@style/Theme.Ddsdkandroid"> + android:theme="@style/Theme.BenchmarkApp"> + android:theme="@style/Theme.BenchmarkApp"> diff --git a/sample/benchmark/src/main/java/com/datadog/benchmark/sample/BenchmarkApplication.kt b/sample/benchmark/src/main/java/com/datadog/benchmark/sample/BenchmarkApplication.kt index ed15ce2aea..507140716b 100644 --- a/sample/benchmark/src/main/java/com/datadog/benchmark/sample/BenchmarkApplication.kt +++ b/sample/benchmark/src/main/java/com/datadog/benchmark/sample/BenchmarkApplication.kt @@ -40,7 +40,7 @@ internal class BenchmarkApplication : Application() { } private fun createRumConfiguration(): RumConfiguration { - return RumConfiguration.Builder(BuildConfig.BM_RUM_APPLICATION_ID) + return RumConfiguration.Builder(BuildConfig.BENCHMARK_RUM_APPLICATION_ID) .useViewTrackingStrategy( NavigationViewTrackingStrategy( R.id.nav_host_fragment, @@ -78,7 +78,7 @@ internal class BenchmarkApplication : Application() { @SuppressLint("LogNotTimber") private fun createDatadogConfiguration(): Configuration { val configBuilder = Configuration.Builder( - clientToken = BuildConfig.BM_CLIENT_TOKEN, + clientToken = BuildConfig.BENCHMARK_CLIENT_TOKEN, env = BuildConfig.BUILD_TYPE ) .setBatchSize(BatchSize.SMALL) diff --git a/sample/benchmark/src/main/java/com/datadog/benchmark/sample/benchmark/DatadogBenchmark.kt b/sample/benchmark/src/main/java/com/datadog/benchmark/sample/benchmark/DatadogBenchmark.kt index 859c747e0f..ecf23a8e0b 100644 --- a/sample/benchmark/src/main/java/com/datadog/benchmark/sample/benchmark/DatadogBenchmark.kt +++ b/sample/benchmark/src/main/java/com/datadog/benchmark/sample/benchmark/DatadogBenchmark.kt @@ -23,7 +23,7 @@ import com.datadog.sample.benchmark.BuildConfig internal class DatadogBenchmark(config: Config) { private var meter: DatadogMeter = DatadogMeter.create( - DatadogExporterConfiguration.Builder(BuildConfig.BM_API_KEY) + DatadogExporterConfiguration.Builder(BuildConfig.BENCHMARK_API_KEY) .setApplicationId(BuildConfig.APPLICATION_ID) .setApplicationName(BENCHMARK_APPLICATION_NAME) .setRun(config.getRun()) diff --git a/sample/benchmark/src/main/res/values/themes.xml b/sample/benchmark/src/main/res/values/themes.xml index c2f7bb1055..2fb331ccc5 100644 --- a/sample/benchmark/src/main/res/values/themes.xml +++ b/sample/benchmark/src/main/res/values/themes.xml @@ -1,5 +1,5 @@ -