diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index d2c51eaa7e2..fdf7a2db439 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -163,6 +163,7 @@
# Utilities that are primarily used for frontend/UI purposes.
/utility/src/*/java/org/oppia/android/util/accessibility/ @oppia/android-frontend-reviewers
/utility/src/*/java/org/oppia/android/util/statusbar/ @oppia/android-frontend-reviewers
+/utility/src/main/java/org/oppia/android/util/enumfilter/ @oppia/android-frontend-reviewers
/utility/src/*/java/org/oppia/android/util/extensions/ @oppia/android-frontend-reviewers
/utility/src/*/java/org/oppia/android/util/parser/html @oppia/android-frontend-reviewers
/utility/src/*/res/**/*.xml @oppia/android-frontend-reviewers
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml
index 7a024172368..cc05bacff3b 100644
--- a/.github/workflows/build_tests.yml
+++ b/.github/workflows/build_tests.yml
@@ -426,19 +426,6 @@ jobs:
run: |
bazel build --compilation_mode=opt -- //:oppia_alpha_kitkat
- # Note that caching only works on non-forks.
- - name: Build Oppia alpha Kenya-specific AAB (with caching, non-fork only)
- if: ${{ env.ENABLE_CACHING == 'true' && github.event.pull_request.head.repo.full_name == 'oppia/oppia-android' }}
- env:
- BAZEL_REMOTE_CACHE_URL: ${{ secrets.BAZEL_REMOTE_CACHE_URL }}
- run: |
- bazel build --compilation_mode=opt --remote_http_cache=$BAZEL_REMOTE_CACHE_URL --google_credentials=./config/oppia-dev-workflow-remote-cache-credentials.json -- //:oppia_alpha_kenya
-
- - name: Build Oppia alpha Kenya-specific AAB (without caching, or on a fork)
- if: ${{ env.ENABLE_CACHING == 'false' || github.event.pull_request.head.repo.full_name != 'oppia/oppia-android' }}
- run: |
- bazel build --compilation_mode=opt -- //:oppia_alpha_kenya
-
build_oppia_beta_aab:
name: Build Oppia AAB (beta flavor)
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/comment_coverage_report.yml b/.github/workflows/comment_coverage_report.yml
index 16c1ae0da63..0cc70da29a2 100644
--- a/.github/workflows/comment_coverage_report.yml
+++ b/.github/workflows/comment_coverage_report.yml
@@ -17,6 +17,8 @@ jobs:
check_code_coverage_completed:
name: Check code coverage completed
runs-on: ubuntu-latest
+ outputs:
+ conclusion: ${{ steps.wait-for-coverage.outputs.run-conclusion }}
steps:
- name: Wait for code coverage to complete
id: wait-for-coverage
@@ -27,6 +29,13 @@ jobs:
allowed-conclusions: |
success
failure
+ action_required
+
+ - name: Conclusion Analysis
+ if: steps.wait-for-coverage.outputs.run-conclusion == 'action_required'
+ run: |
+ echo "::error::First-time contributor workflows require manual approval. After approval, please re-run the comment coverage workflows to post the coverage report."
+ exit 1
comment_coverage_report:
name: Comment Code Coverage Report
@@ -60,7 +69,7 @@ jobs:
const run = runs[0];
if(!run) {
- core.setFailed('Could not find a succesful workflow run for the PR');
+ core.setFailed('Could not find a successful workflow run for the PR');
return;
}
diff --git a/app/BUILD.bazel b/app/BUILD.bazel
index 35036cf44fa..cbeefc86af0 100644
--- a/app/BUILD.bazel
+++ b/app/BUILD.bazel
@@ -939,7 +939,6 @@ TEST_DEPS = [
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching:asset_prod_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/math:math_expression_parser",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
diff --git a/app/src/main/java/org/oppia/android/app/application/alpha/AlphaApplicationComponent.kt b/app/src/main/java/org/oppia/android/app/application/alpha/AlphaApplicationComponent.kt
index d4545931ca4..460ed8832b9 100644
--- a/app/src/main/java/org/oppia/android/app/application/alpha/AlphaApplicationComponent.kt
+++ b/app/src/main/java/org/oppia/android/app/application/alpha/AlphaApplicationComponent.kt
@@ -49,7 +49,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.CachingModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -97,7 +96,7 @@ import javax.inject.Singleton
SyncStatusModule::class, LogReportingModule::class, NetworkConnectionUtilProdModule::class,
HintsAndSolutionProdModule::class, MetricLogSchedulerModule::class,
PerformanceMetricsConfigurationsModule::class, AlphaBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, CpuPerformanceSnapshotterModule::class,
+ CpuPerformanceSnapshotterModule::class,
PerformanceMetricsAssessorModule::class, ExplorationProgressModule::class,
AuthenticationModule::class,
]
diff --git a/app/src/main/java/org/oppia/android/app/application/alpha/BUILD.bazel b/app/src/main/java/org/oppia/android/app/application/alpha/BUILD.bazel
index d83972809b7..935d66a7c55 100644
--- a/app/src/main/java/org/oppia/android/app/application/alpha/BUILD.bazel
+++ b/app/src/main/java/org/oppia/android/app/application/alpha/BUILD.bazel
@@ -19,7 +19,6 @@ kt_android_library(
"//app/src/main/java/org/oppia/android/app/application:application_component",
"//app/src/main/java/org/oppia/android/app/application:common_application_modules",
"//domain/src/main/java/org/oppia/android/domain/auth:auth_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:prod_module",
"//utility/src/main/java/org/oppia/android/util/networking:prod_module",
],
@@ -31,7 +30,6 @@ kt_android_library(
"AlphaBuildFlavorModule.kt",
],
visibility = [
- "//app/src/main/java/org/oppia/android/app/application/alphakenya:__pkg__",
"//app/src/test/java/org/oppia/android/app/application/alpha:__pkg__",
],
deps = [
diff --git a/app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaApplicationComponent.kt b/app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaApplicationComponent.kt
deleted file mode 100644
index bc5ecdf8093..00000000000
--- a/app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaApplicationComponent.kt
+++ /dev/null
@@ -1,115 +0,0 @@
-package org.oppia.android.app.application.alphakenya
-
-import dagger.Component
-import org.oppia.android.app.activity.route.ActivityRouterModule
-import org.oppia.android.app.application.ApplicationComponent
-import org.oppia.android.app.application.ApplicationModule
-import org.oppia.android.app.application.ApplicationStartupListenerModule
-import org.oppia.android.app.application.alpha.AlphaBuildFlavorModule
-import org.oppia.android.app.devoptions.DeveloperOptionsModule
-import org.oppia.android.app.player.state.itemviewmodel.SplitScreenInteractionModule
-import org.oppia.android.app.shim.IntentFactoryShimModule
-import org.oppia.android.app.shim.ViewBindingShimModule
-import org.oppia.android.app.translation.ActivityRecreatorProdModule
-import org.oppia.android.data.backends.gae.NetworkConfigProdModule
-import org.oppia.android.data.backends.gae.NetworkModule
-import org.oppia.android.domain.auth.AuthenticationModule
-import org.oppia.android.domain.classify.InteractionsModule
-import org.oppia.android.domain.classify.rules.algebraicexpressioninput.AlgebraicExpressionInputModule
-import org.oppia.android.domain.classify.rules.continueinteraction.ContinueModule
-import org.oppia.android.domain.classify.rules.dragAndDropSortInput.DragDropSortInputModule
-import org.oppia.android.domain.classify.rules.fractioninput.FractionInputModule
-import org.oppia.android.domain.classify.rules.imageClickInput.ImageClickInputModule
-import org.oppia.android.domain.classify.rules.itemselectioninput.ItemSelectionInputModule
-import org.oppia.android.domain.classify.rules.mathequationinput.MathEquationInputModule
-import org.oppia.android.domain.classify.rules.multiplechoiceinput.MultipleChoiceInputModule
-import org.oppia.android.domain.classify.rules.numberwithunits.NumberWithUnitsRuleModule
-import org.oppia.android.domain.classify.rules.numericexpressioninput.NumericExpressionInputModule
-import org.oppia.android.domain.classify.rules.numericinput.NumericInputRuleModule
-import org.oppia.android.domain.classify.rules.ratioinput.RatioInputModule
-import org.oppia.android.domain.classify.rules.textinput.TextInputRuleModule
-import org.oppia.android.domain.exploration.ExplorationProgressModule
-import org.oppia.android.domain.exploration.ExplorationStorageModule
-import org.oppia.android.domain.hintsandsolution.HintsAndSolutionConfigAlphaKenyaModule
-import org.oppia.android.domain.hintsandsolution.HintsAndSolutionProdModule
-import org.oppia.android.domain.onboarding.ExpirationMetaDataRetrieverModule
-import org.oppia.android.domain.oppialogger.LogStorageModule
-import org.oppia.android.domain.oppialogger.LoggingIdentifierModule
-import org.oppia.android.domain.oppialogger.analytics.ApplicationLifecycleModule
-import org.oppia.android.domain.oppialogger.analytics.CpuPerformanceSnapshotterModule
-import org.oppia.android.domain.oppialogger.exceptions.UncaughtExceptionLoggerModule
-import org.oppia.android.domain.oppialogger.logscheduler.MetricLogSchedulerModule
-import org.oppia.android.domain.oppialogger.loguploader.LogReportWorkerModule
-import org.oppia.android.domain.platformparameter.PlatformParameterAlphaKenyaModule
-import org.oppia.android.domain.platformparameter.PlatformParameterSingletonModule
-import org.oppia.android.domain.platformparameter.syncup.PlatformParameterSyncUpWorkerModule
-import org.oppia.android.domain.question.QuestionModule
-import org.oppia.android.domain.workmanager.WorkManagerConfigurationModule
-import org.oppia.android.util.accessibility.AccessibilityProdModule
-import org.oppia.android.util.caching.AssetModule
-import org.oppia.android.util.caching.CachingModule
-import org.oppia.android.util.gcsresource.GcsResourceModule
-import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.KenyaAlphaEventLoggingConfigurationModule
-import org.oppia.android.util.logging.LoggerModule
-import org.oppia.android.util.logging.SyncStatusModule
-import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
-import org.oppia.android.util.logging.firebase.LogReportingModule
-import org.oppia.android.util.logging.performancemetrics.PerformanceMetricsAssessorModule
-import org.oppia.android.util.logging.performancemetrics.PerformanceMetricsConfigurationsModule
-import org.oppia.android.util.networking.NetworkConnectionDebugUtilModule
-import org.oppia.android.util.networking.NetworkConnectionUtilProdModule
-import org.oppia.android.util.parser.html.HtmlParserEntityTypeModule
-import org.oppia.android.util.parser.image.GlideImageLoaderModule
-import org.oppia.android.util.parser.image.ImageParsingModule
-import org.oppia.android.util.system.OppiaClockModule
-import org.oppia.android.util.threading.DispatcherModule
-import javax.inject.Singleton
-
-/**
- * Root Dagger component for the alpha version of the application specific to a user study in Kenya.
- *
- * All application-scoped modules should be included in this component.
- */
-@Singleton
-@Component(
- modules = [
- ApplicationModule::class, DispatcherModule::class, LoggerModule::class, OppiaClockModule::class,
- ContinueModule::class, FractionInputModule::class, ItemSelectionInputModule::class,
- MultipleChoiceInputModule::class, NumberWithUnitsRuleModule::class,
- NumericInputRuleModule::class, TextInputRuleModule::class, DragDropSortInputModule::class,
- InteractionsModule::class, GcsResourceModule::class, GlideImageLoaderModule::class,
- ImageParsingModule::class, HtmlParserEntityTypeModule::class, CachingModule::class,
- QuestionModule::class, AccessibilityProdModule::class, ImageClickInputModule::class,
- LogStorageModule::class, IntentFactoryShimModule::class, ViewBindingShimModule::class,
- ExpirationMetaDataRetrieverModule::class,
- RatioInputModule::class, UncaughtExceptionLoggerModule::class,
- ApplicationStartupListenerModule::class, LogReportWorkerModule::class,
- WorkManagerConfigurationModule::class, HintsAndSolutionConfigAlphaKenyaModule::class,
- FirebaseLogUploaderModule::class, NetworkModule::class,
- PlatformParameterAlphaKenyaModule::class, PlatformParameterSingletonModule::class,
- ExplorationStorageModule::class, DeveloperOptionsModule::class,
- PlatformParameterSyncUpWorkerModule::class, NetworkConfigProdModule::class, AssetModule::class,
- LocaleProdModule::class, ActivityRecreatorProdModule::class, ActivityRouterModule::class,
- NumericExpressionInputModule::class, AlgebraicExpressionInputModule::class,
- MathEquationInputModule::class, SplitScreenInteractionModule::class,
- LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
- NetworkConnectionDebugUtilModule::class, LoggingIdentifierModule::class,
- SyncStatusModule::class, LogReportingModule::class, NetworkConnectionUtilProdModule::class,
- HintsAndSolutionProdModule::class, MetricLogSchedulerModule::class,
- PerformanceMetricsConfigurationsModule::class, AlphaBuildFlavorModule::class,
- KenyaAlphaEventLoggingConfigurationModule::class, CpuPerformanceSnapshotterModule::class,
- PerformanceMetricsAssessorModule::class, ExplorationProgressModule::class,
- AuthenticationModule::class,
- ]
-)
-interface AlphaKenyaApplicationComponent : ApplicationComponent {
- /**
- * The [ApplicationComponent.Builder] for this component. Dagger will generate an implementation
- * of this builder for use.
- */
- @Component.Builder
- interface Builder : ApplicationComponent.Builder {
- override fun build(): AlphaKenyaApplicationComponent
- }
-}
diff --git a/app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaOppiaApplication.kt b/app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaOppiaApplication.kt
deleted file mode 100644
index 00566b9b6f6..00000000000
--- a/app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaOppiaApplication.kt
+++ /dev/null
@@ -1,9 +0,0 @@
-package org.oppia.android.app.application.alphakenya
-
-import org.oppia.android.app.application.AbstractOppiaApplication
-
-// TODO(#4419): Remove this application class & broader Kenya-specific alpha package.
-/** The root [AbstractOppiaApplication] for the Kenya-specific alpha build of the Oppia app. */
-class AlphaKenyaOppiaApplication : AbstractOppiaApplication(
- DaggerAlphaKenyaApplicationComponent::builder
-)
diff --git a/app/src/main/java/org/oppia/android/app/application/alphakenya/BUILD.bazel b/app/src/main/java/org/oppia/android/app/application/alphakenya/BUILD.bazel
deleted file mode 100644
index 33f82ca7469..00000000000
--- a/app/src/main/java/org/oppia/android/app/application/alphakenya/BUILD.bazel
+++ /dev/null
@@ -1,27 +0,0 @@
-"""
-This package contains the root application definitions for a Kenya user study specific alpha build
-of the app.
-"""
-
-load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
-
-kt_android_library(
- name = "alpha_kenya_application",
- srcs = [
- "AlphaKenyaApplicationComponent.kt",
- "AlphaKenyaOppiaApplication.kt",
- ],
- visibility = ["//:oppia_binary_visibility"],
- deps = [
- "//:dagger",
- "//app",
- "//app/src/main/java/org/oppia/android/app/application:abstract_application",
- "//app/src/main/java/org/oppia/android/app/application:application_component",
- "//app/src/main/java/org/oppia/android/app/application:common_application_modules",
- "//app/src/main/java/org/oppia/android/app/application/alpha:alpha_build_flavor_module",
- "//domain/src/main/java/org/oppia/android/domain/auth:auth_module",
- "//utility/src/main/java/org/oppia/android/util/logging:kenya_alpha_event_logging_configuration_module",
- "//utility/src/main/java/org/oppia/android/util/logging/firebase:prod_module",
- "//utility/src/main/java/org/oppia/android/util/networking:prod_module",
- ],
-)
diff --git a/app/src/main/java/org/oppia/android/app/application/beta/BUILD.bazel b/app/src/main/java/org/oppia/android/app/application/beta/BUILD.bazel
index e615e151ac2..3023007d58f 100644
--- a/app/src/main/java/org/oppia/android/app/application/beta/BUILD.bazel
+++ b/app/src/main/java/org/oppia/android/app/application/beta/BUILD.bazel
@@ -22,7 +22,6 @@ kt_android_library(
"//app/src/main/java/org/oppia/android/app/application:application_component",
"//app/src/main/java/org/oppia/android/app/application:common_application_modules",
"//domain/src/main/java/org/oppia/android/domain/auth:auth_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:prod_module",
"//utility/src/main/java/org/oppia/android/util/networking:prod_module",
],
diff --git a/app/src/main/java/org/oppia/android/app/application/beta/BetaApplicationComponent.kt b/app/src/main/java/org/oppia/android/app/application/beta/BetaApplicationComponent.kt
index 1b63f350433..45ccf6f11a8 100644
--- a/app/src/main/java/org/oppia/android/app/application/beta/BetaApplicationComponent.kt
+++ b/app/src/main/java/org/oppia/android/app/application/beta/BetaApplicationComponent.kt
@@ -49,7 +49,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.CachingModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -97,7 +96,7 @@ import javax.inject.Singleton
SyncStatusModule::class, LogReportingModule::class, NetworkConnectionUtilProdModule::class,
HintsAndSolutionProdModule::class, MetricLogSchedulerModule::class,
PerformanceMetricsConfigurationsModule::class, BetaBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, PerformanceMetricsAssessorModule::class,
ExplorationProgressModule::class, AuthenticationModule::class,
]
diff --git a/app/src/main/java/org/oppia/android/app/application/dev/BUILD.bazel b/app/src/main/java/org/oppia/android/app/application/dev/BUILD.bazel
index 76e56e3bab1..8831acd7ef7 100644
--- a/app/src/main/java/org/oppia/android/app/application/dev/BUILD.bazel
+++ b/app/src/main/java/org/oppia/android/app/application/dev/BUILD.bazel
@@ -26,7 +26,6 @@ kt_android_library(
"//app/src/main/java/org/oppia/android/app/application:application_component",
"//app/src/main/java/org/oppia/android/app/application:common_application_modules",
"//domain/src/main/java/org/oppia/android/domain/auth:auth_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/app/src/main/java/org/oppia/android/app/application/dev/DeveloperApplicationComponent.kt b/app/src/main/java/org/oppia/android/app/application/dev/DeveloperApplicationComponent.kt
index 4c938925cc8..7607dfba33a 100644
--- a/app/src/main/java/org/oppia/android/app/application/dev/DeveloperApplicationComponent.kt
+++ b/app/src/main/java/org/oppia/android/app/application/dev/DeveloperApplicationComponent.kt
@@ -50,7 +50,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.CachingModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.DebugLogReportingModule
@@ -99,7 +98,7 @@ import javax.inject.Singleton
NetworkConnectionDebugUtilModule::class, LoggingIdentifierModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class,
PerformanceMetricsAssessorModule::class, PerformanceMetricsConfigurationsModule::class,
- DeveloperBuildFlavorModule::class, EventLoggingConfigurationModule::class,
+ DeveloperBuildFlavorModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
AuthenticationModule::class,
]
diff --git a/app/src/main/java/org/oppia/android/app/application/ga/BUILD.bazel b/app/src/main/java/org/oppia/android/app/application/ga/BUILD.bazel
index da232f782d2..1cdb245597a 100644
--- a/app/src/main/java/org/oppia/android/app/application/ga/BUILD.bazel
+++ b/app/src/main/java/org/oppia/android/app/application/ga/BUILD.bazel
@@ -22,7 +22,6 @@ kt_android_library(
"//app/src/main/java/org/oppia/android/app/application:application_component",
"//app/src/main/java/org/oppia/android/app/application:common_application_modules",
"//domain/src/main/java/org/oppia/android/domain/auth:auth_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:prod_module",
"//utility/src/main/java/org/oppia/android/util/networking:prod_module",
],
diff --git a/app/src/main/java/org/oppia/android/app/application/ga/GaApplicationComponent.kt b/app/src/main/java/org/oppia/android/app/application/ga/GaApplicationComponent.kt
index 23fcae14bc3..b4dd98d67c2 100644
--- a/app/src/main/java/org/oppia/android/app/application/ga/GaApplicationComponent.kt
+++ b/app/src/main/java/org/oppia/android/app/application/ga/GaApplicationComponent.kt
@@ -49,7 +49,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.CachingModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -97,7 +96,7 @@ import javax.inject.Singleton
SyncStatusModule::class, LogReportingModule::class, NetworkConnectionUtilProdModule::class,
HintsAndSolutionProdModule::class, MetricLogSchedulerModule::class,
PerformanceMetricsConfigurationsModule::class, GaBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, PerformanceMetricsAssessorModule::class,
ExplorationProgressModule::class, AuthenticationModule::class,
]
diff --git a/app/src/main/java/org/oppia/android/app/drawer/ExitProfileDialogFragment.kt b/app/src/main/java/org/oppia/android/app/drawer/ExitProfileDialogFragment.kt
index 7900163e9a5..2dfdd918fc7 100644
--- a/app/src/main/java/org/oppia/android/app/drawer/ExitProfileDialogFragment.kt
+++ b/app/src/main/java/org/oppia/android/app/drawer/ExitProfileDialogFragment.kt
@@ -70,7 +70,6 @@ class ExitProfileDialogFragment : InjectableDialogFragment() {
dialog.dismiss()
}
.setPositiveButton(R.string.home_activity_back_dialog_exit) { _, _ ->
- // TODO(#3641): Investigate on using finish instead of intent.
val intent = ProfileChooserActivity.createProfileChooserActivity(activity!!)
if (!restoreLastCheckedItem) {
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
diff --git a/app/src/main/java/org/oppia/android/app/profile/AddProfileActivity.kt b/app/src/main/java/org/oppia/android/app/profile/AddProfileActivity.kt
index 1acff5fd581..c7d0e60857c 100644
--- a/app/src/main/java/org/oppia/android/app/profile/AddProfileActivity.kt
+++ b/app/src/main/java/org/oppia/android/app/profile/AddProfileActivity.kt
@@ -44,10 +44,7 @@ class AddProfileActivity : InjectableAutoLocalizedAppCompatActivity() {
}
override fun onSupportNavigateUp(): Boolean {
- // TODO(#3641): Investigate on using finish instead of intent.
- val intent = Intent(this, ProfileChooserActivity::class.java)
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
- startActivity(intent)
+ finish()
return false
}
diff --git a/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/MarketFitItemsViewModel.kt b/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/MarketFitItemsViewModel.kt
index e2b7fe43a5e..bef9347e3d0 100644
--- a/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/MarketFitItemsViewModel.kt
+++ b/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/MarketFitItemsViewModel.kt
@@ -12,6 +12,7 @@ import org.oppia.android.app.survey.PreviousAnswerHandler
import org.oppia.android.app.survey.SelectedAnswerAvailabilityReceiver
import org.oppia.android.app.survey.SelectedAnswerHandler
import org.oppia.android.app.translation.AppLanguageResourceHandler
+import org.oppia.android.util.enumfilter.filterByEnumCondition
import javax.inject.Inject
/** [SurveyAnswerItemViewModel] for the market fit question options. */
@@ -98,8 +99,12 @@ class MarketFitItemsViewModel @Inject constructor(
private fun getMarketFitOptions(): ObservableList {
val appName = resourceHandler.getStringInLocale(R.string.app_name)
val observableList = ObservableArrayList()
- observableList += MarketFitAnswer.values()
- .filter { it.isValid() }
+ val filteredmarketFitAnswer = filterByEnumCondition(
+ MarketFitAnswer.values().toList(),
+ { marketFitAnswer -> marketFitAnswer },
+ { marketFitAnswer -> marketFitAnswer.isValid() }
+ )
+ observableList += filteredmarketFitAnswer
.mapIndexed { index, marketFitAnswer ->
when (marketFitAnswer) {
MarketFitAnswer.VERY_DISAPPOINTED -> MultipleChoiceOptionContentViewModel(
diff --git a/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/UserTypeItemsViewModel.kt b/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/UserTypeItemsViewModel.kt
index 14482c2775e..a03a78d10c8 100644
--- a/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/UserTypeItemsViewModel.kt
+++ b/app/src/main/java/org/oppia/android/app/survey/surveyitemviewmodel/UserTypeItemsViewModel.kt
@@ -12,6 +12,7 @@ import org.oppia.android.app.survey.SelectedAnswerAvailabilityReceiver
import org.oppia.android.app.survey.SelectedAnswerHandler
import org.oppia.android.app.translation.AppLanguageResourceHandler
import org.oppia.android.app.viewmodel.ObservableArrayList
+import org.oppia.android.util.enumfilter.filterByEnumCondition
import javax.inject.Inject
/** [SurveyAnswerItemViewModel] for providing the type of user question options. */
@@ -97,46 +98,36 @@ class UserTypeItemsViewModel @Inject constructor(
private fun getUserTypeOptions(): ObservableArrayList {
val observableList = ObservableArrayList()
- observableList += UserTypeAnswer.values()
- .filter { it.isValid() }
- .mapIndexed { index, userTypeOption ->
- when (userTypeOption) {
- UserTypeAnswer.LEARNER ->
- MultipleChoiceOptionContentViewModel(
- resourceHandler.getStringInLocale(
- R.string.user_type_answer_learner
- ),
- index,
- this
- )
- UserTypeAnswer.TEACHER -> MultipleChoiceOptionContentViewModel(
- resourceHandler.getStringInLocale(
- R.string.user_type_answer_teacher
- ),
- index,
- this
- )
-
- UserTypeAnswer.PARENT ->
- MultipleChoiceOptionContentViewModel(
- resourceHandler.getStringInLocale(
- R.string.user_type_answer_parent
- ),
- index,
- this
- )
-
- UserTypeAnswer.OTHER ->
- MultipleChoiceOptionContentViewModel(
- resourceHandler.getStringInLocale(
- R.string.user_type_answer_other
- ),
- index,
- this
- )
- else -> throw IllegalStateException("Invalid UserTypeAnswer")
- }
+ val filteredUserTypes = filterByEnumCondition(
+ UserTypeAnswer.values().toList(),
+ { userTypeAnswer -> userTypeAnswer },
+ { userTypeAnswer -> userTypeAnswer.isValid() }
+ )
+ observableList += filteredUserTypes.mapIndexed { index, userTypeOption ->
+ when (userTypeOption) {
+ UserTypeAnswer.LEARNER -> MultipleChoiceOptionContentViewModel(
+ resourceHandler.getStringInLocale(R.string.user_type_answer_learner),
+ index,
+ this
+ )
+ UserTypeAnswer.TEACHER -> MultipleChoiceOptionContentViewModel(
+ resourceHandler.getStringInLocale(R.string.user_type_answer_teacher),
+ index,
+ this
+ )
+ UserTypeAnswer.PARENT -> MultipleChoiceOptionContentViewModel(
+ resourceHandler.getStringInLocale(R.string.user_type_answer_parent),
+ index,
+ this
+ )
+ UserTypeAnswer.OTHER -> MultipleChoiceOptionContentViewModel(
+ resourceHandler.getStringInLocale(R.string.user_type_answer_other),
+ index,
+ this
+ )
+ else -> throw IllegalStateException("Invalid UserTypeAnswer")
}
+ }
return observableList
}
diff --git a/app/src/main/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentPresenter.kt b/app/src/main/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentPresenter.kt
index 66a5a32b2df..1f38909e9d3 100644
--- a/app/src/main/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentPresenter.kt
+++ b/app/src/main/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentPresenter.kt
@@ -30,6 +30,7 @@ import org.oppia.android.domain.oppialogger.OppiaLogger
import org.oppia.android.util.accessibility.AccessibilityService
import org.oppia.android.util.data.AsyncResult
import org.oppia.android.util.data.DataProviders.Companion.toLiveData
+import org.oppia.android.util.enumfilter.filterByEnumCondition
import javax.inject.Inject
/** The presenter for [TopicLessonsFragment]. */
@@ -161,18 +162,18 @@ class TopicLessonsFragmentPresenter @Inject constructor(
val chapterSummaries = storySummaryViewModel
.storySummary.chapterList
- val completedChapterCount =
- chapterSummaries.map(ChapterSummary::getChapterPlayState)
- .filter {
- it == ChapterPlayState.COMPLETED
- }
- .size
+ val completedChapterCount = filterByEnumCondition(
+ chapterSummaries.map(ChapterSummary::getChapterPlayState),
+ { it },
+ { it == ChapterPlayState.COMPLETED }
+ ).size
+
val inProgressChapterCount =
- chapterSummaries.map(ChapterSummary::getChapterPlayState)
- .filter {
- it == ChapterPlayState.IN_PROGRESS_SAVED
- }
- .size
+ filterByEnumCondition(
+ chapterSummaries.map(ChapterSummary::getChapterPlayState),
+ { it },
+ { it == ChapterPlayState.IN_PROGRESS_SAVED }
+ ).size
val storyPercentage: Int =
(completedChapterCount * 100) / storySummaryViewModel.storySummary.chapterCount
diff --git a/app/src/main/res/drawable/splash_image.xml b/app/src/main/res/drawable/splash_image.xml
new file mode 100644
index 00000000000..d71dfdee03e
--- /dev/null
+++ b/app/src/main/res/drawable/splash_image.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/app/src/main/res/drawable/splash_page.xml b/app/src/main/res/drawable/splash_page.xml
index 96790799d5d..a95dba7e5eb 100644
--- a/app/src/main/res/drawable/splash_page.xml
+++ b/app/src/main/res/drawable/splash_page.xml
@@ -3,12 +3,6 @@
android:height="640dp"
android:viewportWidth="360"
android:viewportHeight="640">
-
-
-
-
diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml
index 81bca583bed..251a04d4bcd 100644
--- a/app/src/main/res/values-ar/strings.xml
+++ b/app/src/main/res/values-ar/strings.xml
@@ -4,10 +4,11 @@
* Meno25
* MohamedMedhat
* Mouradeq
+* SamarBenNafa
* Sarah zoubida
* Seanlip
-->
-
+
أعلى قائمة التنقل
خيارات
التنزيلات
@@ -23,13 +24,13 @@
تشغيل الصوت
إيقاف الصوت مؤقتًا
صوت %s غير متوفر.
- موافق
+ نعم
إلغاء
لغة الصوت
غير متصل بالإنترنت
من فضلك تأكد من وجود اتصال بالإنترنت عن طريق شبكة الوايفاي أو بيانات الهاتف، ثم حاول مرة أخرى.
- حسنًا
- موافق
+ نعم
+ نعم
إلغاء
متصل بالإنترنت عن طريق بيانات الهاتف
تشغيل الصوت عبر الإنترنت قد يستخدم الكثير من بيانات الهاتف.
@@ -91,10 +92,10 @@
الموضوع: %s
موضوع
المواضيع قيد التقدم
- فصل %s: %s
- تم انهاء الفصل %s الذي يحمل عنوان %s
- الفصل %s الذي يحمل عنوان %s ما زال قيد التقدم
- قم بإنهاء الفصل %s: %s لكي تفتح هذا الفصل.
+ الفصل %1$s: %2$s
+ تم الانتهاء من الفصل %1$s بعنوان %2$s
+ الفصل %1$s بعنوان %2$s قيد التنفيذ
+ أكمل الفصل %1$s : %2$s لفتح هذا الفصل.
أكمل الفصل السابق لفتح هذا الفصل.
أدخل النص.
أدخل كسر عشري في الصيغة (بسط/مقام)، أو عدد كسري في الصيغة (عدد بسط/مقام).
@@ -149,7 +150,7 @@
المواضيع التي تم تنزيلها
تم التنزيل
وضع الممارسة
- السؤال %s من أصل %s
+ السؤال %1$s من %2$s
تمّ
تم الإنتهاء
تم الإنتهاء من جميع الأسئلة! يمكنك بدأ مجموعة أسئلة أخرى، أو العودة للموضوع.
@@ -167,12 +168,12 @@
لا يجب أن يحتوي أي رقم في الكسر العشري على أكثر من 7 أرقام.
من فضلك إبدأ إجابتك برقم (0 او 0.5 على سبيل المثال)
من فضلك قم بإدخال رقم صالح.
- (–يمكن أن تحتوي الإجابة على 15 رقمًا (0-9) على الأكثر أو الرموز (. أو
- من فضلك قم بكتابة نسبة تتكون من أرقام مفصولة بنقطتين رأسيتين (1:2 أو 1:2:3 على سبيل المثال).
- من فضلك أدخل نسبة صحيحة (1:2 أو 1:2:3 على سبيل المثال)
- إجابتك تحتوي على نقطتين رأسيتين (:) متتاليتين.
- عدد الحدود لا يساوي العدد المطلوب.
- لا يمكن أن تحتوي النسب على 0 كعنصر.
+ (–يمكن أن تحتوي الإجابة على 15 رقمًا (0-9) على الأكثر أو الرموز (. أو
+ يرجى كتابة نسبة تتكون من أرقام مفصولة بعلامات نقطية (على سبيل المثال 1:2 أو 1:2:3).
+ الرجاء إدخال نسبة صالحة (على سبيل المثال 1:2 أو 1:2:3).
+ إجابتك تحتوي على علامتي نقطتين (:) بجانب بعضهما البعض.
+ عدد المصطلحات لا يساوي عدد المصطلحات المطلوبة.
+ لا يمكن للنسب أن تحتوي على 0 كعنصر.
الحجم مجهول
%s بايت
%s ك.ب
@@ -180,7 +181,7 @@
%s ج.ب
صحيح!
الموضوع: %s
-
+
- و لا فصل
- فصلًا واحدًا
- فصلان
@@ -188,7 +189,7 @@
- %s من الفصول
- %s من الفصول
-
+
- و لا قصة
- قصة واحدة
- قصتان
@@ -197,14 +198,14 @@
- %s من القصص
- - و لا فصل مكتمل
- - فصل %s مكتمل من %s
- - فصلان %s مكتملان من %s
- - %sفصول مكتملة من %s
- - %s فصول مكتملة من %s
- - %s فصول مكتملة من %s
+ - لا فصل
+ - %1$s من %2$s فصل مكتمل
+ - فصلان
+ - فصول قليلة
+ - فصول كثيرة
+ - %1$s من %2$s فصل مكتمل
-
+
- و لا درس
- درسًا واحدًا
- درسان
@@ -212,7 +213,7 @@
- %s درس
- %s درس
-
+
- و لا قصة مكتملة
- قصة واحدة مكتملة
- قصتان مكتملتان
@@ -220,7 +221,7 @@
- %s قصة مكتملة
- %s قصة مكتملة
-
+
- و لا موضوع في تقدم
- موضوع واحد في تقدم
- موضوعان في تقدم
@@ -285,7 +286,7 @@
تخطي
التالي
ابدأ
- شاشة العرض %s من %s
+ الشريحة %1$s من %2$s
أهلًا، %s!
من فضلك أدخل رقم التعريف الشخصي الخاص بالمشرف.
من فضلك أدخل رقم التعريف الشخصي الخاص بك.
@@ -350,7 +351,7 @@
اختيار من المعرض
إعادة تسمية الملف الشخصي
الاسم الجديد
- حفظ
+ يحفظ
إعادة ضبط رقم التعريف الشخصي
أدخل رقم تعريف شخصي جديد للمستخدم كي يستخدمه عند الدخول إلى ملفه الشخصي.
رقم تعريف شخصي مكون من 3 أرقام
@@ -383,12 +384,12 @@
تم تثبيت آخر إصدار في %s. قم باستخدام رقم الإصدار في الأعلى للإبلاغ عن أعطال التطبيق.
إصدار التطبيق
لغة التطبيق
- لغة الصوت الافتراضية
+ لغة الصوت المفضلة
حجم النص المقروء
حجم النص المقروء
سيظهر نص القصة بهذا الشكل.
أ
- الصوت الافتراضي
+ اللغة الصوتية المفضلة
لغة التطبيق
حجم النص المقروء
صغير
@@ -411,14 +412,14 @@
عظيم
هيّا نبدأ.
نعم
- …لا
+ …لا
اختر موضوعًا\nآخرًا.
هل أنت مهتم بـ:\n%s
ملاحظة جديدة متاحة
لا يوجد تلميح جديد متاح
إظهار الملاحظات والحل
تلميح %s
- العودة للسابق
+ يغلق
الملاحظات
عرض الحل
عرض الحل
@@ -443,13 +444,13 @@
تحريك العنصر إلى الأعلى عند %s
أعلى
أسفل
- %s %s
+ %1$s %2$s
topic_revision_recyclerview_tag
ongoing_recycler_view_tag
برجاء اختيار خيار واحد على الأقل.
- إصدار تطبيق غير مدعوم
- هذا الإصدار من التطبيق لم يعد مدعومًا. من فضلك قم بتحديث التطبيق من خلال متجر بلاي (Play Store)
- إغلاق التطبيق
+ إصدار التطبيق غير مدعوم
+ لم يعد هذا الإصدار من التطبيق مدعومًا. يرجى تحديثه عبر متجر Play.
+ إغلاق التطبيق
بناء المطور
ألفا
بيتا
@@ -461,8 +462,8 @@
مرحبًا! يتم الآن تحديث تطبيقك إلى إصدار التوفر العام. إذا واجهت مشاكل أثناء استخدام التطبيق ، أو كانت لديك أسئلة ، فيرجى الاتصال بنا على android-feedback@oppia.org.
لا تظهر هذه الرسالة مرة أخرى
نعم
- إلى
- أدخل نسبة في الصيغة س:ص.
+ ل
+ أدخل النسبة بالصيغة x:y.
انقر هنا لإدخال نص.
أصغر حجمًا للنص
أكبر حجمًا للنص
@@ -498,19 +499,31 @@
شروط الخدمة
باستخدام %s ، فإنك توافق على<br><oppia-noninteractive-policy link=\"tos\"> شروط الخدمة</oppia-noninteractive-policy> و<oppia-noninteractive-policy link=\"privacy\"> سياسة الخصوصية</oppia-noninteractive-policy> .
يرجى زيارة <a href=\"https://www.oppia.org/terms\">هذه الصفحة</a> للحصول على أحدث نسخة من هذه الشروط.
- كيف يمكنني إنشاء ملف تعريف(حساب) جديد؟
- كيف يمكنني حذف ملف التعريف(حساب)؟
ما هي %s؟
من هو المشرف؟
+ كيف يمكنني إنشاء ملف تعريف(حساب) جديد؟
+ كيف أحصل على التطبيق باللغة الخاصة بي؟
+ لقد وجدت خطأً. كيف يمكنني الإبلاغ عنه؟
+ لماذا هناك دروس الرياضيات فقط؟
+ هل ستقوم بعمل المزيد من الدروس؟
لماذا لا يتم تحميل مشغل الاستكشاف؟
لماذا لا يتم تشغيل الصوت الخاص بي؟
+ كيف يمكنني حذف ملف التعريف(حساب)؟
+ كيف أقوم بتحديث التطبيق؟
+ كيف أقوم بتحديث نظام التشغيل Android الخاص بي؟
لا أجد سؤالي هنا. ماذا الان؟
- <p>إذا كانت هذه هي المرة الأولى التي تنشئ فيها ملفًا شخصيًا وليس لديك رقم تعريف شخصي: <ol><li> من منتقي الملف الشخصي ، اضغط على<strong> قم بإعداد ملفات تعريف متعددة</strong></li><li> قم بإنشاء رقم تعريف شخصي و<strong>احفظ</strong></li><li> املأ جميع البيانات للملف الشخصي.<ol><li>(اختياري) قم بتحميل صورة.</li> <li>إدخال اسم.</li> <li>(اختياري) قم بتعيين رقم تعريف شخصي مكون من 3 أرقام.</li></ol></li><li> اضغط<strong>إنشاء</strong> . تمت إضافة هذا الملف الشخصي إلى منتقي ملف التعريف الخاص بك!</li></ol></p><p> إذا قمت بإنشاء ملف تعريف من قبل ولديك رقم تعريف شخصي:<ol><li> من منتقي الملف الشخصي ، اضغط على<strong>إضافة الملف الشخصي</strong></li> <li> أدخل رقم التعريف الشخصي الخاص بك وانقر فوق<strong>إرسال</strong></li><li> املأ جميع الحقول للملف الشخصي. <ol> <li>(اختياري) قم بتحميل صورة.</li> <li>إدخال اسم.</li> <li>(اختياري) قم بتعيين رقم تعريف شخصي مكون من 3 أرقام. </li></ol></li><li> اضغط<strong>إنشاء</strong> . تمت إضافة هذا الملف الشخصي إلى منتقي ملف التعريف الخاص بك!</li></ol></p><br><p> ملاحظة: فقط ال<u>مدير</u> قادر على إدارة الملفات الشخصية.</p>
- <p>بمجرد حذف ملف التعريف:</p><ol><li>لا يمكن استعادة ملف التعريف.</li><li>سيتم حذف معلومات الملف الشخصي مثل الاسم والصور والتقدم بشكل دائم.</li></ol><p>لحذف ملف تعريف (باستثناء<u>المسؤول</u>):</p><ol><li> من الصفحة الرئيسية للمسؤول ، اضغط على زر القائمة أعلى اليسار.</li><li> اضغط على<strong>ضوابط المسؤول</strong>. </li><li> اضغط على<strong>تحرير ملفات التعريف</strong>.</li><li> اضغط على الملف الشخصي الذي ترغب في حذفه.</li><li> في الجزء السفلي من الشاشة ، انقر فوق<strong>حذف الملف الشخصي</strong>. </li><li> اضغط<strong>حذف</strong>لتأكيد الحذف. </li></ol><p><br></p><p> ملاحظة:<u>المسؤول</u>فقط هو القادر على إدارة الملفات الشخصية.</p>
<p>%1$s <i>\"أو-بي-يا\"</i>(فنلندية) - \"للتعلم\"</p><p><br></p><p>%1$sمهمتنا هي مساعدة أي شخص على تعلم أي شيء يريده بطريقة فعالة وممتعة.</p><p><br></p><p>من خلال إنشاء مجموعة من الدروس المجانية عالية الجودة والفعالة بشكل واضح بمساعدة معلمين من جميع أنحاء العالم ، تهدف %1$s إلى تزويد الطلاب بتعليم جيد - بغض النظر عن مكان وجودهم أو الموارد التقليدية التي يمكنهم الوصول إليها.</p><p><br></p><p>كطالب ، يمكنك أن تبدأ مغامرتك التعليمية من خلال تصفح الموضوعات المدرجة في الصفحة الرئيسية!</p>
- <p>المشرف هو المستخدم الرئيسي الذي يدير ملفات التعريف والإعدادات لكل ملف تعريف على حسابه. هم على الأرجح والدك أو معلمك أو وصي عليك الذي أنشأ هذا الملف الشخصي لك.</p><p><br></p><p>يمكن للمسؤولين إدارة الملفات الشخصية وتعيين أرقام التعريف الشخصية وتغيير الإعدادات الأخرى ضمن حساباتهم. بناءً على ملف التعريف الخاص بك ، قد تكون أذونات المسؤول مطلوبة لبعض الميزات مثل تنزيل الموضوعات وتغيير رقم التعريف الشخصي وغير ذلك.</p><p><br></p><p>لمعرفة من هو المسؤول لديك ، انتقل إلى منتقي الملف الشخصي. الملف الشخصي الأول المدرج ولديه \"المسؤول\" مكتوب باسمه هو المسؤول.</p>
- <p>إذا لم يتم تحميل مشغل الاستكشاف</p><p><br></p><p>تحقق لمعرفة ما إذا كان التطبيق محدثًا أم لا:</p><p> <ul> <li> انتقل إلى متجر Play وتأكد من تحديث التطبيق إلى أحدث إصدار </li></ul><p><br></p><p>تحقق من اتصالك بالإنترنت:</p><ul><li> إذا كان اتصالك بالإنترنت بطيئًا ، فحاول إعادة الاتصال بشبكة Wi-Fi أو الاتصال بشبكة أخرى. </li></ul><p>اطلب من المشرف التحقق من أجهزتهم واتصال الإنترنت:</p><ul><li> اطلب من المشرف استكشاف الأخطاء وإصلاحها باستخدام الخطوات المذكورة أعلاه </li></ul><p>أخبرنا إذا كنت لا تزال تواجه مشكلات في التحميل:</p><ul><li> أبلغ عن مشكلة عن طريق الاتصال بنا على admin@oppia.org. </li></ul>
- <p>إذا لم يتم تشغيل الصوت الخاص بك</p><p><br></p><p>تحقق لمعرفة ما إذا كان التطبيق محدثًا أم لا:</p><ul><li>انتقل إلى متجر Play وتأكد من تحديث التطبيق إلى أحدث إصدار</li></ul><p><br></p><p>تحقق من اتصالك بالإنترنت:</p><ul><li>إذا كان اتصالك بالإنترنت بطيئًا ، فحاول إعادة الاتصال بشبكة Wi-Fi أو الاتصال بشبكة أخرى. قد يتسبب الإنترنت البطيء في تحميل الصوت بشكل غير منتظم ، مما يجعل من الصعب تشغيله.</li></ul><p><br></p><p>اطلب من المسؤول التحقق من أجهزتهم واتصال الإنترنت:</p><ul><li>اطلب من المسؤول استكشاف الأخطاء وإصلاحها باستخدام الخطوات المذكورة أعلاه</li></ul><p><br></p><p>أخبرنا إذا كنت لا تزال تواجه مشكلات في التحميل:</p><ul><li>أبلغ عن مشكلة عن طريق الاتصال بنا على admin@oppia.org.</li></ul>
+ <p>المدير هو المستخدم الرئيسي الذي يدير الملفات الشخصية وإعدادات كل ملف على حسابه. من المحتمل أن يكونوا والديك أو معلمك أو وليكك الشخص الذي قام بإنشاء هذا الملف الشخصي لك.</p><p><br/></p><p>لدى المديرين القدرة على إدارة الملفات الشخصية وتعيين الرمز الرقمية والتحديد الإعدادات الأخرى تحت حسابهم. اعتمادا على ملفك الشخصي، قد تكون هناك حاجة إلى إذنات الإدارة لميزات معينة مثل تغيير رمز الرقم الشخصي، وغيرها.</p><p><br/></p><p>لمعرفة من هو مديرك، اذهب إلى خيار الملفات الشخصية. أول ملف تعريف مدرج ويتم كتابة \"المنظم\" تحت اسمهم هو المدير.</p>
+ <p>إذا كانت هذه هي المرة الأولى التي تقوم فيها بإنشاء ملف تعريف و لم يكن لديك رمز PIN: من خيار الملف تعريف، اضغط على إعداد ملف تعبير عدة. إخلق رقم PIN و حفظ. املأ جميع الحقول للملف الشخصي. (اختياري) تحميل صورة. أدخل اسمك (اختياري) تعيين رقم PIN 3 رقمي. اضغط على \"إنشاء\" هذا الملف الشخصي يضاف إلى اختيار الملف الشخصى الخاص بك!<ol><li>من اختيار الملفات الشخصية، اضغط على إعداد الملفات الملفات الأخرى.</li><li><strong>إبق</strong> رقم PIN و حفظ.</li><li>املأ جميع الحقول للملف الشخصي. (اختياري) تحميل صورة. أدخل اسمك (اختياري) تعيين رقم PIN 3 رقمي.<ol><li> (اختياري) تحميل صورة.</li><li>أدخل اسمك</li><li> (اختياري) تعيين رقم PIN 3 رقمي.</li></ol></li><li>اضغط على \"إنشاء\" هذا الملف الشخصي يضاف إلى اختيار الملف الشخصى الخاص بك!</li></ol></p><p>إذا كنت قد أنشأت ملفاً ملفاَ ملفاُ ملفاٌ ملفاٍ ملفاِ ملفا ً ملفا (PIN): من خيار الملفاً الملفاَ، اضغط على إضافة الملفاُ الملفاِ. أدخل رقم رسومك وتقرّب على \"إرسال\". املأ جميع الحقول للملف الشخصي. (اختياري) تحميل صورة. أدخل اسمك (اختياري) تعيين رقم PIN 3 رقمي. اضغط على \"إنشاء\" هذا الملف الشخصي يضاف إلى اختيار الملف الشخصى الخاص بك!<ol><li>من اختيار الملفات الشخصية، اضغط على إضافة الملفات.</li><li>أدخل رقم رسومك وتقرّب على \"<strong>إرسال</strong>\".</li><li>املأ جميع الحقول للملف الشخصي. (اختياري) تحميل صورة. أدخل اسمك (اختياري) تعيين رقم PIN 3 رقمي.<ol><li> (اختياري) تحميل صورة.</li><li>أدخل اسمك</li><li> (اختياري) تعيين رقم PIN 3 رقمي.</li></ol></li><li>اضغط على \"إنشاء\" هذا الملف الشخصي يضاف إلى اختيار الملف الشخصى الخاص بك!</li></ol></p><p><br/></p><p>ملاحظة: إدارة الملفات الشخصية يمكن <u>المدير</u> فقط.</p>
+ <p>التطبيق %s يدعم حاليا اللغة الإنجليزية والبرتغالية البرازيلية والعربية والسواحيلية والبيدجينية النيجيرية. اختر إحدى هذه اللغات من القائمة، في الخيارات. لطلب التطبيق باللغة التي تتحدث بها، يرجى الاتصال بنا على <strong>admin@oppia.org</strong>.</p>
+ <p><ol><li>من خلال %s شاشة التطبيق الرئيسية، اضغط على القائمة في أعلى الزاوية اليسرى</li><li>اضغط على <strong>مشاركة التعليقات</strong>.</li><li>اتبع التعليمات للإبلاغ عن الأخطاء أو مشاركة التعليقات</li></ol></p>
+ <p>%1$s مهمتها مساعدة المتعلمين على اكتساب المهارات الحياتية اللازمة. الرياضيات مهارة أساسية في الحياة اليومية1%$s سوف تقدم دروسا جديدة في العلوم وغيرها من المواد قريبا!</p>
+ <p>أجل, %s سوف تقدم دروسا جديدة في العلوم وفي مواد أخرى قريبا. الرجاء زيارتنا مجددا لمعرفة كل ماهو جديد!</p>
+ <p>إذا لم يتم تحميل جهاز التحقيق</p><p><br/></p><p>تحقق من تحديث التطبيق:</p><ul><li>اذهب إلى متجر Play وتأكد من تحديث التطبيق إلى أحدث إصدار</li></ul><p><br/></p><p>تحقق من اتصالك بالإنترنت:</p><ul><li>إذا كان اتصال الإنترنت بطيء، حاول إعادة الاتصال بشبكة واي فاي الخاصة بك أو الاتصال بشبك آخر.</li></ul><p>اطلب من المدير التحقق من جهازك و اتصالك بالإنترنت:</p><ul><li>احصل على المدير لإصلاح المشاكل باستخدام الخطوات أعلاه</li></ul><p><br/></p><p>أخبرنا إذا كان لديك مشاكل مع الحملة:</p><ul><li>إبلاغ عن مشكلة عن طريق الاتصال بنا على admin@oppia.org.</li></ul>
+ <p>إذا كان صوتك لا يعزف</p><p><br/></p><p>تحقق من تحديث التطبيق:</p><ul><li>اذهب إلى متجر Play وتأكد من تحديث التطبيق إلى أحدث إصدار</li></ul><p><br/></p><p>تحقق من اتصالك بالإنترنت:</p><ul><li>إذا كان اتصال الإنترنت بطيء، حاول إعادة الاتصال بشبكة واي فاي الخاصة بك أو الاتصال بشبك آخر. إن الإنترنت البطيء قد يسبب تحميل الصوت بشكل غير منتظم مما يجعل من الصعب تشغيله.</li></ul><p><br/></p><p>اطلب من المدير التحقق من جهازك و اتصالك بالإنترنت:</p><ul><li>احصل على المدير لإصلاح المشاكل باستخدام الخطوات أعلاه</li></ul><p><br/></p><p>أخبرنا إذا كان لديك مشاكل مع الحملة:</p><ul><li>إبلاغ عن مشكلة عن طريق الاتصال بنا على admin@oppia.org.</li></ul>
+ <p>بمجرد حذف الملف الشخصي:</p><ol><li>لا يمكن استعادة الملف</li><li>سيتم حذف معلومات الملف الشخصي مثل الاسم والصور والتقدم بشكل دائم.</li></ol><p>لإزالة ملف تعريف (باستثناء <u>المدير</u>):</p><ol><li>من صفحة الرئيسية للمدير، اضغط على زر القائمة في الجزء العلوي اليسرى.</li><li>اضغط على <strong>التحكمات الإدارية</strong></li><li>اضغط على <strong>تحرير الملفات الشخصية</strong>.</li><li>اضغط على الملف الشخصي الذي تريد حذفه.</li><li>في أسفل الشاشة، اضغط على <strong>حذف الملف الشخصي</strong>.</li><li>اضغط على حذف لتأكيد الحذف.</li></ol><p><br/></p><p>ملاحظة: إدارة الملفات الشخصية يمكن <u>المدير</u> فقط.</p>
+ <p><ol><li>افتح تطبيق Google Play Store</li><li>ابحث عن %s التطبيق</li><li>اضغط على تحديث</li></ol></p>
+ <p><ol><li>اضغط على تطبيق الإعدادات في هاتفك</li><li>اضغط على تحديثات النظام</li><li>اضغط على تحديثات النظام واتبع التعليمات لتحديث نظام تشغيل Android الخاص بك</li></ol></p>
<p> إذا لم تتمكن من العثور على سؤالك أو كنت ترغب في الإبلاغ عن خطأ ، فاتصل بنا على admin@oppia.org. </p>
نشاط اختبار جزء تحرير ملف التعريف
يتحكم المسؤول في نشاط اختبار التجزئة
diff --git a/app/src/main/res/values-pcm-rNG/strings.xml b/app/src/main/res/values-pcm-rNG/strings.xml
index 5e98c6d7d17..0774dae0c11 100644
--- a/app/src/main/res/values-pcm-rNG/strings.xml
+++ b/app/src/main/res/values-pcm-rNG/strings.xml
@@ -94,11 +94,11 @@
Topic: %s
Topic
Topics wey dey in Progress
- Chapter %s: %s
- Chapter %s with title %s don complete
- Chapter %s with title %s dey in progress
- Complete Chapter %s: %s to unlock dis chapter.
- Chapter %s: %s dey locked currently. Abeg complete chapter %s: %s to fit unlock dis chapter.
+ Chapter %s: %s
+ Chapter %s with title %s don complete
+ Chapter %s with title %s dey in progress
+ Complete Chapter %s: %s to unlock dis chapter.
+ Chapter %s: %s dey locked currently. Abeg complete chapter %s: %s to fit unlock dis chapter.
Finish the chapter wey dey before to fit open dis chapter
Enter text.
Enter fraction wey dey in di form x/x, or mixed nomba wey dey in di form x x/x.
@@ -153,7 +153,7 @@
Topic Wey You Don Download
You don download am
Practice Mode
- Question %s of %s
+ Question %s of %s
Complete
Finished
You don finish all of di questions! You fit choose to play anoda set of questions, or go back to di topic.
@@ -192,7 +192,7 @@
- 1 Story
- %s Stories
-
+
- %s of %s Chapter Completed
- %s of %s Chapters Completed
@@ -267,7 +267,7 @@
Skip
Next
Get Started
- Slide %s of %s
+ Slide %s of %s
Hi, %s!
Abeg put your Administrator PIN.
Abeg put your PIN.
@@ -426,7 +426,7 @@
Move item up to %s
Up
Down
- %s %s
+ %s %s
- 0 minutes ago
- a minute ago
@@ -463,11 +463,11 @@
Beta Notice
Hello! Your app don dey update to di Beta version. If you experience any problems while you dey use di app, or get any questions, abeg contact us at android-feedback@oppia.org.
No show dis message again
- OK
+ OK
General Availability Notice
Hello! Your app don dey update to di General Availability version. If you experience any problems while you dey use di app, or get any questions, abeg contact us at android-feedback@oppia.org.
No show dis message again
- OK
+ OK
to
Enter a ratio in di form x:y.
Tap here to put text.
@@ -514,24 +514,19 @@
I see bug for di app. How I fit report am?
Why only math lessons dey available?
Una go dey create more lessons?
- Why di Exploration player no dey load?
+ Why di Exploration player no dey load?
Why my audio no dey play?
How I go delete a profile?
How I fit update di app?
How I fit update my Android OS?
I no dey find my question here. What now?
<p>%1$s <i>\"O-pee-yah\"</i> (Finnish) - \"to learn\"</p><p><br></p><p>%1$s\'s mission na to help anyone learn anything dey want in an effective and enjoyable way.</p><p><br></p><p>By creating a set of free, high-quality, demonstrably effective lessons with di help of educators from around di world, %1$s dey aim to provide students with quality education — regardless of where dem dey or di traditional resources wey dem get access to.</p><p><br></p><p>As a student, you fit start your learning adventure by browsing di topics listed on di Home Page!</p>
- <p>An Administrator na di main user wey dey manage profiles and settings for every profile on top their account. They fit be your parent, teacher, or guardian wey don create dis profile for you. </p><p><br></p><p>Administrators get di ability to manage profiles, assign PINs, and change other settings under their account. Depending on your profile, Administrator permissions fit dey required for some features such as changing your PIN, and more. </p><p><br></p><p>To see who your Administrator be, go di Profile Chooser. Di first profile fot di list and get \"Administrator\" written under their name na di Administrator. </p>
- <p>If na your first time creating a profile and not have a PIN:<ol><li>From di Profile Chooser, tap on <strong>Set up Multiple Profiles</strong>.</li><li>Create a PIN and <strong>Save</strong>.</li><li>Fill in all boxes for di profile.<ol><li>(Optional) Upload a photo.</li><li>Enter a name.</li><li>(Optional) Assign a 3-digit PIN.</li></ol></li><li>Tap <strong>Create</strong>. Dis profile go add to your Profile Chooser!</li></ol></p><p> If you don create a profile before and you get a PIN:<ol><li>From di Profile Chooser, tap on <strong>Add Profile</strong>. </li><li>Enter your PIN and tap <strong>Submit</strong>. </li><li>Fill in all boxes for di profile.<ol><li> (Optional) Upload a photo. </li><li> Enter a name. </li><li> (Optional) Assign a 3-digit PIN. </li></ol></li><li>Tap <strong>Create</strong>. Dis profile go add to your Profile Chooser!</li></ol></p><br><p>Note: Only di <u>Administrator</u> go dey able to manage profiles.</p>
- <p>The %s app dey support English, Brazilian Portuguese, Arabic, Swahili, and Nigerian Pidgin. Select one of these languages for di menu, under Options. To ask for the app for your language, abeg contact us for admin@oppia.org.</p>
- <p>- From your %s app home screen, tap the menu for di top left corner.
- Tap Share feedback.
- Follow di instructions to report di bug or share feedback.
</p>
- %1$s mission na to help learners gain necessary life skills. Math na essential skill for everyday life. %1$s go dey offer new lessons on science and other subjects very soon!
- Yes, %s go dey offer new lessons on science and other subjects very soon. Abeg check back for updates!
- <p>If di Exploration Player no dey load</p><p><br></p><p>Check to see if di app dey up to date:</p><p><ul><li> Go to di Play Store and make sure sey di app dey updated to di latest version </li></ul><p><br></p><p>Check your internet connection:</p><ul><li> If your internet connection dey slow, try re-connecting to your Wi-Fi network or connecting to a different network. </li></ul><p>Ask di Administrator to check their device and internet connection:</p><ul><li> Get di Administrator to troubleshoot using di steps above </li></ul><p>Let us know if you still dey get issues with loading:</p><ul><li> Report a problem by contacting us at admin@oppia.org. </li></ul>
- <p>If your audio no dey play</p><p><br></p><p>Check to see if di app dey up to date:</p><ul><li> Go to di Play Store and make sure sey di app dey updated to di latest version </li></ul><p><br></p><p>Check your internet connection:</p><ul><li> If your internet connection dey slow, try re-connecting to your Wi-Fi network or connecting to a different network. Slow internet fit cause di audio to load irregularly, and go make am difficult to play. </li></ul><p><br></p><p>Ask di Administrator to check their device and internet connection:</p><ul><li> Get di Administrator to troubleshoot using di steps for up</li></ul><p><br></p><p>Let us know if you still dey get issues with loading:</p><ul><li> Report a problem by contacting us at admin@oppia.org. </li></ul>
- <p>Once profile don delete:</p><ol><li>Di profile no fit dey recovered. </li><li> Profile information such as name, photos, and progress go permanently delete. </li></ol><p>To delete a profile (excluding the <u>Administrator\'s</u>):</p><ol><li> From di Administrator\'s Home Page, tap on di menu button on di top left. </li><li>Tap on <strong>Administrator Controls</strong>. </li><li>Tap on <strong>Edit Profiles</strong>. </li><li>Tap on di Profile wey you wan delete. </li><li>For di bottom of di screen, tap <strong>Profile Deletion</strong>. </li><li>Tap <strong>Delete</strong> to confirm deletion. </li></ol><p><br></p><p>Note: Only di <u>Administrator</u> go dey able to manage profiles.</p>
- - Open di Google Play Store app.
- Search for di %s app.
- Tap Update.
- - Tap your phone\'s Settings app.
- Tap System updates.
- Tap System updates and follow di instructions to update your Android operating system.
+ <p>An Administrator na di main user wey dey manage profiles and settings for every profile on top their account. They fit be your parent, teacher, or guardian wey don create dis profile for you. </p><p><br></p><p>Administrators get di ability to manage profiles, assign PINs, and change other settings under their account. Depending on your profile, Administrator permissions fit dey required for some features such as changing your PIN, and more. </p><p><br></p><p>To see who your Administrator be, go di Profile Chooser. Di first profile fot di list and get \"Administrator\" written under their name na di Administrator. </p>
+ <p>If na your first time creating a profile and not have a PIN:<ol><li>From di Profile Chooser, tap on <strong>Set up Multiple Profiles</strong>.</li><li>Create a PIN and <strong>Save</strong>.</li><li>Fill in all boxes for di profile.<ol><li>(Optional) Upload a photo.</li><li>Enter a name.</li><li>(Optional) Assign a 3-digit PIN.</li></ol></li><li>Tap <strong>Create</strong>. Dis profile go add to your Profile Chooser!</li></ol></p><p> If you don create a profile before and you get a PIN:<ol><li>From di Profile Chooser, tap on <strong>Add Profile</strong>. </li><li>Enter your PIN and tap <strong>Submit</strong>. </li><li>Fill in all boxes for di profile.<ol><li> (Optional) Upload a photo. </li><li> Enter a name. </li><li> (Optional) Assign a 3-digit PIN. </li></ol></li><li>Tap <strong>Create</strong>. Dis profile go add to your Profile Chooser!</li></ol></p><br><p>Note: Only di <u>Administrator</u> go dey able to manage profiles.</p>
+ <p>The %s app dey support English, Brazilian Portuguese, Arabic, Swahili, and Nigerian Pidgin. Select one of these languages for di menu, under Options. To ask for the app for your language, abeg contact us for .</p>
+ <p>If di Exploration Player no dey load</p><p><br></p><p>Check to see if di app dey up to date:</p><p><ul><li> Go to di Play Store and make sure sey di app dey updated to di latest version </li></ul><p><br></p><p>Check your internet connection:</p><ul><li> If your internet connection dey slow, try re-connecting to your Wi-Fi network or connecting to a different network. </li></ul><p>Ask di Administrator to check their device and internet connection:</p><ul><li> Get di Administrator to troubleshoot using di steps above </li></ul><p>Let us know if you still dey get issues with loading:</p><ul><li> Report a problem by contacting us at admin@oppia.org. </li></ul>
+ <p>If your audio no dey play</p><p><br></p><p>Check to see if di app dey up to date:</p><ul><li> Go to di Play Store and make sure sey di app dey updated to di latest version </li></ul><p><br></p><p>Check your internet connection:</p><ul><li> If your internet connection dey slow, try re-connecting to your Wi-Fi network or connecting to a different network. Slow internet fit cause di audio to load irregularly, and go make am difficult to play. </li></ul><p><br></p><p>Ask di Administrator to check their device and internet connection:</p><ul><li> Get di Administrator to troubleshoot using di steps for up</li></ul><p><br></p><p>Let us know if you still dey get issues with loading:</p><ul><li> Report a problem by contacting us at admin@oppia.org. </li></ul>
+ <p>Once profile don delete:</p><ol><li>Di profile no fit dey recovered. </li><li> Profile information such as name, photos, and progress go permanently delete. </li></ol><p>To delete a profile (excluding the <u>Administrator\'s</u>):</p><ol><li> From di Administrator\'s Home Page, tap on di menu button on di top left. </li><li>Tap on <strong>Administrator Controls</strong>. </li><li>Tap on <strong>Edit Profiles</strong>. </li><li>Tap on di Profile wey you wan delete. </li><li>For di bottom of di screen, tap <strong>Profile Deletion</strong>. </li><li>Tap <strong>Delete</strong> to confirm deletion. </li></ol><p><br></p><p>Note: Only di <u>Administrator</u> go dey able to manage profiles.</p>
<p>If you no fit find your question or you go like to report a bug, contact us for admin@oppia.org.</p>
Profile Edit Fragment Test Activity
Administrator Controls Fragment Test Activity
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index 9711a238ba1..63042bc8413 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -1,13 +1,17 @@
@@ -16,6 +20,7 @@
Meus Downloads
Ajuda
Reprodutor de Exploração
+ Explorar
Ajuda
Fechar
Trocar Perfil
@@ -26,18 +31,20 @@
Tocar áudio
Pausar áudio
%s o áudio não está disponível.
- OK
+ Ok
Cancelar
Idioma de Áudio
Atualmente Offline
Certifique-se de que o Wi-Fi ou os dados móveis estejam ativados e tente novamente.
- OK
- OK
+ Ok
+ Ok
Cancelar
Atualmente em Dados Móveis
O streaming de áudio pode usar muitos dados móveis.
Não mostre esta mensagem novamente
Cartão de Conceito
+ Cartão Conceitual 1
+ Cartão Conceitual 2
Cartão de Revisão
Pretende ir para a página do tópico?
Seu progresso não será salvo.
@@ -71,13 +78,16 @@
Voltar ao cartão anterior
Avançar para o próximo cartão
Enviar
+ Enviar
Repetir
Retornar ao Tópico
Respostas Anteriores (%s)
Cliques em %s
+ Selecione uma imagem para continuar.
Aprender Novamente
Veja Mais
Veja Menos
+ Esta é uma visualização de texto de exemplo
FAQs
Perguntas em Destaque
Perguntas Frequentes
@@ -94,11 +104,11 @@
Tópico: %s
Tópico
Tópicos em Andamento
- Capítulo %s: %s
- O capítulo %s com o título %s foi concluído
- O capítulo %s com o título %s está em andamento
- Conclua o capítulo %s: %s para desbloquear este capítulo.
- O capítulo %s: %s está bloqueado no momento. Conclua o capítulo %s: %s para desbloquear esse capítulo.
+ Capítulo %s: %s
+ O capítulo %s com o título %s foi concluído
+ O capítulo %s com o título %s está em andamento
+ Conclua o capítulo %s: %s para desbloquear este capítulo.
+ O capítulo %s: %s está bloqueado no momento. Conclua o capítulo %s: %s para desbloquear esse capítulo.
Conclua o capítulo anterior para desbloquear este capítulo.
Inserir texto.
Insira uma fração na forma x/x, ou um número misto na forma x x/x.
@@ -106,8 +116,11 @@
Digite um número.
Escreva números com unidades aqui.
Digite uma expressão aqui, usando apenas números.
+ Insira uma expressão numérica para continuar.
Digite uma expressão aqui.
+ Insira uma expressão algébrica para continuar.
Digite uma equação aqui.
+ Insira uma equação para continuar.
Por favor, remova os espaços entre os números em sua resposta.
Feche ou remova os parênteses.
Por favor, remova os parênteses ao redor da resposta inteira: \'%s\'.
@@ -153,7 +166,7 @@
Tópico Baixado
Baixado
Modo de Prática
- Questão %s de %s
+ Questão %s de %s
Concluído
Concluído
Você concluiu todas as perguntas! Você pode escolher reproduzir outro conjunto de perguntas ou retornar ao tópico.
@@ -169,14 +182,19 @@
Insira uma fração válida (por exemplo, 5/3 ou 1 2/3)
Por favor, não coloque 0 no denominador
Nenhum dos números da fração deve ter mais de 7 dígitos.
+ Insira uma fração para continuar.
Comece sua resposta com um número (por exemplo, \"0\" em 0,5)
Por favor, insira um número válido.
A resposta pode conter no máximo 15 dígitos (0–9) ou símbolos (. ou -).
- Escreva uma proporção que consista em dígitos separados por dois pontos (por exemplo, 1:2 ou 1:2:3).
- Insira uma proporção válida (por exemplo, 1:2 ou 1:2:3).
- Sua resposta tem dois dois-pontos (:) do lado um do outro.
- O número de termos não é igual ao exigido.
- Proporções não podem ter 0 como elemento.
+ Digite um número para continuar.
+ Escreva uma proporção que consista em dígitos separados por dois pontos (por exemplo, 1:2 ou 1:2:3).
+ Insira uma proporção válida (por exemplo, 1:2 ou 1:2:3).
+ Sua resposta tem dois pontos (:) próximos um do outro.
+ O número de termos não é igual aos termos exigidos.
+ As proporções não podem ter 0 como elemento.
+ Insira uma proporção para continuar.
+ Digite o texto para continuar.
+ Escolha uma resposta para continuar.
Tamanho desconhecido
%s Bytes
%s KB
@@ -192,7 +210,7 @@
- %s História
- %s Histórias
-
+
- %s de %s Capítulo Concluído
- %s de %s Capítulos Concluídos
@@ -265,7 +283,7 @@
Pular
Próximo
Começar
- Slide %s de %s
+ Slide %s de %s
Olá, %s!
Por favor, insira o PIN do Administrador.
Por favor, insira seu PIN.
@@ -307,6 +325,8 @@
Início
A partir de agora, você pode ver as lições recomendadas para você aqui.
Selecione um Tópico para começar
+ Início
+ Salas de aula
Perfis
Editar Perfil
Criado em %s
@@ -330,7 +350,7 @@
Escolha da Biblioteca
Renomear Perfil
Novo Nome
- salvar
+ Salvar
Redefinir PIN
Insira um novo PIN para o usuário usar ao acessar seu perfil.
PIN de 3 Dígitos
@@ -343,6 +363,7 @@
Requerido
Botão de Voltar
Próximo
+ Análise de estudo do aluno
Geral
Editar conta
Gerenciamento de Perfil
@@ -363,12 +384,12 @@
A última atualização foi instalada em %s. Use o número da versão acima para enviar feedback sobre erros.
Versão do Aplicativo
Idioma do Aplicativo
- Idioma Padrão de Áudio
+ Idioma de áudio preferido
Tamanho do Texto de Leitura
Tamanho do Texto de Leitura
O texto da história ficará assim.
A
- Áudio Padrão
+ Idioma de áudio preferido
Idioma do Aplicativo
Tamanho do Texto de Leitura
Pequeno
@@ -391,7 +412,7 @@
Ótimo
Vamos começar.
Sim
- Não…
+ Não…
Escolha um\ntópico diferente.
Você está interessado em:\n%s?
Nova dica disponível
@@ -417,19 +438,31 @@
Voltar para a lição
Explicação:
Se dois itens forem iguais, junte-os.
+ Organize as caixas para continuar.
Link para o item %s
Desvincular itens em %s
Mover o item para baixo para %s
Mover o item para cima para %s
Para cima
Para baixo
- %s %s
+ %s %s
topic_revision_recyclerview_tag
ongoing_recycler_view_tag
Por favor, selecione todas as alternativas corretas.
- Versão do aplicativo não suportada
+ Versão do aplicativo não suportada
Esta versão do aplicativo não é mais suportada. Atualize-a na Play Store.
Fechar aplicativo
+ Atualização do aplicativo necessária
+ Uma nova versão de %s já está disponível. A nova versão é mais segura e melhora sua experiência de aprendizado.\n\nEsta versão não é mais suportada. Para continuar usando o aplicativo, atualize para a versão mais recente.
+ Atualizar
+ Fechar App
+ Nova atualização disponível
+ Uma nova versão de %s já está disponível. Recomendamos que você atualize o aplicativo para corrigir bugs e melhorar a experiência de aprendizado.
+ Dispensar
+ Atualizar
+ Atualize seu sistema operacional Android
+ Recomendamos atualizar seu sistema operacional Android para aproveitar os novos recursos e lições do %s.\n\nVisite o aplicativo Configurações do seu telefone para atualizar seu sistema operacional.
+ Dispensar
Versão do desenvolvedor
Alfa
Beta
@@ -441,9 +474,11 @@
Olá! Seu aplicativo está sendo atualizado para a versão de disponibilidade geral. Se você tiver problemas ao usar o aplicativo ou tiver dúvidas, entre em contato conosco em android-feedback@oppia.org.
Não exibir esta mensagem novamente
OK
- para
- Insira uma razão no formato x:y.
+ para
+ Insira uma proporção no formato x:y.
Clique aqui para inserir texto.
+ Escreva o dígito aqui.
+ Escreva aqui.
Menor tamanho de texto
Maior tamanho de texto
Em Breve
@@ -481,16 +516,28 @@
O que é %s?
Quem é um administrador?
Como posso criar um novo perfil?
+ Como faço para obter o aplicativo no meu idioma?
+ Achei um bug. Como posso reportar?
+ Por que só há aulas de matemática?
+ Vocês vão criar mais lições?
Por que a exploração não está carregando?
Por que meu áudio não está tocando?
Como posso deletar um perfil?
+ Como eu atualizo o aplicativo?
+ Como eu atualizo meu sistema operacional Android?
Não consigo encontrar minha pergunta aqui. E agora?
<p>%1$s <i>\"O-pee-yah\"</i> (Finnish) - \"aprender\"</p><p><br></p><p>%1$s tem a missão de ajudar qualquer pessoa a aprender o que quiser de uma forma eficaz e agradável.</p><p><br></p><p>Ao criar um conjunto de aulas gratuitas, de alta qualidade e comprovadamente eficazes com a ajuda de educadores de todo o mundo, %1$s visa proporcionar aos alunos uma educação de qualidade - independentemente de onde estejam ou a quais recursos tradicionais tenham acesso.</p><p><br></p><p>Como estudante, você pode começar sua aventura de aprendizado navegando pelos tópicos listados na página inicial!</p>
- <p>Um administrador é o usuário principal que gerencia perfis e configurações para cada perfil em sua conta. Provavelmente, eles são seus pais, professores ou responsáveis que criaram este perfil para você.</p><p><br></p><p>Os administradores podem gerenciar perfis, atribuir PINs e alterar outras configurações em suas contas. Dependendo do seu perfil, as permissões de administrador podem ser necessárias para determinados recursos, como download de tópicos, alteração do PIN e mais. </p><p><br></p><p>Para ver quem é o seu administrador, vá para o Seletor de perfil. O primeiro perfil listado e com \"Administrador\" escrito em seu nome é o Administrador. </p>
- <p>Se é a sua primeira vez criando um perfil e você não tem um PIN:<ol> <li> No Seletor de Perfil, toque em <strong>Configurar Múltiplos Perfis</strong>. </li> <li> Crie um PIN e <strong>Salvar</strong>. </li> <li> Preencha todos os campos do perfil. <ol> <li> (Opcional) Carregue uma foto. </li> <li> Insira um nome. </li> <li> (Opcional) Atribua um PIN de 3 dígitos. </li></ol></li><li> 4. Toque em <strong>Criar</strong>. Este perfil está adicionado ao seu Seletor de Perfil! </li></ol></p><p> Se você já criou um perfil antes e tem um PIN: <ol> <li>No Seletor de Perfil, toque em <strong>Adicionar Perfil</strong>. </li> <li> 2. Digite seu PIN e toque em <strong>Enviar</strong>. </li> <li> Preencha todos os campos do perfil. <ol> <li> (Opcional) Carregue uma foto. </li> <li> Insira um nome. </li> <li> (Opcional) Atribua um PIN de 3 dígitos. </li> </ol> </li> <li> 4. Toque em <strong>Criar</strong>. Este perfil está adicionado ao seu Seletor de Perfil! </li></ol></p><br><p> Nota: Apenas o <u>Administrador</u> pode gerenciar perfis.</p>
- <p>Se a exploração não estiver carregando</p><p><br></p><p>Verifique se o aplicativo está atualizado:</p><p> <ul> <li> Acesse a Play Store e certifique-se de que o aplicativo esteja atualizado com a versão mais recente </li></ul><p><br></p><p>Verifique sua conexão com a internet:</p><ul><li> Se sua conexão com a Internet estiver lenta, tente se reconectar à rede Wi-Fi ou conectar-se a uma rede diferente. </li></ul><p>Peça ao administrador para verificar o dispositivo e a conexão com a Internet:</p><ul><li> Peça ao administrador para solucionar o problema usando as etapas acima </li></ul><p>Informe-nos se você ainda tiver problemas com o carregamento::</p><ul><li> Relate um problema entrando em contato conosco em admin@oppia.org. </li> </ul>
- <p>Se o seu áudio não estiver tocando</p><p><br></p><p>Verifique se o aplicativo está atualizado:</p><ul><li> Acesse a Play Store e certifique-se de que o aplicativo esteja atualizado com a versão mais recente </li></ul><p><br></p><p>Verifique sua conexão com a internet:</p><ul><li> Se sua conexão com a Internet estiver lenta, tente se reconectar à rede Wi-Fi ou conectar-se a uma rede diferente. A Internet lenta pode fazer com que o áudio carregue irregularmente, dificultando a reprodução. </li></ul><p><br></p><p>Peça ao administrador para verificar o dispositivo e a conexão com a Internet:</p><ul><li> Peça ao administrador para solucionar o problema usando as etapas acima</li></ul><p><br></p><p>Informe-nos se você ainda tiver problemas com o carregamento:</p><ul><li> Relate um problema entrando em contato conosco em admin@oppia.org. </li></ul>
- <p>Depois que um perfil é deletado:</p> <ol><li>O perfil não pode ser recuperado. </li> <li> As informações do perfil, como nome, fotos e progresso, serão excluídas permanentemente. </li></ol><p>Para deletar um perfil(excluindo o do <u>Administrador</u>):</p> <ol><li>Na página inicial do administrador, toque no botão de menu no canto superior esquerdo.</li> <li>Toque em <strong>Controles do Administrador</strong>.</li> <li>3. Toque em <strong>Editar Perfis</strong>.</li> <li>4. Toque no perfil que deseja excluir.</li> <li>5. Na parte inferior da tela, toque em <strong>Exclusão de Perfil</strong>.</li> <li>6. Toque em <strong>Deletar</strong> para confirmar a exclusão.</li></ol><p><br></p><p>Nota: Apenas o <u>Administrador</u> pode gerenciar perfis.</p>
+ <p>Um administrador é o usuário principal que gerencia perfis e configurações de cada perfil da conta. Provavelmente foram seus pais, professores ou responsáveis que criaram este perfil para você.</p><p><br></p><p>Os administradores podem gerenciar perfis, atribuir PINs e alterar outras configurações. sob sua conta. Dependendo do seu perfil, podem ser necessárias permissões de administrador para determinados recursos, como alteração do PIN e muito mais.</p><p><br></p><p>Para ver quem é o seu administrador, acesse o Perfil. Seletor. O primeiro perfil listado e com \"Administrador\" escrito em seu nome é o Administrador.</p>
+ <p>Se for a primeira vez que você cria um perfil e você não tem um PIN:<ol><li>No Seletor de perfil, toque em <strong>Configurar vários perfis</strong>.</li>< li>Crie um PIN e <strong>Salve</strong>.</li><li>Preencha todos os campos do perfil.<ol><li>(Opcional) Faça upload de uma foto.</li><li> Digite um nome.</li><li>(Opcional) Atribua um PIN de três dígitos.</li></ol></li><li>Toque em <strong>Criar</strong>. Este perfil será adicionado ao seu Seletor de perfil!</li></ol></p><p>Se você já criou um perfil e possui um PIN:<ol><li>No Seletor de perfil, toque em < strong>Adicionar perfil</strong>.</li><li>Insira seu PIN e toque em <strong>Enviar</strong>.</li><li>Preencha todos os campos do perfil.<ol><li >(Opcional) Faça upload de uma foto.</li><li>Digite um nome.</li><li>(Opcional) Atribua um PIN de três dígitos.</li></ol></li><li >Toque em <strong>Criar</strong>. Este perfil é adicionado ao seu Seletor de perfil!</li></ol></p><p><br></p><p>Observação: somente o <u>Administrador</u> pode gerenciar perfis.</p>
+ <p>O aplicativo %s atualmente oferece suporte a inglês, português do Brasil, árabe, suaíli e pidgin nigeriano. Escolha um desses idiomas no menu, em Opções. Para solicitar o aplicativo em seu idioma, entre em contato conosco pelo e-mail <strong>admin@oppia.org</strong>.</p>
+ <p><ol><li>Na tela inicial do aplicativo %s, toque no menu no canto superior esquerdo.</li><li>Toque em <strong>Compartilhar feedback</strong>.</li><li >Siga as instruções para relatar o bug ou compartilhar comentários.</li></ol></p>
+ <p>A missão do %1$s é ajudar os alunos a adquirir as habilidades necessárias para a vida. A matemática é uma habilidade essencial na vida cotidiana. %1$s oferecerá novas aulas sobre ciências e outros assuntos em breve!</p>
+ <p>Sim, %s oferecerá novas aulas sobre ciências e outros assuntos em breve. Por favor, volte para atualizações!</p>
+ <p>Se o Exploration Player não estiver carregando</p><p><br></p><p>Verifique se o aplicativo está atualizado:</p><ul><li>Acesse na Play Store e verifique se o aplicativo está atualizado para a versão mais recente</li></ul><p><br></p><p>Verifique sua conexão com a Internet:</p><ul><li> Se sua conexão com a Internet estiver lenta, tente reconectar-se à rede Wi-Fi ou conectar-se a uma rede diferente.</li></ul><p>Peça ao administrador para verificar o dispositivo e a conexão com a Internet:</p> <ul><li>Peça ao administrador para solucionar o problema usando as etapas acima</li></ul><p><br></p><p>Informe-nos se você ainda tiver problemas com o carregamento:</p ><ul><li>Informe um problema entrando em contato conosco pelo e-mail admin@oppia.org.</li></ul>
+ <p>Se o áudio não estiver sendo reproduzido</p><p><br></p><p>Verifique se o aplicativo está atualizado:</p><ul><li>Vá para o Play Store e verifique se o aplicativo está atualizado para a versão mais recente</li></ul><p><br></p><p>Verifique sua conexão com a Internet:</p><ul><li>Se sua conexão com a Internet está lenta, tente reconectar-se à sua rede Wi-Fi ou conectar-se a uma rede diferente. A Internet lenta pode fazer com que o áudio carregue irregularmente, dificultando a reprodução.</li></ul><p><br></p><p>Peça ao administrador para verificar o dispositivo e a conexão com a Internet:</ p><ul><li>Peça ao administrador para solucionar o problema usando as etapas acima</li></ul><p><br></p><p>Informe-nos se você ainda tiver problemas com o carregamento:< /p><ul><li>Informe um problema entrando em contato conosco pelo e-mail admin@oppia.org.</li></ul>
+ <p>Depois que um perfil for excluído:</p><ol><li>O perfil não poderá ser recuperado.</li><li>As informações do perfil, como nome, fotos e progresso, serão excluídas permanentemente.</li </ol><p>Para excluir um perfil (excluindo o <u>Administrador</u>):</p><ol><li>Na página inicial do administrador, toque no botão de menu no canto superior esquerdo .</li><li>Toque em <strong>Controles do administrador</strong>.</li><li>Toque em <strong>Editar perfis</strong>.</li><li>Toque no perfil você deseja excluir.</li><li>Na parte inferior da tela, toque em <strong>Exclusão de perfil</strong>.</li><li>Toque em <strong>Excluir</strong> para confirmar a exclusão .</li></ol><p><br></p><p>Nota: Somente o <u>Administrador</u> pode gerenciar perfis.</p>
+ <p><ol><li>Abra o aplicativo Google Play Store.</li><li>Procure o aplicativo %s.</li><li>Toque em Atualizar.</li></ol></ p>
+ <p><ol><li>Toque no aplicativo Configurações do seu telefone.</li><li>Toque em Atualizações do sistema.</li><li>Toque em Atualizações do sistema e siga as instruções para atualizar seu sistema operacional Android.</li </ol></p>
<p>Se você não consegue encontrar sua pergunta ou gostaria de relatar um problema, entre em contato conosco em admin@oppia.org.</p>
Atividade de Teste de Fragmento de Edição de Perfil
Controle Administrativo da Atividade de Teste de Fragmento
@@ -532,4 +579,52 @@
Em uma escala de 0 a 10, qual é a probabilidade de você recomendar %s a um amigo ou colega?
O subtópico anterior é %s
O próximo subtópico é %s
+ Informações do aplicativo
+ Seta de sobreposição do cursor
+ Fechar cursor
+ Botão de navegação do estado anterior
+ Ícone de opções do desenvolvedor
+ Ícone de controles do administrador
+ Menu de opções
+ Botão Anterior
+ Próximo botão
+ Ícone de idioma
+ Ícone de configuração
+ Visualização da imagem da foto do perfil
+ Ícone de cadeado
+ Estado de download
+ Conteúdo HTML
+ Bem vindo a %s!
+ Aprenda matemática gratuitamente, a qualquer hora!
+ Feito para estudantes de 7 a 14 anos
+ Selecione um idioma para começar
+ Você pode alterar sua seleção de idioma a qualquer momento nas configurações do aplicativo
+ Vamos lá!
+ Selecione o tipo de perfil
+ Conte-nos mais sobre você!
+ Sou estudante e quero aprender coisas novas!
+ Sou pai, professor ou responsável por um aluno.
+ PASSO 2 DE 5
+ Criar perfil
+ Como devemos chamá-lo?
+ Apelido
+ Toque aqui para adicionar uma foto
+ Clique na caixa acima para digitar seu apelido.
+ Editar foto do perfil
+ Foto do perfil atual
+ PASSO 3 DE 5
+ Bem-vindo
+ Bem-vindo, %s!
+ Aprenda matemática através de aulas divertidas baseadas em histórias.
+ Experimente questões práticas para testar seu conhecimento.
+ Obtenha feedback para melhorar usando as correções de %s.
+ PASSO 4 DE 5
+ Lontra fofa usando óculos.
+ Lontra fofa com livros.
+ Mamãe e bebê lontra.
+ Voltar
+ Continuar
+ Em %s, você pode ouvir as lições!
+ Selecione a lingua do áudio para ouvir às lições
+ Passo 5 de 5
diff --git a/app/src/main/res/values-sw/strings.xml b/app/src/main/res/values-sw/strings.xml
index 17d2fd54cec..f827cae27ef 100644
--- a/app/src/main/res/values-sw/strings.xml
+++ b/app/src/main/res/values-sw/strings.xml
@@ -1,6 +1,7 @@
@@ -76,10 +77,10 @@
mada: %s
mada
mada zinazoendelea
- Sura ya %s: %s
- Sura ya %s yenye kichwa %s imekamilika
- Sura ya %s yenye kichwa %s inaendelea
- Kamilisha Sura ya %s: %s ili kufungua sura hii.
+ Sura ya %s: %s
+ Sura ya %s yenye kichwa %s imekamilika
+ Sura ya %s yenye kichwa %s inaendelea
+ Kamilisha Sura ya %s: %s ili kufungua sura hii.
Ingiza maandishi.
Ingiza sehemu katika mpangilio huu x/x, au nambari iliyochanganywa katika mpangilio huu x/x.
Ingiza sehemu katika mpangilio huu X/X.
@@ -133,7 +134,7 @@
Mada Imepakuliwa
Imepakuliwa
Hali ya Mazoezi
- Swali %s kati ya %s
+ Swali %s kati ya %s
imekamilika
imekamilika
Umemaliza maswali yote! Unaweza kuchagua kucheza seti nyingine ya maswali, au kurudi kwenye mada.
@@ -172,7 +173,7 @@
- Hadithi 1
- Hadithi %s
-
+
- %s kati ya Sura %s Imekamilika
- %s ya Sura %s Imekamilika
@@ -237,7 +238,7 @@
Ruka
Inayofuata
Anza
- Slaidi %s ya %s
+ Slaidi %s ya %s
Habari, %s!
Tafadhali weka Nambari yako ya Siri ya Msimamizi.
Tafadhali weka Nambari yako ya Siri.
@@ -374,13 +375,15 @@
Hamisha kipengee juu hadi %s
Juu
Chini
- %s %s
+ %s %s
mada_marudio_mtazamo wa kuchakata tena_tag
Inaendelea_kuchakata tena_mtazamo_tag
Tafadhali chagua angalau chaguo moja.
Toleo la programu lisilotumika
Toleo hili la programu halitumiki tena. Tafadhali isasishe kupitia hifadhi ya michezo.
Funga programu
+ Sawa
+ Sawa
kwa
Weka uwiano katika fomu x:y.
Maandishi madogo zaidi
@@ -425,16 +428,10 @@
Jinsi gani naweza kusasisha mfumo wangu wa Android?
Sijapata swali langu hapa. Nini sasa?
<p>%1$s <i>\"O-pee-yah\"</i> (Kifini) - \"kujifunza\"</p><p><br></p><p>%1$s\'s dhamira ni kumsaidia mtu yeyote kujifunza chochote anachotaka kwa njia bora na ya kufurahisha.</p><p><br></p><p>Kwa kuunda seti ya masomo yasiyolipishwa, ya ubora wa juu, na yenye matokeo kwa usaidizi. ya waelimishaji kutoka duniani kote, %1$s inalenga kuwapa wanafunzi elimu bora — bila kujali walipo au ni nyenzo gani za jadi wanazoweza kufikia.</p><p><br></p><p> Kama mwanafunzi, unaweza kuanza safari yako ya kujifunza kwa kuvinjari mada zilizoorodheshwa kwenye Ukurasa wa Mwanzo!</p>
- <p>Msimamizi ndiye mtumiaji mkuu anayedhibiti wasifu na mipangilio ya kila wasifu kwenye akaunti yake.Uwezekano mkubwa ni mzazi, mwalimu au mlezi wako aliyekuundia wasifu huu. </p><p><br></p><p>Wasimamizi wana uwezo wa kudhibiti wasifu, kugawa Nambari ya Siri, na kubadilisha mipangilio mingine chini ya akaunti yao. Kulingana na wasifu wako, ruhusa za Msimamizi zinaweza kuhitajika kwa vipengele fulani kama vile kupakua Mada, kubadilisha Nambari yako ya Siri na zaidi. </p><p><br></p><p>Ili kujua Msimamizi wako ni nani, nenda kwa Kichagua Wasifu. Wasifu wa kwanza ulioorodheshwa na una \"Msimamizi\" iliyoandikwa chini ya jina lake ni Msimamizi. </p>
- <p>Ikiwa ni mara yako ya kwanza kuunda wasifu na huna Nambari ya Siri: <ol> <li> Kutoka kwa Kichagua Wasifu, gusa <strong>Weka Wasifu Nyingi</strong>. </li> <li> Unda Nambari ya Siri na <strong>Hifadhi</strong>. </li> <li> Jaza sehemu zote za wasifu. <ol><li> (Si lazima) Pakia picha. </li> <li> Weka jina. </li> <li> (Si lazima) Weka Nambari ya Siri yenye tarakimu 3.</li></ol></li><li>Gusa <strong>Unda</strong>. Wasifu huu umeongezwa kwa Kichagua Wasifu wako! </li></ol></p><p> Ikiwa umeunda wasifu hapo awali na una Nambari ya Siri: <ol><li> Kutoka kwa Kichagua Wasifu, gusa <strong>Ongeza Wasifu</strong>. </li><li>Weka Nambari yako ya Siri na uguse <strong>Wasilisha</strong>. </li><li> Jaza sehemu zote za wasifu. <ol><li> (Si lazima) Pakia picha. </li> <li> Weka jina. </li> <li> (Si lazima) Weka Nambari ya Siri yenye tarakimu 3. </li></ol></li><li> Gusa <strong>Unda</strong>. Wasifu huu umeongezwa kwa Kichagua Wasifu wako! </li></ol></p><br><p> Kumbuka: <u>Msimamizi pekee</u> ndiye anayeweza kudhibiti wasifu.</p>
- Programu ya %s kwa sasa inasaidia Kiingereza, Kireno cha Brazil, Kiarabu, Kiswahili, na Kipidgin cha Nigeria. Chagua moja ya lugha hizi kwenye menyu, chini ya Chaguo. Ili kuomba programu kwa lugha yako, tafadhali wasiliana nasi kwa admin@oppia.org.
- - Kutoka kwenye skrini kuu ya programu yako ya %s, bonyeza menyu kwenye kona ya juu kushoto.
- Bonyeza Shiriki Maoni.
- Fuata maagizo ya kuripoti mdudu au kushiriki maoni.
- Malengo ya %1$s ni kusaidia wanafunzi kupata stadi muhimu za maisha. Hisabati ni stadi muhimu katika maisha ya kila siku. %1$s itatoa masomo mapya kuhusu sayansi na masomo mengine hivi karibuni!
- Ndiyo, %s itatoa masomo mapya kuhusu sayansi na masomo mengine hivi karibuni. Tafadhali rudia kwa ajili ya habari mpya!
- <p>Ikiwa Kicheza Ugunduzi hakipakii</p><p><br></p><p>Angalia kama programu imesasishwa:</p><p> <ul> <li> Nenda kwenye Hifadhi ya Michezo na uhakikishe kuwa programu imesasishwa hadi toleo lake jipya zaidi </li> </ul> <p><br></p><p>Angalia muunganisho wako wa mtandao:</p><ul><li> Ikiwa muunganisho wako wa mtandao ni wa polepole, jaribu kuunganisha tena kwenye mtandao wako wa Wi-Fi au unganisha kwenye mtandao tofauti. </li></ul><p>Uliza Msimamizi aangalie kifaa chake na muunganisho wa mtandao:</p><ul><li> Pata Msimamizi kusuluhisha kwa kutumia hatua hapo juu </li></ul><p>Tujulishe ikiwa bado una matatizo ya upakiaji:</p><ul><li> Ripoti tatizo kwa kuwasiliana nasi kwa admin@oppia.org. </li></ul>
- <p>Ikiwa sauti yako haichezi</p><p><br></p><p>Angalia ili kuona kama programu imesasishwa:</p><ul><li> Nenda kwenye Hifadhi ya Michezo na uhakikishe kuwa programu imesasishwa hadi toleo lake jipya zaidi </li></ul><p><br></p><p>Angalia muunganisho wako wa mtandao:</p><ul><li> Iwapo muunganisho wako wa mtandao ni wa polepole, jaribu kuunganisha tena kwenye mtandao wako wa Wi-Fi au unganisha kwenye mtandao tofauti. Mtandao wa polepole unaweza kusababisha sauti kupakia kwa njia isiyo ya kawaida, na kuifanya iwe vigumu kucheza. </li></ul><p><br></p><p>Uliza Msimamizi aangalie kifaa chake na muunganisho wa mtandao:</p><ul><li> Wasiliana na Msimamizi ili asuluhishe kwa kutumia hatua hapo juu</li></ul><p><br></p><p>Tujulishe ikiwa bado una matatizo ya upakiaji:</p><ul><li> Ripoti tatizo kwa kuwasiliana nasi kwa admin@oppia.org. </li></ul>
- <p>Wasifu unapofutwa:</p><ol><li> Wasifu hauwezi kurejeshwa. </li><li> Taarifa ya wasifu kama vile jina, picha na maendeleo yatafutwa kabisa. </li></ol><p>Ili kufuta wasifu (bila kujumuisha <u>Msimamizi</u>):</p> <ol><li> Kutoka kwa Ukurasa wa Mwanzo wa Msimamizi, gusa kitufe cha menyu kilicho upande wa juu kushoto. </li><li> Gusa <strong>Vidhibiti vya Msimamizi</strong>. </li><li> Gusa <strong>Hariri Wasifu</strong>. </li><li> Gonga Wasifu ambao ungependa kufuta. </li><li> Katika sehemu ya chini ya skrini, gusa <strong>Ufutaji wa Wasifu</strong>. </li><li> Gusa <strong>Futa</strong> ili kuthibitisha kufuta.</li></ol><p><br></p><p>Kumbuka: <u>Msimamizi</u> pekee ndiye anayeweza kudhibiti wasifu.</p>
- - Fungua programu ya Duka la Google Play.
- Tafuta programu ya %s.
- Bonyeza Sasisha.
- - Bonyeza programu ya Mipangilio kwenye simu yako.
- Bonyeza Sasisho la mfumo.
- Bonyeza Sasisho la mfumo na fuata maagizo ya kusasisha mfumo wako wa uendeshaji wa Android.
+ <p>Msimamizi ndiye mtumiaji mkuu anayedhibiti wasifu na mipangilio ya kila wasifu kwenye akaunti yake.Uwezekano mkubwa ni mzazi, mwalimu au mlezi wako aliyekuundia wasifu huu. </p><p><br></p><p>Wasimamizi wana uwezo wa kudhibiti wasifu, kugawa Nambari ya Siri, na kubadilisha mipangilio mingine chini ya akaunti yao. Kulingana na wasifu wako, ruhusa za Msimamizi zinaweza kuhitajika kwa vipengele fulani kama vile kupakua Mada, kubadilisha Nambari yako ya Siri na zaidi. </p><p><br></p><p>Ili kujua Msimamizi wako ni nani, nenda kwa Kichagua Wasifu. Wasifu wa kwanza ulioorodheshwa na una \"Msimamizi\" iliyoandikwa chini ya jina lake ni Msimamizi. </p>
+ <p>Ikiwa ni mara yako ya kwanza kuunda wasifu na huna Nambari ya Siri: <ol> <li> Kutoka kwa Kichagua Wasifu, gusa <strong>Weka Wasifu Nyingi</strong>. </li> <li> Unda Nambari ya Siri na <strong>Hifadhi</strong>. </li> <li> Jaza sehemu zote za wasifu. <ol><li> (Si lazima) Pakia picha. </li> <li> Weka jina. </li> <li> (Si lazima) Weka Nambari ya Siri yenye tarakimu 3.</li></ol></li><li>Gusa <strong>Unda</strong>. Wasifu huu umeongezwa kwa Kichagua Wasifu wako! </li></ol></p><p> Ikiwa umeunda wasifu hapo awali na una Nambari ya Siri: <ol><li> Kutoka kwa Kichagua Wasifu, gusa <strong>Ongeza Wasifu</strong>. </li><li>Weka Nambari yako ya Siri na uguse <strong>Wasilisha</strong>. </li><li> Jaza sehemu zote za wasifu. <ol><li> (Si lazima) Pakia picha. </li> <li> Weka jina. </li> <li> (Si lazima) Weka Nambari ya Siri yenye tarakimu 3. </li></ol></li><li> Gusa <strong>Unda</strong>. Wasifu huu umeongezwa kwa Kichagua Wasifu wako! </li></ol></p><br><p> Kumbuka: <u>Msimamizi pekee</u> ndiye anayeweza kudhibiti wasifu.</p>
+ <p>Ikiwa Kicheza Ugunduzi hakipakii</p><p><br></p><p>Angalia kama programu imesasishwa:</p><p> <ul> <li> Nenda kwenye Hifadhi ya Michezo na uhakikishe kuwa programu imesasishwa hadi toleo lake jipya zaidi </li> </ul> <p><br></p><p>Angalia muunganisho wako wa mtandao:</p><ul><li> Ikiwa muunganisho wako wa mtandao ni wa polepole, jaribu kuunganisha tena kwenye mtandao wako wa Wi-Fi au unganisha kwenye mtandao tofauti. </li></ul><p>Uliza Msimamizi aangalie kifaa chake na muunganisho wa mtandao:</p><ul><li> Pata Msimamizi kusuluhisha kwa kutumia hatua hapo juu </li></ul><p>Tujulishe ikiwa bado una matatizo ya upakiaji:</p><ul><li> Ripoti tatizo kwa kuwasiliana nasi kwa admin@oppia.org. </li></ul>
+ <p>Ikiwa sauti yako haichezi</p><p><br></p><p>Angalia ili kuona kama programu imesasishwa:</p><ul><li> Nenda kwenye Hifadhi ya Michezo na uhakikishe kuwa programu imesasishwa hadi toleo lake jipya zaidi </li></ul><p><br></p><p>Angalia muunganisho wako wa mtandao:</p><ul><li> Iwapo muunganisho wako wa mtandao ni wa polepole, jaribu kuunganisha tena kwenye mtandao wako wa Wi-Fi au unganisha kwenye mtandao tofauti. Mtandao wa polepole unaweza kusababisha sauti kupakia kwa njia isiyo ya kawaida, na kuifanya iwe vigumu kucheza. </li></ul><p><br></p><p>Uliza Msimamizi aangalie kifaa chake na muunganisho wa mtandao:</p><ul><li> Wasiliana na Msimamizi ili asuluhishe kwa kutumia hatua hapo juu</li></ul><p><br></p><p>Tujulishe ikiwa bado una matatizo ya upakiaji:</p><ul><li> Ripoti tatizo kwa kuwasiliana nasi kwa admin@oppia.org. </li></ul>
+ <p>Wasifu unapofutwa:</p><ol><li> Wasifu hauwezi kurejeshwa. </li><li> Taarifa ya wasifu kama vile jina, picha na maendeleo yatafutwa kabisa. </li></ol><p>Ili kufuta wasifu (bila kujumuisha <u>Msimamizi</u>):</p> <ol><li> Kutoka kwa Ukurasa wa Mwanzo wa Msimamizi, gusa kitufe cha menyu kilicho upande wa juu kushoto. </li><li> Gusa <strong>Vidhibiti vya Msimamizi</strong>. </li><li> Gusa <strong>Hariri Wasifu</strong>. </li><li> Gonga Wasifu ambao ungependa kufuta. </li><li> Katika sehemu ya chini ya skrini, gusa <strong>Ufutaji wa Wasifu</strong>. </li><li> Gusa <strong>Futa</strong> ili kuthibitisha kufuta.</li></ol><p><br></p><p>Kumbuka: <u>Msimamizi</u> pekee ndiye anayeweza kudhibiti wasifu.</p>
<p>Ikiwa huwezi kupata swali lako au ungependa kuripoti hitilafu, wasiliana nasi kwa admin@oppia.org.</p>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a1b7ad23201..0c43c5e2c26 100755
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -92,11 +92,11 @@
Topics in Progress
%s\%%
%s
- Chapter %s: %s
- Chapter %s with title %s is completed
- Chapter %s with title %s is in progress
- Complete Chapter %s: %s to unlock this chapter.
- Chapter %s: %s is currently locked. Please complete chapter %s: %s to unlock this chapter.
+ Chapter %1$s: %2$s
+ Chapter %1$s with title %2$s is completed
+ Chapter %1$s with title %2$s is in progress
+ Complete Chapter %1$s: %2$s to unlock this chapter.
+ Chapter %1$s: %2$s is currently locked. Please complete chapter %3$s: %4$s to unlock this chapter.
Complete the previous chapter to unlock this chapter.
Enter text.
Enter a fraction in the form x/x, or a mixed number in the form x x/x.
@@ -154,7 +154,7 @@
Topic Downloaded
Downloaded
Practice Mode
- Question %s of %s
+ Question %1$s of %2$s
Complete
Finished
You have finished all of the questions! You can choose to play another set of questions, or return to the topic.
@@ -190,7 +190,7 @@
%s GB
Correct!
Topic: %s
- %s %s!
+ %1$s %2$s!
- 1 Chapter
- %s Chapters
@@ -200,8 +200,8 @@
- %s Stories
- - %s of %s Chapter Completed
- - %s of %s Chapters Completed
+ - %1$s of %2$s Chapter Completed
+ - %1$s of %2$s Chapters Completed
- 1 Lesson
@@ -280,7 +280,7 @@
Skip
Next
Get Started
- Slide %s of %s
+ Slide %1$s of %2$s
Hi, %s!
Please enter your Administrator PIN.
@@ -465,7 +465,7 @@
Move item up to %s
Up
Down
- %s %s
+ %1$s %2$s
- a minute ago
- %s minutes ago
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 61eaea05390..32fcd43fce6 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -74,7 +74,8 @@
diff --git a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsActivityTest.kt
index 96da1bb908e..ed5e44231c5 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsActivityTest.kt
@@ -120,7 +120,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -928,7 +927,7 @@ class AdministratorControlsActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsFragmentTest.kt
index 7a3e7cee59b..6d543ac59af 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsFragmentTest.kt
@@ -100,7 +100,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -616,7 +615,7 @@ class AdministratorControlsFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AppVersionActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AppVersionActivityTest.kt
index 49a66d5c398..e8f5dc07884 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AppVersionActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/AppVersionActivityTest.kt
@@ -94,7 +94,6 @@ import org.oppia.android.util.extensions.getVersionName
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -307,7 +306,7 @@ class AppVersionActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/BUILD.bazel
index 847369f8d0e..1c98702393b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/BUILD.bazel
@@ -28,7 +28,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -65,7 +64,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdActivityTest.kt
index cdcd5f47c24..cdbbd25578d 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdActivityTest.kt
@@ -85,7 +85,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusManager
import org.oppia.android.util.logging.SyncStatusModule
@@ -227,7 +226,7 @@ class ProfileAndDeviceIdActivityTest {
SyncStatusModule::class, SplitScreenInteractionModule::class,
NumericExpressionInputModule::class, AlgebraicExpressionInputModule::class,
MathEquationInputModule::class, MetricLogSchedulerModule::class,
- TestingBuildFlavorModule::class, EventLoggingConfigurationModule::class,
+ TestingBuildFlavorModule::class,
ActivityRouterModule::class, CpuPerformanceSnapshotterModule::class,
ApplicationLifecycleModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
diff --git a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdFragmentTest.kt
index df161b770ae..890275fa0a6 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdFragmentTest.kt
@@ -122,7 +122,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.locale.OppiaLocale
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusManager.SyncStatus
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1139,7 +1138,7 @@ class ProfileAndDeviceIdFragmentTest {
SyncStatusTestModule::class, SplitScreenInteractionModule::class,
NumericExpressionInputModule::class, AlgebraicExpressionInputModule::class,
MathEquationInputModule::class, MetricLogSchedulerModule::class,
- TestingBuildFlavorModule::class, EventLoggingConfigurationModule::class,
+ TestingBuildFlavorModule::class,
ActivityRouterModule::class, CpuPerformanceSnapshotterModule::class,
ApplicationLifecycleModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
diff --git a/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListActivityTest.kt
index 845096edd39..7de41f91535 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListActivityTest.kt
@@ -76,7 +76,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -185,7 +184,7 @@ class ClassroomListActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListFragmentTest.kt
index c7986a03eb5..9a9e863143b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/classroom/ClassroomListFragmentTest.kt
@@ -112,7 +112,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.locale.OppiaLocale
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -902,7 +901,7 @@ class ClassroomListFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class, TestImageLoaderModule::class,
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/completedstorylist/CompletedStoryListActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/completedstorylist/CompletedStoryListActivityTest.kt
index 2d7afaf5f53..4b0c5d0e6a3 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/completedstorylist/CompletedStoryListActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/completedstorylist/CompletedStoryListActivityTest.kt
@@ -100,7 +100,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -539,7 +538,7 @@ class CompletedStoryListActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/customview/LessonThumbnailImageViewTest.kt b/app/src/sharedTest/java/org/oppia/android/app/customview/LessonThumbnailImageViewTest.kt
index 1a289adbc5a..821f649f615 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/customview/LessonThumbnailImageViewTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/customview/LessonThumbnailImageViewTest.kt
@@ -75,7 +75,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -177,7 +176,7 @@ class LessonThumbnailImageViewTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/BUILD.bazel
index c30d27bb755..79c19ba42e5 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/BUILD.bazel
@@ -34,7 +34,6 @@ app_test(
"//third_party:robolectric_android-all",
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/MathExpressionInteractionsViewTest.kt b/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/MathExpressionInteractionsViewTest.kt
index 3bf69aba46a..8c276551e21 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/MathExpressionInteractionsViewTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/customview/interaction/MathExpressionInteractionsViewTest.kt
@@ -97,7 +97,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1806,7 +1805,7 @@ class MathExpressionInteractionsViewTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/AppCompatCheckBoxBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/AppCompatCheckBoxBindingAdaptersTest.kt
index f16aec0eff3..10bf38da63b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/AppCompatCheckBoxBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/AppCompatCheckBoxBindingAdaptersTest.kt
@@ -76,7 +76,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -168,7 +167,7 @@ class AppCompatCheckBoxBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/databinding/BUILD.bazel
index 91bc0418d6b..c6c438cc60e 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/BUILD.bazel
@@ -70,7 +70,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -106,7 +105,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -142,7 +140,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -178,7 +175,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -214,7 +210,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -250,7 +245,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -286,7 +280,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -322,7 +315,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -358,7 +350,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -394,7 +385,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/CircularProgressIndicatorAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/CircularProgressIndicatorAdaptersTest.kt
index 8f7c78964ac..8eeeb56da65 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/CircularProgressIndicatorAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/CircularProgressIndicatorAdaptersTest.kt
@@ -81,7 +81,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -299,7 +298,7 @@ class CircularProgressIndicatorAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/ColorBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/ColorBindingAdaptersTest.kt
index b0054de19ff..da7268e6ca5 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/ColorBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/ColorBindingAdaptersTest.kt
@@ -78,7 +78,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -183,7 +182,7 @@ class ColorBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/DrawableBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/DrawableBindingAdaptersTest.kt
index 19c12c8d35b..cfa195714fa 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/DrawableBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/DrawableBindingAdaptersTest.kt
@@ -80,7 +80,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -188,7 +187,7 @@ class DrawableBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/ImageViewBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/ImageViewBindingAdaptersTest.kt
index 55011df1067..3caa12ca21e 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/ImageViewBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/ImageViewBindingAdaptersTest.kt
@@ -85,7 +85,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -230,7 +229,7 @@ class ImageViewBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/MarginBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/MarginBindingAdaptersTest.kt
index 826d629d355..0ac0a8483b9 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/MarginBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/MarginBindingAdaptersTest.kt
@@ -90,7 +90,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -351,7 +350,7 @@ class MarginBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerMarginBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerMarginBindingAdaptersTest.kt
index 5cb77082e7c..c2f0e9d5eb4 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerMarginBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerMarginBindingAdaptersTest.kt
@@ -88,7 +88,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -506,7 +505,7 @@ class StateAssemblerMarginBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerPaddingBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerPaddingBindingAdaptersTest.kt
index 404ddf2ce36..32d07d6feb9 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerPaddingBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/StateAssemblerPaddingBindingAdaptersTest.kt
@@ -86,7 +86,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -504,7 +503,7 @@ class StateAssemblerPaddingBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/TextInputLayoutBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/TextInputLayoutBindingAdaptersTest.kt
index 844f2e70327..953d52cf8de 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/TextInputLayoutBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/TextInputLayoutBindingAdaptersTest.kt
@@ -76,7 +76,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -205,7 +204,7 @@ class TextInputLayoutBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/TextViewBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/TextViewBindingAdaptersTest.kt
index bc00e284c6c..9bb4cab6bb1 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/TextViewBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/TextViewBindingAdaptersTest.kt
@@ -79,7 +79,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -310,7 +309,7 @@ class TextViewBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/databinding/ViewBindingAdaptersTest.kt b/app/src/sharedTest/java/org/oppia/android/app/databinding/ViewBindingAdaptersTest.kt
index aeb0d606ddb..92afe7e3b60 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/databinding/ViewBindingAdaptersTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/databinding/ViewBindingAdaptersTest.kt
@@ -83,7 +83,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -238,7 +237,7 @@ class ViewBindingAdaptersTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsActivityTest.kt
index 9210e687ffa..47401fc5216 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsActivityTest.kt
@@ -104,7 +104,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -342,7 +341,7 @@ class DeveloperOptionsActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsFragmentTest.kt
index 9f91c2dbd19..a25c1f61952 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/DeveloperOptionsFragmentTest.kt
@@ -98,7 +98,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -661,7 +660,7 @@ class DeveloperOptionsFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedActivityTest.kt
index 78dfe47defd..c831fcb7050 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedActivityTest.kt
@@ -89,7 +89,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -271,7 +270,7 @@ class MarkChaptersCompletedActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedFragmentTest.kt
index 2ce4a9323ab..cd7818cd864 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkChaptersCompletedFragmentTest.kt
@@ -99,7 +99,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1089,7 +1088,7 @@ class MarkChaptersCompletedFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedActivityTest.kt
index d9e860e8473..4600d53176b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedActivityTest.kt
@@ -79,7 +79,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -202,7 +201,7 @@ class MarkStoriesCompletedActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedFragmentTest.kt
index f8ab0bbacef..6579e471da1 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkStoriesCompletedFragmentTest.kt
@@ -91,7 +91,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -623,7 +622,7 @@ class MarkStoriesCompletedFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedActivityTest.kt
index 6358140af44..0d6195ea12b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedActivityTest.kt
@@ -79,7 +79,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -202,7 +201,7 @@ class MarkTopicsCompletedActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedFragmentTest.kt
index 91cc3ee71f2..11d886f7814 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedFragmentTest.kt
@@ -91,7 +91,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -602,7 +601,7 @@ class MarkTopicsCompletedFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsActivityTest.kt
index 8ea77d0c034..66172c2e8d1 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsActivityTest.kt
@@ -79,7 +79,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.DebugLogReportingModule
@@ -192,7 +191,7 @@ class ViewEventLogsActivityTest {
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class,
PerformanceMetricsAssessorModule::class, PerformanceMetricsConfigurationsModule::class,
- TestingBuildFlavorModule::class, EventLoggingConfigurationModule::class,
+ TestingBuildFlavorModule::class,
ActivityRouterModule::class, CpuPerformanceSnapshotterModule::class,
ExplorationProgressModule::class,
TestAuthenticationModule::class
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsFragmentTest.kt
index f40406b79fd..e4952bffb71 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/ViewEventLogsFragmentTest.kt
@@ -95,7 +95,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.AnalyticsEventLogger
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.ExceptionLogger
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
@@ -755,7 +754,7 @@ class ViewEventLogsFragmentTest {
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, PerformanceMetricsAssessorModule::class,
PerformanceMetricsConfigurationsModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class,
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeActivityTest.kt
index e5fd7723e09..832e378cae9 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeActivityTest.kt
@@ -80,7 +80,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -193,7 +192,7 @@ class ForceNetworkTypeActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeFragmentTest.kt
index b6010476622..46872bc9b64 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/forcenetworktype/ForceNetworkTypeFragmentTest.kt
@@ -84,7 +84,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -400,7 +399,7 @@ class ForceNetworkTypeFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/BUILD.bazel
index 0a49195e96c..8f3db957dcc 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/BUILD.bazel
@@ -31,7 +31,6 @@ app_test(
"//third_party:robolectric_android-all",
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -64,7 +63,6 @@ app_test(
"//third_party:robolectric_android-all",
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserActivityTest.kt
index 9ffd7fcabe5..3070fd11dd2 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserActivityTest.kt
@@ -77,7 +77,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -178,7 +177,7 @@ class MathExpressionParserActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserFragmentTest.kt
index a381f85a049..36b378e0a2d 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/devoptions/mathexpressionparser/MathExpressionParserFragmentTest.kt
@@ -87,7 +87,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1418,7 +1417,7 @@ class MathExpressionParserFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/faq/FAQListFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/faq/FAQListFragmentTest.kt
index 875f395be75..5e032dfec9a 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/faq/FAQListFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/faq/FAQListFragmentTest.kt
@@ -91,7 +91,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -260,7 +259,7 @@ class FAQListFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/faq/FAQSingleActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/faq/FAQSingleActivityTest.kt
index f4f947fde89..d38ddf5fd17 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/faq/FAQSingleActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/faq/FAQSingleActivityTest.kt
@@ -87,7 +87,6 @@ import org.oppia.android.util.gcsresource.DefaultResourceBucketName
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -239,7 +238,7 @@ class FAQSingleActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/faq/FaqListActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/faq/FaqListActivityTest.kt
index 815dac646ad..c9399fab764 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/faq/FaqListActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/faq/FaqListActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -166,7 +165,7 @@ class FaqListActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/help/HelpActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/help/HelpActivityTest.kt
index ca9cbf486ad..fed5e5d83ab 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/help/HelpActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/help/HelpActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -169,7 +168,7 @@ class HelpActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/help/HelpFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/help/HelpFragmentTest.kt
index e378a684dd9..fade98c9349 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/help/HelpFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/help/HelpFragmentTest.kt
@@ -110,7 +110,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1481,7 +1480,7 @@ class HelpFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/home/HomeActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/home/HomeActivityTest.kt
index b6962460974..46df59bfa2f 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/home/HomeActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/home/HomeActivityTest.kt
@@ -144,7 +144,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -2063,7 +2062,7 @@ class HomeActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/home/RecentlyPlayedFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/home/RecentlyPlayedFragmentTest.kt
index 9cf3f4ebf3e..0916c25d749 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/home/RecentlyPlayedFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/home/RecentlyPlayedFragmentTest.kt
@@ -124,7 +124,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1684,7 +1683,7 @@ class RecentlyPlayedFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/home/TopicSummaryViewModelTest.kt b/app/src/sharedTest/java/org/oppia/android/app/home/TopicSummaryViewModelTest.kt
index 2a5c4e54f36..c97c82d7242 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/home/TopicSummaryViewModelTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/home/TopicSummaryViewModelTest.kt
@@ -76,7 +76,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -389,7 +388,7 @@ class TopicSummaryViewModelTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/home/WelcomeViewModelTest.kt b/app/src/sharedTest/java/org/oppia/android/app/home/WelcomeViewModelTest.kt
index 726c76c7f73..f7c504ae8c4 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/home/WelcomeViewModelTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/home/WelcomeViewModelTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -362,7 +361,7 @@ class WelcomeViewModelTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryListViewModelTest.kt b/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryListViewModelTest.kt
index f7da7a5d2d2..80d3d215180 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryListViewModelTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryListViewModelTest.kt
@@ -76,7 +76,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -375,7 +374,7 @@ class PromotedStoryListViewModelTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryViewModelTest.kt b/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryViewModelTest.kt
index 859b55572f1..ae6037af1de 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryViewModelTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/home/promotedlist/PromotedStoryViewModelTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -401,7 +400,7 @@ class PromotedStoryViewModelTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsActivityTest.kt
index 98eee4d1a68..289fdb8386e 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsActivityTest.kt
@@ -82,7 +82,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -197,7 +196,7 @@ class MyDownloadsActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsFragmentTest.kt
index cdd24a8e73b..e76c11e9756 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/mydownloads/MyDownloadsFragmentTest.kt
@@ -81,7 +81,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -238,7 +237,7 @@ class MyDownloadsFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/notice/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/notice/BUILD.bazel
index fae6ecc5a23..f065383e9a5 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/notice/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/notice/BUILD.bazel
@@ -35,7 +35,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
@@ -72,7 +71,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
@@ -103,7 +101,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/extensions:context_extensions",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
)
@@ -132,7 +129,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/extensions:context_extensions",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
)
@@ -161,7 +157,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/accessibility:test_module",
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/extensions:context_extensions",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
)
diff --git a/app/src/sharedTest/java/org/oppia/android/app/notice/BetaNoticeDialogFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/notice/BetaNoticeDialogFragmentTest.kt
index 2155cb3d671..b7f7a024d13 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/notice/BetaNoticeDialogFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/notice/BetaNoticeDialogFragmentTest.kt
@@ -86,7 +86,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -249,7 +248,7 @@ class BetaNoticeDialogFragmentTest {
SplitScreenInteractionModule::class, LoggingIdentifierModule::class,
ApplicationLifecycleModule::class, SyncStatusModule::class, TestingBuildFlavorModule::class,
CachingTestModule::class, MetricLogSchedulerModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/notice/ForcedAppDeprecationNoticeDialogFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/notice/ForcedAppDeprecationNoticeDialogFragmentTest.kt
index 161210eaddd..558b356daac 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/notice/ForcedAppDeprecationNoticeDialogFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/notice/ForcedAppDeprecationNoticeDialogFragmentTest.kt
@@ -85,7 +85,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -238,7 +237,7 @@ class ForcedAppDeprecationNoticeDialogFragmentTest {
SplitScreenInteractionModule::class, LoggingIdentifierModule::class,
ApplicationLifecycleModule::class, SyncStatusModule::class, TestingBuildFlavorModule::class,
CachingTestModule::class, MetricLogSchedulerModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/notice/GeneralAvailabilityUpgradeNoticeDialogFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/notice/GeneralAvailabilityUpgradeNoticeDialogFragmentTest.kt
index 328c63583ef..098f4fb8144 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/notice/GeneralAvailabilityUpgradeNoticeDialogFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/notice/GeneralAvailabilityUpgradeNoticeDialogFragmentTest.kt
@@ -86,7 +86,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -256,7 +255,7 @@ class GeneralAvailabilityUpgradeNoticeDialogFragmentTest {
SplitScreenInteractionModule::class, LoggingIdentifierModule::class,
ApplicationLifecycleModule::class, SyncStatusModule::class, TestingBuildFlavorModule::class,
CachingTestModule::class, MetricLogSchedulerModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/notice/OptionalAppDeprecationNoticeDialogFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/notice/OptionalAppDeprecationNoticeDialogFragmentTest.kt
index 8ef96d1613f..3f099affbc4 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/notice/OptionalAppDeprecationNoticeDialogFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/notice/OptionalAppDeprecationNoticeDialogFragmentTest.kt
@@ -87,7 +87,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getVersionCode
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -247,7 +246,7 @@ class OptionalAppDeprecationNoticeDialogFragmentTest {
SplitScreenInteractionModule::class, LoggingIdentifierModule::class,
ApplicationLifecycleModule::class, SyncStatusModule::class, TestingBuildFlavorModule::class,
CachingTestModule::class, MetricLogSchedulerModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/notice/OsDeprecationNoticeDialogFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/notice/OsDeprecationNoticeDialogFragmentTest.kt
index 630f1f84aac..8c44a36dc31 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/notice/OsDeprecationNoticeDialogFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/notice/OsDeprecationNoticeDialogFragmentTest.kt
@@ -86,7 +86,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -229,7 +228,7 @@ class OsDeprecationNoticeDialogFragmentTest {
SplitScreenInteractionModule::class, LoggingIdentifierModule::class,
ApplicationLifecycleModule::class, SyncStatusModule::class, TestingBuildFlavorModule::class,
CachingTestModule::class, MetricLogSchedulerModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileActivityTest.kt
index 3763cf7d57c..6255d92d7e0 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileActivityTest.kt
@@ -75,7 +75,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -181,7 +180,7 @@ class CreateProfileActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileFragmentTest.kt
index c59489c20c9..f45cebfb42f 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/CreateProfileFragmentTest.kt
@@ -108,7 +108,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.putProtoExtra
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -686,7 +685,7 @@ class CreateProfileFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class, TestImageLoaderModule::class,
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroActivityTest.kt
index 73dbd70e492..c0f92b58bca 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroActivityTest.kt
@@ -75,7 +75,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -183,7 +182,7 @@ class IntroActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroFragmentTest.kt
index c72f4e5721b..0db62fa800b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/IntroFragmentTest.kt
@@ -87,7 +87,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.putProtoExtra
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -256,7 +255,7 @@ class IntroFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingActivityTest.kt
index d35c89af96e..2345101ede4 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingActivityTest.kt
@@ -73,7 +73,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -164,7 +163,7 @@ class OnboardingActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingFragmentTest.kt
index b7c3f0f5231..c985ce11ab4 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingFragmentTest.kt
@@ -111,7 +111,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1157,7 +1156,7 @@ class OnboardingFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeActivityTest.kt
index 82c3d74ae11..0c569d5941c 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeActivityTest.kt
@@ -75,7 +75,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -182,7 +181,7 @@ class OnboardingProfileTypeActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeFragmentTest.kt
index fbeb04c4f11..8493d3ae7ed 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/onboarding/OnboardingProfileTypeFragmentTest.kt
@@ -91,7 +91,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.locale.OppiaLocale
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -376,7 +375,7 @@ class OnboardingProfileTypeFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/ongoingtopiclist/OngoingTopicListActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/ongoingtopiclist/OngoingTopicListActivityTest.kt
index 7c6f16174d0..d5c066cb437 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/ongoingtopiclist/OngoingTopicListActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/ongoingtopiclist/OngoingTopicListActivityTest.kt
@@ -98,7 +98,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -488,7 +487,7 @@ class OngoingTopicListActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageActivityTest.kt
index ba0831a5696..f5ff14491ba 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -173,7 +172,7 @@ class AppLanguageActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageFragmentTest.kt
index 074985b485b..2f32094463c 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/AppLanguageFragmentTest.kt
@@ -87,7 +87,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -356,7 +355,7 @@ class AppLanguageFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageActivityTest.kt
index 89bb88668cf..c2e00b7e1ec 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -164,7 +163,7 @@ class AudioLanguageActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt
index 8195ac0f683..cb3fef2835f 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt
@@ -103,7 +103,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -563,7 +562,7 @@ class AudioLanguageFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/OptionsActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/OptionsActivityTest.kt
index 8a9b5e83586..c7209180411 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/OptionsActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/OptionsActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -169,7 +168,7 @@ class OptionsActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/OptionsFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/OptionsFragmentTest.kt
index 5cb9b71ef75..07d94b978f7 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/OptionsFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/OptionsFragmentTest.kt
@@ -102,7 +102,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -627,7 +626,7 @@ class OptionsFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeActivityTest.kt
index 046cd81fed2..5eb5c15332a 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeActivityTest.kt
@@ -73,7 +73,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -164,7 +163,7 @@ class ReadingTextSizeActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeFragmentTest.kt
index 1883d2459bf..5e1ef9f6c61 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/options/ReadingTextSizeFragmentTest.kt
@@ -92,7 +92,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -354,7 +353,7 @@ class ReadingTextSizeFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/parser/HtmlParserTest.kt b/app/src/sharedTest/java/org/oppia/android/app/parser/HtmlParserTest.kt
index 3d9c7be9364..1e1ca843c6a 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/parser/HtmlParserTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/parser/HtmlParserTest.kt
@@ -121,7 +121,6 @@ import org.oppia.android.util.locale.DisplayLocaleImpl
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.locale.OppiaBidiFormatter
import org.oppia.android.util.locale.OppiaLocale
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -914,7 +913,7 @@ class HtmlParserTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/player/audio/AudioFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/player/audio/AudioFragmentTest.kt
index 382327eb863..dec40d9a790 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/player/audio/AudioFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/player/audio/AudioFragmentTest.kt
@@ -102,7 +102,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -505,7 +504,7 @@ class AudioFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BUILD.bazel
index 4ba1c3f5b56..64a22de135b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BUILD.bazel
@@ -35,7 +35,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
@@ -94,7 +93,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
diff --git a/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BottomSheetOptionsMenuTest.kt b/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BottomSheetOptionsMenuTest.kt
index 7fb19f1484f..82572882642 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BottomSheetOptionsMenuTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/player/exploration/BottomSheetOptionsMenuTest.kt
@@ -82,7 +82,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -192,7 +191,7 @@ class BottomSheetOptionsMenuTest {
SplitScreenInteractionModule::class, LoggingIdentifierModule::class,
ApplicationLifecycleModule::class, SyncStatusModule::class, TestingBuildFlavorModule::class,
CachingTestModule::class, MetricLogSchedulerModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/player/exploration/ExplorationActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/player/exploration/ExplorationActivityTest.kt
index 32d29315737..d5adce598af 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/player/exploration/ExplorationActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/player/exploration/ExplorationActivityTest.kt
@@ -161,7 +161,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -2903,7 +2902,7 @@ class ExplorationActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/player/state/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/player/state/BUILD.bazel
index 1264e021c84..9bdb9a1acc1 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/player/state/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/player/state/BUILD.bazel
@@ -45,7 +45,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
diff --git a/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt
index 6bb74d198a5..afe8a45c5b1 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt
@@ -179,7 +179,6 @@ import org.oppia.android.util.caching.LoadImagesFromAssets
import org.oppia.android.util.caching.LoadLessonProtosFromAssets
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -5766,7 +5765,7 @@ class StateFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesActivityTest.kt
index 2a2d4e8fb72..ff1e8c493c5 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesActivityTest.kt
@@ -93,7 +93,6 @@ import org.oppia.android.util.gcsresource.DefaultResourceBucketName
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -279,7 +278,7 @@ class PoliciesActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesFragmentTest.kt
index b6d16ecd926..3db8bca24cd 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/policies/PoliciesFragmentTest.kt
@@ -104,7 +104,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.DefaultResourceBucketName
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -359,7 +358,7 @@ class PoliciesFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profile/AddProfileActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profile/AddProfileActivityTest.kt
index 6e4992389cd..b9aa2114cd6 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profile/AddProfileActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profile/AddProfileActivityTest.kt
@@ -13,6 +13,7 @@ import androidx.appcompat.app.AppCompatActivity
import androidx.test.core.app.ActivityScenario.launch
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso.onView
+import androidx.test.espresso.action.ViewActions
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.ViewActions.closeSoftKeyboard
import androidx.test.espresso.action.ViewActions.pressImeActionButton
@@ -114,7 +115,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1749,6 +1749,15 @@ class AddProfileActivityTest {
assertThat(currentScreenName).isEqualTo(ScreenName.ADD_PROFILE_ACTIVITY)
}
+ @Test
+ fun testAddProfileActivity_onBackPressed_finishActivity() {
+ val scenario = launch(AddProfileActivity::class.java)
+ onView(isRoot()).perform(ViewActions.pressBack())
+ testCoroutineDispatchers.runCurrent()
+ scenario.onActivity { activity ->
+ assertThat(activity.isFinishing).isTrue()
+ }
+ }
private fun createAddProfileActivityIntent(): Intent {
return AddProfileActivity.createAddProfileActivityIntent(
ApplicationProvider.getApplicationContext(),
@@ -1795,7 +1804,7 @@ class AddProfileActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profile/AdminAuthActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profile/AdminAuthActivityTest.kt
index 3cab12f1fd5..38e7ecd8019 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profile/AdminAuthActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profile/AdminAuthActivityTest.kt
@@ -96,7 +96,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -692,7 +691,7 @@ class AdminAuthActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profile/AdminPinActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profile/AdminPinActivityTest.kt
index 33fc0a1fbb6..901aee82fcf 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profile/AdminPinActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profile/AdminPinActivityTest.kt
@@ -107,7 +107,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1109,7 +1108,7 @@ class AdminPinActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profile/PinPasswordActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profile/PinPasswordActivityTest.kt
index 1e678cb7cdb..198b2890f6d 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profile/PinPasswordActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profile/PinPasswordActivityTest.kt
@@ -106,7 +106,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1260,7 +1259,7 @@ class PinPasswordActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserActivityTest.kt
index cf5339feb13..c7cf8e611c5 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -163,7 +162,7 @@ class ProfileChooserActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserFragmentTest.kt
index 322f5e2855d..15479e71e4f 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profile/ProfileChooserFragmentTest.kt
@@ -101,7 +101,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -590,7 +589,7 @@ class ProfileChooserFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfilePictureActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfilePictureActivityTest.kt
index f24675389c6..833d18873fb 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfilePictureActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfilePictureActivityTest.kt
@@ -82,7 +82,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -219,7 +218,7 @@ class ProfilePictureActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressActivityTest.kt
index 50f62020d71..2e256508a1d 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressActivityTest.kt
@@ -73,7 +73,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -169,7 +168,7 @@ class ProfileProgressActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
index a9015c415da..1bfc769e383 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
@@ -124,7 +124,6 @@ import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.EnableConsoleLog
import org.oppia.android.util.logging.EnableFileLog
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.GlobalLogLevel
import org.oppia.android.util.logging.LogLevel
import org.oppia.android.util.logging.SyncStatusModule
@@ -914,7 +913,7 @@ class ProfileProgressFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/recyclerview/BindableAdapterTest.kt b/app/src/sharedTest/java/org/oppia/android/app/recyclerview/BindableAdapterTest.kt
index f896d8ec490..c948b006621 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/recyclerview/BindableAdapterTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/recyclerview/BindableAdapterTest.kt
@@ -109,7 +109,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -682,7 +681,7 @@ class BindableAdapterTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonActivityTest.kt
index 40aeae59dcc..6f09f3ec034 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonActivityTest.kt
@@ -96,7 +96,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -241,7 +240,7 @@ class ResumeLessonActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonFragmentTest.kt
index 33da1eeed36..bd1dc7f6eee 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/resumelesson/ResumeLessonFragmentTest.kt
@@ -103,7 +103,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -419,7 +418,7 @@ class ResumeLessonFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditActivityTest.kt
index cbee7ee1069..d63a296f378 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditActivityTest.kt
@@ -92,7 +92,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -371,7 +370,7 @@ class ProfileEditActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditFragmentTest.kt
index 811072493a6..b6ae6b60b22 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileEditFragmentTest.kt
@@ -106,7 +106,6 @@ import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.extensions.getProtoExtra
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -538,7 +537,7 @@ class ProfileEditFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListActivityTest.kt
index 8b3628f767e..17c7f4e5530 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListActivityTest.kt
@@ -73,7 +73,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -165,7 +164,7 @@ class ProfileListActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListFragmentTest.kt
index 742c20bd0f5..3afe87752cc 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileListFragmentTest.kt
@@ -91,7 +91,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -421,7 +420,7 @@ class ProfileListFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameActivityTest.kt
index 8f15112e9fc..0a1d886dda6 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameActivityTest.kt
@@ -77,7 +77,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -191,7 +190,7 @@ class ProfileRenameActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameFragmentTest.kt
index 1fc5d9316d3..5d23d4efe82 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileRenameFragmentTest.kt
@@ -94,7 +94,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -494,7 +493,7 @@ class ProfileRenameFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinActivityTest.kt
index 544ae8034d0..b42ac9f88ac 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinActivityTest.kt
@@ -78,7 +78,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -200,7 +199,7 @@ class ProfileResetPinActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinFragmentTest.kt
index c0e1541d8a3..ebf35ec36d6 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/settings/profile/ProfileResetPinFragmentTest.kt
@@ -97,7 +97,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1099,7 +1098,7 @@ class ProfileResetPinFragmentTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/splash/BUILD.bazel b/app/src/sharedTest/java/org/oppia/android/app/splash/BUILD.bazel
index 387ee6650f4..be9324b4937 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/splash/BUILD.bazel
+++ b/app/src/sharedTest/java/org/oppia/android/app/splash/BUILD.bazel
@@ -44,7 +44,6 @@ app_test(
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
diff --git a/app/src/sharedTest/java/org/oppia/android/app/splash/SplashActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/splash/SplashActivityTest.kt
index 484a9696142..0cc3ccec366 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/splash/SplashActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/splash/SplashActivityTest.kt
@@ -113,7 +113,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1226,7 +1225,7 @@ class SplashActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/spotlight/SpotlightFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/spotlight/SpotlightFragmentTest.kt
index 9fb017111e3..0609053aeec 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/spotlight/SpotlightFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/spotlight/SpotlightFragmentTest.kt
@@ -86,7 +86,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.DefaultResourceBucketName
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -391,7 +390,7 @@ class SpotlightFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/story/StoryActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/story/StoryActivityTest.kt
index 733b0efc911..117640c66e7 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/story/StoryActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/story/StoryActivityTest.kt
@@ -96,7 +96,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -267,7 +266,7 @@ class StoryActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/story/StoryFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/story/StoryFragmentTest.kt
index c8013552937..e478307ae65 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/story/StoryFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/story/StoryFragmentTest.kt
@@ -136,7 +136,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1045,7 +1044,7 @@ class StoryFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyActivityTest.kt
index 3634f6f4a24..e2258bdc5d6 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyActivityTest.kt
@@ -79,7 +79,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -192,7 +191,7 @@ class SurveyActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyFragmentTest.kt
index 332914c0c7c..358679a2b35 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/survey/SurveyFragmentTest.kt
@@ -106,7 +106,6 @@ import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -647,7 +646,7 @@ class SurveyFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/DragDropTestActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/DragDropTestActivityTest.kt
index 9417fedeb1b..6209e6b49fe 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/DragDropTestActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/DragDropTestActivityTest.kt
@@ -82,7 +82,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -236,7 +235,7 @@ class DragDropTestActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/FractionInputInteractionViewTestActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/FractionInputInteractionViewTestActivityTest.kt
index 45b86216d84..ce7a4b8fd92 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/FractionInputInteractionViewTestActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/FractionInputInteractionViewTestActivityTest.kt
@@ -84,7 +84,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -577,7 +576,7 @@ class FractionInputInteractionViewTestActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/ImageRegionSelectionInteractionViewTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/ImageRegionSelectionInteractionViewTest.kt
index a754284daaa..6b558212760 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/ImageRegionSelectionInteractionViewTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/ImageRegionSelectionInteractionViewTest.kt
@@ -101,7 +101,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -455,7 +454,7 @@ class ImageRegionSelectionInteractionViewTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/InputInteractionViewTestActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/InputInteractionViewTestActivityTest.kt
index abbb27b7dd5..92053254ccc 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/InputInteractionViewTestActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/InputInteractionViewTestActivityTest.kt
@@ -84,7 +84,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -451,7 +450,7 @@ class InputInteractionViewTestActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityDebugTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityDebugTest.kt
index e367b50c81a..36e5f90594f 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityDebugTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityDebugTest.kt
@@ -114,7 +114,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -457,7 +456,7 @@ class NavigationDrawerActivityDebugTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityProdTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityProdTest.kt
index c5a79951ef5..7075675cc9a 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityProdTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/NavigationDrawerActivityProdTest.kt
@@ -123,7 +123,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1019,7 +1018,7 @@ class NavigationDrawerActivityProdTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/RatioInputInteractionViewTestActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/RatioInputInteractionViewTestActivityTest.kt
index f766a7a1bb0..6f3fdc02b3d 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/RatioInputInteractionViewTestActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/RatioInputInteractionViewTestActivityTest.kt
@@ -91,7 +91,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -445,7 +444,7 @@ class RatioInputInteractionViewTestActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/TestFontScaleConfigurationUtilActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/TestFontScaleConfigurationUtilActivityTest.kt
index 7da565cf4a4..b714c9f31ba 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/TestFontScaleConfigurationUtilActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/TestFontScaleConfigurationUtilActivityTest.kt
@@ -77,7 +77,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -211,7 +210,7 @@ class TestFontScaleConfigurationUtilActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/TextInputInteractionViewTestActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/TextInputInteractionViewTestActivityTest.kt
index 078853e8adf..29356e45382 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/TextInputInteractionViewTestActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/TextInputInteractionViewTestActivityTest.kt
@@ -83,7 +83,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -244,7 +243,7 @@ class TextInputInteractionViewTestActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class
]
)
diff --git a/app/src/sharedTest/java/org/oppia/android/app/testing/TopicTestActivityForStoryTest.kt b/app/src/sharedTest/java/org/oppia/android/app/testing/TopicTestActivityForStoryTest.kt
index bce20a77687..3585996ccf3 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/testing/TopicTestActivityForStoryTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/testing/TopicTestActivityForStoryTest.kt
@@ -83,7 +83,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -212,7 +211,7 @@ class TopicTestActivityForStoryTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListActivityTest.kt
index 6ee2c2c8425..f3ef4c05bca 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -178,7 +177,7 @@ class LicenseListActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListFragmentTest.kt
index 5e6a627b086..d5cc68155f1 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseListFragmentTest.kt
@@ -93,7 +93,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -408,7 +407,7 @@ class LicenseListFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerActivityTest.kt
index 8c447854ba7..9733daf8297 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerActivityTest.kt
@@ -83,7 +83,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -282,7 +281,7 @@ class LicenseTextViewerActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerFragmentTest.kt
index b397bcd214b..f264a3cc398 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/LicenseTextViewerFragmentTest.kt
@@ -79,7 +79,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -356,7 +355,7 @@ class LicenseTextViewerFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListActivityTest.kt
index 70d49bf0af0..95e617c29a8 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListActivityTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -175,7 +174,7 @@ class ThirdPartyDependencyListActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListFragmentTest.kt
index 08c49683c59..cd7e57c7a8a 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/thirdparty/ThirdPartyDependencyListFragmentTest.kt
@@ -92,7 +92,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -516,7 +515,7 @@ class ThirdPartyDependencyListFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class, SyncStatusModule::class,
MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/TopicActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/TopicActivityTest.kt
index debec65d207..fd3abbeb87c 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/TopicActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/TopicActivityTest.kt
@@ -97,7 +97,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -257,7 +256,7 @@ class TopicActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/TopicFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/TopicFragmentTest.kt
index dc00a9ca748..e7ae27305ff 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/TopicFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/TopicFragmentTest.kt
@@ -111,7 +111,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1070,7 +1069,7 @@ class TopicFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragmentTest.kt
index ac21622d80e..1c6dc654f0b 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragmentTest.kt
@@ -120,7 +120,6 @@ import org.oppia.android.util.caching.LoadLessonProtosFromAssets
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -621,7 +620,7 @@ class ConceptCardFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/info/TopicInfoFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/info/TopicInfoFragmentTest.kt
index cabd5945931..472e8aefd8a 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/info/TopicInfoFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/info/TopicInfoFragmentTest.kt
@@ -103,7 +103,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -515,7 +514,7 @@ class TopicInfoFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentTest.kt
index 075b49e8ac0..0bbc1c36717 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentTest.kt
@@ -126,7 +126,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1359,7 +1358,7 @@ class TopicLessonsFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/practice/TopicPracticeFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/practice/TopicPracticeFragmentTest.kt
index fd5c8f4117f..3707b80e7b2 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/practice/TopicPracticeFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/practice/TopicPracticeFragmentTest.kt
@@ -102,7 +102,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -466,7 +465,7 @@ class TopicPracticeFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityTest.kt
index e612dacc954..29cfd79e184 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityTest.kt
@@ -145,7 +145,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -880,7 +879,7 @@ class QuestionPlayerActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/revision/TopicRevisionFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/revision/TopicRevisionFragmentTest.kt
index dec1050be90..518d1c8ee84 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/revision/TopicRevisionFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/revision/TopicRevisionFragmentTest.kt
@@ -104,7 +104,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -374,7 +373,7 @@ class TopicRevisionFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityTest.kt
index c73b3c86579..15e47cbb2f2 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityTest.kt
@@ -98,7 +98,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -480,7 +479,7 @@ class RevisionCardActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardFragmentTest.kt
index 8be20c6dc55..6e3e3a6729e 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/topic/revisioncard/RevisionCardFragmentTest.kt
@@ -127,7 +127,6 @@ import org.oppia.android.util.caching.LoadLessonProtosFromAssets
import org.oppia.android.util.extensions.getProto
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -943,7 +942,7 @@ class RevisionCardFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/utility/RatioExtensionsTest.kt b/app/src/sharedTest/java/org/oppia/android/app/utility/RatioExtensionsTest.kt
index 7db790a6b1e..9e96546527f 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/utility/RatioExtensionsTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/utility/RatioExtensionsTest.kt
@@ -70,7 +70,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -164,7 +163,7 @@ class RatioExtensionsTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughActivityTest.kt b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughActivityTest.kt
index 4f59324ee1f..5939e42ae93 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughActivityTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughActivityTest.kt
@@ -85,7 +85,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.extractCurrentAppScreenName
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -253,7 +252,7 @@ class WalkthroughActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughFinalFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughFinalFragmentTest.kt
index 3bd1620da59..608d84b0b19 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughFinalFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughFinalFragmentTest.kt
@@ -87,7 +87,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -299,7 +298,7 @@ class WalkthroughFinalFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughTopicListFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughTopicListFragmentTest.kt
index 831fb16faee..7bf8581cafe 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughTopicListFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughTopicListFragmentTest.kt
@@ -92,7 +92,6 @@ import org.oppia.android.util.caching.LoadImagesFromAssets
import org.oppia.android.util.caching.LoadLessonProtosFromAssets
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -315,7 +314,7 @@ class WalkthroughTopicListFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughWelcomeFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughWelcomeFragmentTest.kt
index 34437e03bc7..97974f3a2d6 100644
--- a/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughWelcomeFragmentTest.kt
+++ b/app/src/sharedTest/java/org/oppia/android/app/walkthrough/WalkthroughWelcomeFragmentTest.kt
@@ -84,7 +84,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -222,7 +221,7 @@ class WalkthroughWelcomeFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/activity/ActivityIntentFactoriesTest.kt b/app/src/test/java/org/oppia/android/app/activity/ActivityIntentFactoriesTest.kt
index 4a75e8d367a..554cbeff236 100644
--- a/app/src/test/java/org/oppia/android/app/activity/ActivityIntentFactoriesTest.kt
+++ b/app/src/test/java/org/oppia/android/app/activity/ActivityIntentFactoriesTest.kt
@@ -76,7 +76,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.extensions.getProtoExtra
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -206,7 +205,7 @@ class ActivityIntentFactoriesTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/activity/BUILD.bazel b/app/src/test/java/org/oppia/android/app/activity/BUILD.bazel
index 48fed80cf67..9c2f2586933 100644
--- a/app/src/test/java/org/oppia/android/app/activity/BUILD.bazel
+++ b/app/src/test/java/org/oppia/android/app/activity/BUILD.bazel
@@ -37,7 +37,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt b/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
index b3caf939c6d..3aa92beb124 100644
--- a/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
+++ b/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterModuleTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -160,7 +159,7 @@ class ActivityRouterModuleTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterTest.kt b/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterTest.kt
index e493e5a6120..d1f06461035 100644
--- a/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterTest.kt
+++ b/app/src/test/java/org/oppia/android/app/activity/route/ActivityRouterTest.kt
@@ -80,7 +80,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -191,7 +190,7 @@ class ActivityRouterTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/activity/route/BUILD.bazel b/app/src/test/java/org/oppia/android/app/activity/route/BUILD.bazel
index 250d3e8bf15..e44430238fc 100644
--- a/app/src/test/java/org/oppia/android/app/activity/route/BUILD.bazel
+++ b/app/src/test/java/org/oppia/android/app/activity/route/BUILD.bazel
@@ -41,7 +41,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/extensions:bundle_extensions",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -81,7 +80,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/app/src/test/java/org/oppia/android/app/home/HomeActivityLocalTest.kt b/app/src/test/java/org/oppia/android/app/home/HomeActivityLocalTest.kt
index 2d529beffd9..9930513107a 100644
--- a/app/src/test/java/org/oppia/android/app/home/HomeActivityLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/home/HomeActivityLocalTest.kt
@@ -79,7 +79,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -215,7 +214,7 @@ class HomeActivityLocalTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/parser/FractionParsingUiErrorTest.kt b/app/src/test/java/org/oppia/android/app/parser/FractionParsingUiErrorTest.kt
index 6a308f4ae91..df806df9225 100644
--- a/app/src/test/java/org/oppia/android/app/parser/FractionParsingUiErrorTest.kt
+++ b/app/src/test/java/org/oppia/android/app/parser/FractionParsingUiErrorTest.kt
@@ -68,7 +68,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -269,7 +268,7 @@ class FractionParsingUiErrorTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/parser/ListItemLeadingMarginSpanTest.kt b/app/src/test/java/org/oppia/android/app/parser/ListItemLeadingMarginSpanTest.kt
index d007c30d687..e97850dc3a3 100644
--- a/app/src/test/java/org/oppia/android/app/parser/ListItemLeadingMarginSpanTest.kt
+++ b/app/src/test/java/org/oppia/android/app/parser/ListItemLeadingMarginSpanTest.kt
@@ -103,7 +103,6 @@ import org.oppia.android.util.locale.DisplayLocaleImpl
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.locale.OppiaBidiFormatter
import org.oppia.android.util.locale.OppiaLocale
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1078,7 +1077,7 @@ class ListItemLeadingMarginSpanTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/parser/StringToRatioParserTest.kt b/app/src/test/java/org/oppia/android/app/parser/StringToRatioParserTest.kt
index e82fc1249e9..dbdffdca5db 100644
--- a/app/src/test/java/org/oppia/android/app/parser/StringToRatioParserTest.kt
+++ b/app/src/test/java/org/oppia/android/app/parser/StringToRatioParserTest.kt
@@ -70,7 +70,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -273,7 +272,7 @@ class StringToRatioParserTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/player/exploration/ExplorationActivityLocalTest.kt b/app/src/test/java/org/oppia/android/app/player/exploration/ExplorationActivityLocalTest.kt
index c62ba27d2a0..b5059c0892e 100644
--- a/app/src/test/java/org/oppia/android/app/player/exploration/ExplorationActivityLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/player/exploration/ExplorationActivityLocalTest.kt
@@ -94,7 +94,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -428,7 +427,7 @@ class ExplorationActivityLocalTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/player/state/StateFragmentLocalTest.kt b/app/src/test/java/org/oppia/android/app/player/state/StateFragmentLocalTest.kt
index b40a46e7ce4..4af5ec06d22 100644
--- a/app/src/test/java/org/oppia/android/app/player/state/StateFragmentLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/player/state/StateFragmentLocalTest.kt
@@ -162,7 +162,6 @@ import org.oppia.android.util.caching.LoadImagesFromAssets
import org.oppia.android.util.caching.LoadLessonProtosFromAssets
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -2935,7 +2934,7 @@ class StateFragmentLocalTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/profile/ProfileChooserFragmentLocalTest.kt b/app/src/test/java/org/oppia/android/app/profile/ProfileChooserFragmentLocalTest.kt
index 0295ea4eb15..128361f5d7b 100644
--- a/app/src/test/java/org/oppia/android/app/profile/ProfileChooserFragmentLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/profile/ProfileChooserFragmentLocalTest.kt
@@ -72,7 +72,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -149,7 +148,7 @@ class ProfileChooserFragmentLocalTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/story/StoryActivityLocalTest.kt b/app/src/test/java/org/oppia/android/app/story/StoryActivityLocalTest.kt
index 8cee1756370..b973bf5ef81 100644
--- a/app/src/test/java/org/oppia/android/app/story/StoryActivityLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/story/StoryActivityLocalTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -177,7 +176,7 @@ class StoryActivityLocalTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/CompletedStoryListSpanTest.kt b/app/src/test/java/org/oppia/android/app/testing/CompletedStoryListSpanTest.kt
index e18e33c8df8..ea6b365c212 100644
--- a/app/src/test/java/org/oppia/android/app/testing/CompletedStoryListSpanTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/CompletedStoryListSpanTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -182,7 +181,7 @@ class CompletedStoryListSpanTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/HomeSpanTest.kt b/app/src/test/java/org/oppia/android/app/testing/HomeSpanTest.kt
index f3dd5643520..84ff4b75285 100644
--- a/app/src/test/java/org/oppia/android/app/testing/HomeSpanTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/HomeSpanTest.kt
@@ -75,7 +75,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -198,7 +197,7 @@ class HomeSpanTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/OngoingTopicListSpanTest.kt b/app/src/test/java/org/oppia/android/app/testing/OngoingTopicListSpanTest.kt
index e6f5fa12f34..3e8eba9a4a9 100644
--- a/app/src/test/java/org/oppia/android/app/testing/OngoingTopicListSpanTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/OngoingTopicListSpanTest.kt
@@ -75,7 +75,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -193,7 +192,7 @@ class OngoingTopicListSpanTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/PlatformParameterIntegrationTest.kt b/app/src/test/java/org/oppia/android/app/testing/PlatformParameterIntegrationTest.kt
index ec2f7c75064..55923caadbc 100644
--- a/app/src/test/java/org/oppia/android/app/testing/PlatformParameterIntegrationTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/PlatformParameterIntegrationTest.kt
@@ -94,7 +94,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -366,7 +365,7 @@ class PlatformParameterIntegrationTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/ProfileChooserSpanTest.kt b/app/src/test/java/org/oppia/android/app/testing/ProfileChooserSpanTest.kt
index 4518f4a30a8..e5e783cd8b3 100644
--- a/app/src/test/java/org/oppia/android/app/testing/ProfileChooserSpanTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/ProfileChooserSpanTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -395,7 +394,7 @@ class ProfileChooserSpanTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/ProfileProgressSpanCountTest.kt b/app/src/test/java/org/oppia/android/app/testing/ProfileProgressSpanCountTest.kt
index 47ee98a7204..451e9aa249d 100644
--- a/app/src/test/java/org/oppia/android/app/testing/ProfileProgressSpanCountTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/ProfileProgressSpanCountTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -179,7 +178,7 @@ class ProfileProgressSpanCountTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/RecentlyPlayedSpanTest.kt b/app/src/test/java/org/oppia/android/app/testing/RecentlyPlayedSpanTest.kt
index c348c55fe90..538f31e64b9 100644
--- a/app/src/test/java/org/oppia/android/app/testing/RecentlyPlayedSpanTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/RecentlyPlayedSpanTest.kt
@@ -80,7 +80,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -320,7 +319,7 @@ class RecentlyPlayedSpanTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/TopicRevisionSpanTest.kt b/app/src/test/java/org/oppia/android/app/testing/TopicRevisionSpanTest.kt
index 6408a9b1e52..8fae80c1dcb 100644
--- a/app/src/test/java/org/oppia/android/app/testing/TopicRevisionSpanTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/TopicRevisionSpanTest.kt
@@ -73,7 +73,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -179,7 +178,7 @@ class TopicRevisionSpanTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/activity/BUILD.bazel b/app/src/test/java/org/oppia/android/app/testing/activity/BUILD.bazel
index 6ee76e3e337..4adaac2d311 100644
--- a/app/src/test/java/org/oppia/android/app/testing/activity/BUILD.bazel
+++ b/app/src/test/java/org/oppia/android/app/testing/activity/BUILD.bazel
@@ -39,7 +39,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/locale:prod_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
diff --git a/app/src/test/java/org/oppia/android/app/testing/activity/TestActivityTest.kt b/app/src/test/java/org/oppia/android/app/testing/activity/TestActivityTest.kt
index c2a673eb4ea..bbb6dd15f15 100644
--- a/app/src/test/java/org/oppia/android/app/testing/activity/TestActivityTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/activity/TestActivityTest.kt
@@ -70,7 +70,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -204,7 +203,7 @@ class TestActivityTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/administratorcontrols/AdministratorControlsFragmentTest.kt b/app/src/test/java/org/oppia/android/app/testing/administratorcontrols/AdministratorControlsFragmentTest.kt
index 2145dab63cb..2b2ee89f742 100644
--- a/app/src/test/java/org/oppia/android/app/testing/administratorcontrols/AdministratorControlsFragmentTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/administratorcontrols/AdministratorControlsFragmentTest.kt
@@ -82,7 +82,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -205,7 +204,7 @@ class AdministratorControlsFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/options/OptionsFragmentTest.kt b/app/src/test/java/org/oppia/android/app/testing/options/OptionsFragmentTest.kt
index ee9b8cbbc5c..54178d81774 100644
--- a/app/src/test/java/org/oppia/android/app/testing/options/OptionsFragmentTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/options/OptionsFragmentTest.kt
@@ -80,7 +80,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -241,7 +240,7 @@ class OptionsFragmentTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/player/split/PlayerSplitScreenTest.kt b/app/src/test/java/org/oppia/android/app/testing/player/split/PlayerSplitScreenTest.kt
index 9d38a8fabee..e0b55eb5de7 100644
--- a/app/src/test/java/org/oppia/android/app/testing/player/split/PlayerSplitScreenTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/player/split/PlayerSplitScreenTest.kt
@@ -71,7 +71,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -212,7 +211,7 @@ class PlayerSplitScreenTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/testing/player/state/StateFragmentAccessibilityTest.kt b/app/src/test/java/org/oppia/android/app/testing/player/state/StateFragmentAccessibilityTest.kt
index c36293a6e29..157dac70478 100644
--- a/app/src/test/java/org/oppia/android/app/testing/player/state/StateFragmentAccessibilityTest.kt
+++ b/app/src/test/java/org/oppia/android/app/testing/player/state/StateFragmentAccessibilityTest.kt
@@ -84,7 +84,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -221,7 +220,7 @@ class StateFragmentAccessibilityTest {
SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/topic/info/TopicInfoFragmentLocalTest.kt b/app/src/test/java/org/oppia/android/app/topic/info/TopicInfoFragmentLocalTest.kt
index 8c61974dcfe..b7a0a3dcabd 100644
--- a/app/src/test/java/org/oppia/android/app/topic/info/TopicInfoFragmentLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/topic/info/TopicInfoFragmentLocalTest.kt
@@ -72,7 +72,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -166,7 +165,7 @@ class TopicInfoFragmentLocalTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentLocalTest.kt b/app/src/test/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentLocalTest.kt
index 080512c02fb..0c0a47eba17 100644
--- a/app/src/test/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/topic/lessons/TopicLessonsFragmentLocalTest.kt
@@ -71,7 +71,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -170,7 +169,7 @@ class TopicLessonsFragmentLocalTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityLocalTest.kt b/app/src/test/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityLocalTest.kt
index bde01024154..53794b37cce 100644
--- a/app/src/test/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityLocalTest.kt
@@ -102,7 +102,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -512,7 +511,7 @@ class QuestionPlayerActivityLocalTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityLocalTest.kt b/app/src/test/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityLocalTest.kt
index 5db8eeb9491..88085b5959e 100644
--- a/app/src/test/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityLocalTest.kt
+++ b/app/src/test/java/org/oppia/android/app/topic/revisioncard/RevisionCardActivityLocalTest.kt
@@ -73,7 +73,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -156,7 +155,7 @@ class RevisionCardActivityLocalTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/translation/ActivityLanguageLocaleHandlerTest.kt b/app/src/test/java/org/oppia/android/app/translation/ActivityLanguageLocaleHandlerTest.kt
index c60af9cf356..aa12b2be77a 100644
--- a/app/src/test/java/org/oppia/android/app/translation/ActivityLanguageLocaleHandlerTest.kt
+++ b/app/src/test/java/org/oppia/android/app/translation/ActivityLanguageLocaleHandlerTest.kt
@@ -86,7 +86,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.OppiaLocale
import org.oppia.android.util.locale.testing.LocaleTestModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -329,7 +328,7 @@ class ActivityLanguageLocaleHandlerTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/translation/AppLanguageResourceHandlerTest.kt b/app/src/test/java/org/oppia/android/app/translation/AppLanguageResourceHandlerTest.kt
index 9c6e56f953a..39c27aa8d92 100644
--- a/app/src/test/java/org/oppia/android/app/translation/AppLanguageResourceHandlerTest.kt
+++ b/app/src/test/java/org/oppia/android/app/translation/AppLanguageResourceHandlerTest.kt
@@ -84,7 +84,6 @@ import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.testing.LocaleTestModule
import org.oppia.android.util.locale.testing.TestOppiaBidiFormatter
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -615,7 +614,7 @@ class AppLanguageResourceHandlerTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/translation/AppLanguageWatcherMixinTest.kt b/app/src/test/java/org/oppia/android/app/translation/AppLanguageWatcherMixinTest.kt
index 2bb7f687b8c..49c522e6963 100644
--- a/app/src/test/java/org/oppia/android/app/translation/AppLanguageWatcherMixinTest.kt
+++ b/app/src/test/java/org/oppia/android/app/translation/AppLanguageWatcherMixinTest.kt
@@ -85,7 +85,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.testing.LocaleTestModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -311,7 +310,7 @@ class AppLanguageWatcherMixinTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/translation/BUILD.bazel b/app/src/test/java/org/oppia/android/app/translation/BUILD.bazel
index faddd51f273..ed1db979001 100644
--- a/app/src/test/java/org/oppia/android/app/translation/BUILD.bazel
+++ b/app/src/test/java/org/oppia/android/app/translation/BUILD.bazel
@@ -81,7 +81,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
@@ -131,7 +130,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_oppia_bidi_formatter",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
@@ -178,7 +176,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/data:data_providers",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
diff --git a/app/src/test/java/org/oppia/android/app/utility/datetime/DateTimeUtilTest.kt b/app/src/test/java/org/oppia/android/app/utility/datetime/DateTimeUtilTest.kt
index c709292fa29..e3ec6648bca 100644
--- a/app/src/test/java/org/oppia/android/app/utility/datetime/DateTimeUtilTest.kt
+++ b/app/src/test/java/org/oppia/android/app/utility/datetime/DateTimeUtilTest.kt
@@ -74,7 +74,6 @@ import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.EnableConsoleLog
import org.oppia.android.util.logging.EnableFileLog
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.GlobalLogLevel
import org.oppia.android.util.logging.LogLevel
import org.oppia.android.util.logging.SyncStatusModule
@@ -227,7 +226,7 @@ class DateTimeUtilTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, AnalyticsStartupListenerTestModule::class,
ExplorationProgressModule::class, TestAuthenticationModule::class
]
diff --git a/app/src/test/java/org/oppia/android/app/utility/math/BUILD.bazel b/app/src/test/java/org/oppia/android/app/utility/math/BUILD.bazel
index 672944d46ec..a7caa3b0995 100644
--- a/app/src/test/java/org/oppia/android/app/utility/math/BUILD.bazel
+++ b/app/src/test/java/org/oppia/android/app/utility/math/BUILD.bazel
@@ -43,7 +43,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/caching/testing:caching_test_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/math:math_expression_parser",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
diff --git a/app/src/test/java/org/oppia/android/app/utility/math/MathExpressionAccessibilityUtilTest.kt b/app/src/test/java/org/oppia/android/app/utility/math/MathExpressionAccessibilityUtilTest.kt
index 628b7cb8b75..2b286fc6a0b 100644
--- a/app/src/test/java/org/oppia/android/app/utility/math/MathExpressionAccessibilityUtilTest.kt
+++ b/app/src/test/java/org/oppia/android/app/utility/math/MathExpressionAccessibilityUtilTest.kt
@@ -97,7 +97,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.testing.LocaleTestModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -1272,7 +1271,7 @@ class MathExpressionAccessibilityUtilTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/build_flavors.bzl b/build_flavors.bzl
index 68c4b6f469a..d9d6af2bf96 100644
--- a/build_flavors.bzl
+++ b/build_flavors.bzl
@@ -3,7 +3,7 @@ Macros & definitions corresponding to Oppia binary build flavors.
"""
load("//:oppia_android_application.bzl", "declare_deployable_application", "oppia_android_application")
-load("//:version.bzl", "MAJOR_VERSION", "MINOR_VERSION", "OPPIA_ALPHA_KENYA_VERSION_CODE", "OPPIA_ALPHA_KITKAT_VERSION_CODE", "OPPIA_ALPHA_VERSION_CODE", "OPPIA_BETA_VERSION_CODE", "OPPIA_DEV_KITKAT_VERSION_CODE", "OPPIA_DEV_VERSION_CODE", "OPPIA_GA_VERSION_CODE")
+load("//:version.bzl", "MAJOR_VERSION", "MINOR_VERSION", "OPPIA_ALPHA_KITKAT_VERSION_CODE", "OPPIA_ALPHA_VERSION_CODE", "OPPIA_BETA_VERSION_CODE", "OPPIA_DEV_KITKAT_VERSION_CODE", "OPPIA_DEV_VERSION_CODE", "OPPIA_GA_VERSION_CODE")
# Defines the list of flavors available to build the Oppia app in. Note to developers: this list
# should be ordered by the development pipeline (i.e. features go through dev first, then other
@@ -13,7 +13,6 @@ AVAILABLE_FLAVORS = [
"dev_kitkat",
"alpha",
"alpha_kitkat",
- "alpha_kenya",
"beta",
"ga",
]
@@ -41,7 +40,6 @@ _PRODUCTION_PROGUARD_SPECS = [
]
# Note to developers: keys of this dict should follow the order of AVAILABLE_FLAVORS.
-# TODO(#4419): Remove the Kenya-specific alpha flavor.
_FLAVOR_METADATA = {
"dev": {
"manifest": "//app:src/main/AndroidManifest.xml",
@@ -101,20 +99,6 @@ _FLAVOR_METADATA = {
"version_code": OPPIA_ALPHA_KITKAT_VERSION_CODE,
"application_class": ".app.application.alpha.AlphaOppiaApplication",
},
- "alpha_kenya": {
- "manifest": "//app:src/main/AndroidManifest.xml",
- "min_sdk_version": 21,
- "target_sdk_version": 33,
- "multidex": "native",
- "proguard_specs": _PRODUCTION_PROGUARD_SPECS,
- "production_release": True,
- "deps": [
- "//app/src/main/java/org/oppia/android/app/application/alphakenya:alpha_kenya_application",
- "//config/src/java/org/oppia/android/config:all_languages_config",
- ],
- "version_code": OPPIA_ALPHA_KENYA_VERSION_CODE,
- "application_class": ".app.application.alphakenya.AlphaKenyaOppiaApplication",
- },
"beta": {
"manifest": "//app:src/main/AndroidManifest.xml",
"min_sdk_version": 21,
diff --git a/domain/src/main/java/org/oppia/android/domain/hintsandsolution/HintsAndSolutionConfigAlphaKenyaModule.kt b/domain/src/main/java/org/oppia/android/domain/hintsandsolution/HintsAndSolutionConfigAlphaKenyaModule.kt
deleted file mode 100644
index 5449e58af2b..00000000000
--- a/domain/src/main/java/org/oppia/android/domain/hintsandsolution/HintsAndSolutionConfigAlphaKenyaModule.kt
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.oppia.android.domain.hintsandsolution
-
-import dagger.Module
-import dagger.Provides
-import java.util.concurrent.TimeUnit
-
-/** Production module for providing configurations for hints & solutions. */
-@Module
-class HintsAndSolutionConfigAlphaKenyaModule {
- @Provides
- @DelayShowInitialHintMillis
- fun provideInitialDelayForShowingHintsMillis(): Long = TimeUnit.SECONDS.toMillis(60)
-
- @Provides
- @DelayShowAdditionalHintsMillis
- fun provideDelayForShowingAdditionalHintsMillis(): Long = TimeUnit.MINUTES.toMillis(5) / 2
-
- @Provides
- @DelayShowAdditionalHintsFromWrongAnswerMillis
- fun provideDelayForShowingHintsAfterOneWrongAnswerMillis(): Long = TimeUnit.SECONDS.toMillis(15)
-}
diff --git a/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/BUILD.bazel b/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/BUILD.bazel
index f27fbd4b280..b5c7b54bf0b 100644
--- a/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/BUILD.bazel
+++ b/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/BUILD.bazel
@@ -49,6 +49,7 @@ kt_android_library(
"//domain/src/main/java/org/oppia/android/domain/oppialogger:prod_module",
"//model/src/main/proto:performance_metrics_event_logger_java_proto_lite",
"//utility/src/main/java/org/oppia/android/util/data:data_provider",
+ "//utility/src/main/java/org/oppia/android/util/enumfilter:enum_filter_util",
"//utility/src/main/java/org/oppia/android/util/logging:console_logger",
"//utility/src/main/java/org/oppia/android/util/logging:exception_logger",
"//utility/src/main/java/org/oppia/android/util/logging/performancemetrics:performance_metrics_assessor",
diff --git a/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/PerformanceMetricsController.kt b/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/PerformanceMetricsController.kt
index f518ff6121e..242eccbe1d3 100644
--- a/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/PerformanceMetricsController.kt
+++ b/domain/src/main/java/org/oppia/android/domain/oppialogger/analytics/PerformanceMetricsController.kt
@@ -7,6 +7,7 @@ import org.oppia.android.app.model.ScreenName
import org.oppia.android.data.persistence.PersistentCacheStore
import org.oppia.android.domain.oppialogger.PerformanceMetricsLogStorageCacheSize
import org.oppia.android.util.data.DataProvider
+import org.oppia.android.util.enumfilter.filterByEnumCondition
import org.oppia.android.util.logging.ConsoleLogger
import org.oppia.android.util.logging.ExceptionLogger
import org.oppia.android.util.logging.performancemetrics.PerformanceMetricsAssessor
@@ -128,9 +129,11 @@ class PerformanceMetricsController @Inject constructor(
* priority is returned.
*/
private fun getLeastRecentMetricLogIndex(oppiaMetricLogs: OppiaMetricLogs): Int? =
- oppiaMetricLogs.oppiaMetricLogList.withIndex()
- .filter { it.value.priority == Priority.LOW_PRIORITY }
- .minByOrNull { it.value.timestampMillis }?.index
+ filterByEnumCondition(
+ oppiaMetricLogs.oppiaMetricLogList.withIndex().toList(),
+ { it.value.priority },
+ { it == Priority.LOW_PRIORITY }
+ ).minByOrNull { it.value.timestampMillis }?.index
?: getLeastRecentMediumPriorityEventIndex(oppiaMetricLogs)
/**
@@ -142,9 +145,11 @@ class PerformanceMetricsController @Inject constructor(
* priority is returned.
*/
private fun getLeastRecentMediumPriorityEventIndex(oppiaMetricLogs: OppiaMetricLogs): Int? =
- oppiaMetricLogs.oppiaMetricLogList.withIndex()
- .filter { it.value.priority == Priority.MEDIUM_PRIORITY }
- .minByOrNull { it.value.timestampMillis }?.index
+ filterByEnumCondition(
+ oppiaMetricLogs.oppiaMetricLogList.withIndex().toList(),
+ { it.value.priority },
+ { it == Priority.MEDIUM_PRIORITY }
+ ).minByOrNull { it.value.timestampMillis }?.index
?: getLeastRecentGeneralEventIndex(oppiaMetricLogs)
/** Returns the index of the least recent event regardless of their priority. */
diff --git a/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaKenyaModule.kt b/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaKenyaModule.kt
deleted file mode 100644
index 657ed9f43d1..00000000000
--- a/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaKenyaModule.kt
+++ /dev/null
@@ -1,352 +0,0 @@
-package org.oppia.android.domain.platformparameter
-
-import android.content.Context
-import dagger.Module
-import dagger.Provides
-import org.oppia.android.util.extensions.getVersionCode
-import org.oppia.android.util.platformparameter.APP_AND_OS_DEPRECATION
-import org.oppia.android.util.platformparameter.CACHE_LATEX_RENDERING
-import org.oppia.android.util.platformparameter.CACHE_LATEX_RENDERING_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.CacheLatexRendering
-import org.oppia.android.util.platformparameter.DOWNLOADS_SUPPORT
-import org.oppia.android.util.platformparameter.EDIT_ACCOUNTS_OPTIONS_UI
-import org.oppia.android.util.platformparameter.ENABLE_APP_AND_OS_DEPRECATION_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_DOWNLOADS_SUPPORT_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_EDIT_ACCOUNTS_OPTIONS_UI_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_EXTRA_TOPIC_TABS_UI_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_INTERACTION_CONFIG_CHANGE_STATE_RETENTION_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_MULTIPLE_CLASSROOMS
-import org.oppia.android.util.platformparameter.ENABLE_MULTIPLE_CLASSROOMS_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_NPS_SURVEY
-import org.oppia.android.util.platformparameter.ENABLE_NPS_SURVEY_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_ONBOARDING_FLOW_V2
-import org.oppia.android.util.platformparameter.ENABLE_ONBOARDING_FLOW_V2_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_PERFORMANCE_METRICS_COLLECTION
-import org.oppia.android.util.platformparameter.ENABLE_PERFORMANCE_METRICS_COLLECTION_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.ENABLE_SPOTLIGHT_UI_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.EXTRA_TOPIC_TABS_UI
-import org.oppia.android.util.platformparameter.EnableAppAndOsDeprecation
-import org.oppia.android.util.platformparameter.EnableDownloadsSupport
-import org.oppia.android.util.platformparameter.EnableEditAccountsOptionsUi
-import org.oppia.android.util.platformparameter.EnableExtraTopicTabsUi
-import org.oppia.android.util.platformparameter.EnableFastLanguageSwitchingInLesson
-import org.oppia.android.util.platformparameter.EnableInteractionConfigChangeStateRetention
-import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics
-import org.oppia.android.util.platformparameter.EnableLoggingLearnerStudyIds
-import org.oppia.android.util.platformparameter.EnableMultipleClassrooms
-import org.oppia.android.util.platformparameter.EnableNpsSurvey
-import org.oppia.android.util.platformparameter.EnableOnboardingFlowV2
-import org.oppia.android.util.platformparameter.EnablePerformanceMetricsCollection
-import org.oppia.android.util.platformparameter.EnableSpotlightUi
-import org.oppia.android.util.platformparameter.FAST_LANGUAGE_SWITCHING_IN_LESSON
-import org.oppia.android.util.platformparameter.FORCED_APP_UPDATE_VERSION_CODE
-import org.oppia.android.util.platformparameter.ForcedAppUpdateVersionCode
-import org.oppia.android.util.platformparameter.INTERACTION_CONFIG_CHANGE_STATE_RETENTION
-import org.oppia.android.util.platformparameter.LEARNER_STUDY_ANALYTICS
-import org.oppia.android.util.platformparameter.LOGGING_LEARNER_STUDY_IDS
-import org.oppia.android.util.platformparameter.LOWEST_SUPPORTED_API_LEVEL
-import org.oppia.android.util.platformparameter.LOWEST_SUPPORTED_API_LEVEL_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.LowestSupportedApiLevel
-import org.oppia.android.util.platformparameter.NPS_SURVEY_GRACE_PERIOD_IN_DAYS
-import org.oppia.android.util.platformparameter.NPS_SURVEY_GRACE_PERIOD_IN_DAYS_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.NPS_SURVEY_MINIMUM_AGGREGATE_LEARNING_TIME_IN_A_TOPIC_IN_MINUTES
-import org.oppia.android.util.platformparameter.NPS_SURVEY_MINIMUM_AGGREGATE_LEARNING_TIME_IN_A_TOPIC_IN_MINUTES_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.NpsSurveyGracePeriodInDays
-import org.oppia.android.util.platformparameter.NpsSurveyMinimumAggregateLearningTimeInATopicInMinutes
-import org.oppia.android.util.platformparameter.OPTIONAL_APP_UPDATE_VERSION_CODE
-import org.oppia.android.util.platformparameter.OptionalAppUpdateVersionCode
-import org.oppia.android.util.platformparameter.PERFORMANCE_METRICS_COLLECTION_HIGH_FREQUENCY_TIME_INTERVAL_IN_MINUTES
-import org.oppia.android.util.platformparameter.PERFORMANCE_METRICS_COLLECTION_HIGH_FREQUENCY_TIME_INTERVAL_IN_MINUTES_DEFAULT_VAL
-import org.oppia.android.util.platformparameter.PERFORMANCE_METRICS_COLLECTION_LOW_FREQUENCY_TIME_INTERVAL_IN_MINUTES
-import org.oppia.android.util.platformparameter.PERFORMANCE_METRICS_COLLECTION_LOW_FREQUENCY_TIME_INTERVAL_IN_MINUTES_DEFAULT_VAL
-import org.oppia.android.util.platformparameter.PERFORMANCE_METRICS_COLLECTION_UPLOAD_TIME_INTERVAL_IN_MINUTES
-import org.oppia.android.util.platformparameter.PERFORMANCE_METRICS_COLLECTION_UPLOAD_TIME_INTERVAL_IN_MINUTES_DEFAULT_VAL
-import org.oppia.android.util.platformparameter.PerformanceMetricsCollectionHighFrequencyTimeIntervalInMinutes
-import org.oppia.android.util.platformparameter.PerformanceMetricsCollectionLowFrequencyTimeIntervalInMinutes
-import org.oppia.android.util.platformparameter.PerformanceMetricsCollectionUploadTimeIntervalInMinutes
-import org.oppia.android.util.platformparameter.PlatformParameterSingleton
-import org.oppia.android.util.platformparameter.PlatformParameterValue
-import org.oppia.android.util.platformparameter.SPLASH_SCREEN_WELCOME_MSG
-import org.oppia.android.util.platformparameter.SPLASH_SCREEN_WELCOME_MSG_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.SPOTLIGHT_UI
-import org.oppia.android.util.platformparameter.SYNC_UP_WORKER_TIME_PERIOD_IN_HOURS
-import org.oppia.android.util.platformparameter.SYNC_UP_WORKER_TIME_PERIOD_IN_HOURS_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.SplashScreenWelcomeMsg
-import org.oppia.android.util.platformparameter.SyncUpWorkerTimePeriodHours
-
-// TODO(#4419): Remove this module.
-/**
- * Dagger module that provides bindings for platform parameters for the Kenya-specific alpha build
- * of the app.
- */
-@Module
-class PlatformParameterAlphaKenyaModule {
- @Provides
- @EnableDownloadsSupport
- fun provideEnableDownloadsSupport(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(DOWNLOADS_SUPPORT)
- ?: PlatformParameterValue.createDefaultParameter(ENABLE_DOWNLOADS_SUPPORT_DEFAULT_VALUE)
- }
-
- @Provides
- @SplashScreenWelcomeMsg
- fun provideSplashScreenWelcomeMsgParam(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(SPLASH_SCREEN_WELCOME_MSG)
- ?: PlatformParameterValue.createDefaultParameter(SPLASH_SCREEN_WELCOME_MSG_DEFAULT_VALUE)
- }
-
- @Provides
- @SyncUpWorkerTimePeriodHours
- fun provideSyncUpWorkerTimePeriod(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- SYNC_UP_WORKER_TIME_PERIOD_IN_HOURS
- ) ?: PlatformParameterValue.createDefaultParameter(
- SYNC_UP_WORKER_TIME_PERIOD_IN_HOURS_DEFAULT_VALUE
- )
- }
-
- @Provides
- @EnableEditAccountsOptionsUi
- fun provideEnableEditAccountsOptionsUi(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(
- EDIT_ACCOUNTS_OPTIONS_UI
- ) ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_EDIT_ACCOUNTS_OPTIONS_UI_DEFAULT_VALUE
- )
- }
-
- @Provides
- @EnableLearnerStudyAnalytics
- fun provideLearnerStudyAnalytics(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- // Turn on the learner study platform parameter by default.
- return platformParameterSingleton.getBooleanPlatformParameter(LEARNER_STUDY_ANALYTICS)
- ?: PlatformParameterValue.createDefaultParameter(true)
- }
-
- @Provides
- @EnableFastLanguageSwitchingInLesson
- fun provideFastInLessonLanguageSwitching(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- // Turn on fast language switching functionality by default.
- return platformParameterSingleton.getBooleanPlatformParameter(FAST_LANGUAGE_SWITCHING_IN_LESSON)
- ?: PlatformParameterValue.createDefaultParameter(true)
- }
-
- @Provides
- @EnableLoggingLearnerStudyIds
- fun provideLoggingLearnerStudyIds(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- // Turn on fast language switching functionality by default.
- return platformParameterSingleton.getBooleanPlatformParameter(LOGGING_LEARNER_STUDY_IDS)
- ?: PlatformParameterValue.createDefaultParameter(true)
- }
-
- @Provides
- @CacheLatexRendering
- fun provideCacheLatexRendering(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(CACHE_LATEX_RENDERING)
- ?: PlatformParameterValue.createDefaultParameter(CACHE_LATEX_RENDERING_DEFAULT_VALUE)
- }
-
- @Provides
- @EnablePerformanceMetricsCollection
- fun provideEnablePerformanceMetricCollection(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(
- ENABLE_PERFORMANCE_METRICS_COLLECTION
- ) ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_PERFORMANCE_METRICS_COLLECTION_DEFAULT_VALUE
- )
- }
-
- @Provides
- @PerformanceMetricsCollectionUploadTimeIntervalInMinutes
- fun providePerformanceMetricsCollectionUploadTimeIntervalInMinutes(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- PERFORMANCE_METRICS_COLLECTION_UPLOAD_TIME_INTERVAL_IN_MINUTES
- ) ?: PlatformParameterValue.createDefaultParameter(
- PERFORMANCE_METRICS_COLLECTION_UPLOAD_TIME_INTERVAL_IN_MINUTES_DEFAULT_VAL
- )
- }
-
- @Provides
- @PerformanceMetricsCollectionHighFrequencyTimeIntervalInMinutes
- fun providePerformanceMetricsCollectionHighFrequencyTimeIntervalInMinutes(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- PERFORMANCE_METRICS_COLLECTION_HIGH_FREQUENCY_TIME_INTERVAL_IN_MINUTES
- ) ?: PlatformParameterValue.createDefaultParameter(
- PERFORMANCE_METRICS_COLLECTION_HIGH_FREQUENCY_TIME_INTERVAL_IN_MINUTES_DEFAULT_VAL
- )
- }
-
- @Provides
- @PerformanceMetricsCollectionLowFrequencyTimeIntervalInMinutes
- fun providePerformanceMetricsCollectionLowFrequencyTimeIntervalInMinutes(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- PERFORMANCE_METRICS_COLLECTION_LOW_FREQUENCY_TIME_INTERVAL_IN_MINUTES
- ) ?: PlatformParameterValue.createDefaultParameter(
- PERFORMANCE_METRICS_COLLECTION_LOW_FREQUENCY_TIME_INTERVAL_IN_MINUTES_DEFAULT_VAL
- )
- }
-
- @Provides
- @EnableExtraTopicTabsUi
- fun provideEnableExtraTopicTabsUi(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(
- EXTRA_TOPIC_TABS_UI
- ) ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_EXTRA_TOPIC_TABS_UI_DEFAULT_VALUE
- )
- }
-
- @Provides
- @EnableInteractionConfigChangeStateRetention
- fun provideEnableInteractionConfigChangeStateRetention(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(
- INTERACTION_CONFIG_CHANGE_STATE_RETENTION
- ) ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_INTERACTION_CONFIG_CHANGE_STATE_RETENTION_DEFAULT_VALUE
- )
- }
-
- @Provides
- @EnableSpotlightUi
- fun provideEnableSpotlightUi(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(SPOTLIGHT_UI)
- ?: PlatformParameterValue.createDefaultParameter(ENABLE_SPOTLIGHT_UI_DEFAULT_VALUE)
- }
-
- @Provides
- @EnableAppAndOsDeprecation
- fun provideEnableAppAndOsDeprecation(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(
- APP_AND_OS_DEPRECATION
- ) ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_APP_AND_OS_DEPRECATION_DEFAULT_VALUE
- )
- }
-
- @Provides
- @OptionalAppUpdateVersionCode
- fun provideOptionalAppUpdateVersionCode(
- platformParameterSingleton: PlatformParameterSingleton,
- context: Context
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- OPTIONAL_APP_UPDATE_VERSION_CODE
- ) ?: PlatformParameterValue.createDefaultParameter(
- context.getVersionCode()
- )
- }
-
- @Provides
- @ForcedAppUpdateVersionCode
- fun provideForcedAppUpdateVersionCode(
- platformParameterSingleton: PlatformParameterSingleton,
- context: Context
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- FORCED_APP_UPDATE_VERSION_CODE
- ) ?: PlatformParameterValue.createDefaultParameter(
- context.getVersionCode()
- )
- }
-
- @Provides
- @LowestSupportedApiLevel
- fun provideLowestSupportedApiLevel(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- LOWEST_SUPPORTED_API_LEVEL
- ) ?: PlatformParameterValue.createDefaultParameter(
- LOWEST_SUPPORTED_API_LEVEL_DEFAULT_VALUE
- )
- }
-
- @Provides
- @NpsSurveyGracePeriodInDays
- fun provideNpsSurveyGracePeriodInDays(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- NPS_SURVEY_GRACE_PERIOD_IN_DAYS
- ) ?: PlatformParameterValue.createDefaultParameter(
- NPS_SURVEY_GRACE_PERIOD_IN_DAYS_DEFAULT_VALUE
- )
- }
-
- @Provides
- @NpsSurveyMinimumAggregateLearningTimeInATopicInMinutes
- fun provideNpsSurveyMinimumAggregateLearningTimeInATopicInMinutes(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getIntegerPlatformParameter(
- NPS_SURVEY_MINIMUM_AGGREGATE_LEARNING_TIME_IN_A_TOPIC_IN_MINUTES
- ) ?: PlatformParameterValue.createDefaultParameter(
- NPS_SURVEY_MINIMUM_AGGREGATE_LEARNING_TIME_IN_A_TOPIC_IN_MINUTES_DEFAULT_VALUE
- )
- }
-
- @Provides
- @EnableNpsSurvey
- fun provideEnableNpsSurvey(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(ENABLE_NPS_SURVEY)
- ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_NPS_SURVEY_DEFAULT_VALUE
- )
- }
-
- @Provides
- @EnableOnboardingFlowV2
- fun provideEnableOnboardingFlowV2(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(ENABLE_ONBOARDING_FLOW_V2)
- ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_ONBOARDING_FLOW_V2_DEFAULT_VALUE
- )
- }
-
- @Provides
- @EnableMultipleClassrooms
- fun provideEnableMultipleClassrooms(
- platformParameterSingleton: PlatformParameterSingleton
- ): PlatformParameterValue {
- return platformParameterSingleton.getBooleanPlatformParameter(ENABLE_MULTIPLE_CLASSROOMS)
- ?: PlatformParameterValue.createDefaultParameter(
- ENABLE_MULTIPLE_CLASSROOMS_DEFAULT_VALUE
- )
- }
-}
diff --git a/instrumentation/src/java/org/oppia/android/instrumentation/application/BUILD.bazel b/instrumentation/src/java/org/oppia/android/instrumentation/application/BUILD.bazel
index 7e7ab58686e..a42115f4021 100644
--- a/instrumentation/src/java/org/oppia/android/instrumentation/application/BUILD.bazel
+++ b/instrumentation/src/java/org/oppia/android/instrumentation/application/BUILD.bazel
@@ -26,7 +26,6 @@ kt_android_library(
"//domain",
"//testing/src/main/java/org/oppia/android/testing/firebase:test_authentication_module",
"//utility",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
diff --git a/instrumentation/src/java/org/oppia/android/instrumentation/application/TestApplicationComponent.kt b/instrumentation/src/java/org/oppia/android/instrumentation/application/TestApplicationComponent.kt
index da1c997fc18..65ead6fa8e7 100644
--- a/instrumentation/src/java/org/oppia/android/instrumentation/application/TestApplicationComponent.kt
+++ b/instrumentation/src/java/org/oppia/android/instrumentation/application/TestApplicationComponent.kt
@@ -49,7 +49,6 @@ import org.oppia.android.util.accessibility.AccessibilityProdModule
import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.CachingModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.DebugLogReportingModule
@@ -100,7 +99,7 @@ import javax.inject.Singleton
SyncStatusModule::class, NetworkConnectionDebugUtilModule::class,
MetricLogSchedulerModule::class, ActivityRouterModule::class,
PerformanceMetricsAssessorModule::class, PerformanceMetricsConfigurationsModule::class,
- TestingBuildFlavorModule::class, EventLoggingConfigurationModule::class,
+ TestingBuildFlavorModule::class,
ExplorationProgressModule::class, CpuPerformanceSnapshotterModule::class,
TestAuthenticationModule::class
]
diff --git a/scripts/assets/test_file_exemptions.textproto b/scripts/assets/test_file_exemptions.textproto
index 9bf4d08e951..1ea6be33967 100644
--- a/scripts/assets/test_file_exemptions.textproto
+++ b/scripts/assets/test_file_exemptions.textproto
@@ -238,18 +238,6 @@ test_file_exemption {
exempted_file_path: "app/src/main/java/org/oppia/android/app/application/alpha/AlphaOppiaApplication.kt"
test_file_not_required: true
}
-test_file_exemption {
- exempted_file_path: "app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaApplicationComponent.kt"
- test_file_not_required: true
-}
-test_file_exemption {
- exempted_file_path: "app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaBuildFlavorModule.kt"
- test_file_not_required: true
-}
-test_file_exemption {
- exempted_file_path: "app/src/main/java/org/oppia/android/app/application/alphakenya/AlphaKenyaOppiaApplication.kt"
- test_file_not_required: true
-}
test_file_exemption {
exempted_file_path: "app/src/main/java/org/oppia/android/app/application/beta/BetaApplicationComponent.kt"
test_file_not_required: true
@@ -3542,10 +3530,6 @@ test_file_exemption {
exempted_file_path: "domain/src/main/java/org/oppia/android/domain/hintsandsolution/HintHandlerProdImpl.kt"
source_file_is_incompatible_with_code_coverage: true
}
-test_file_exemption {
- exempted_file_path: "domain/src/main/java/org/oppia/android/domain/hintsandsolution/HintsAndSolutionConfigAlphaKenyaModule.kt"
- test_file_not_required: true
-}
test_file_exemption {
exempted_file_path: "domain/src/main/java/org/oppia/android/domain/hintsandsolution/HintsAndSolutionConfigFastShowTestModule.kt"
test_file_not_required: true
@@ -3682,10 +3666,6 @@ test_file_exemption {
exempted_file_path: "domain/src/main/java/org/oppia/android/domain/oppialogger/survey/SurveyEventsLogger.kt"
source_file_is_incompatible_with_code_coverage: true
}
-test_file_exemption {
- exempted_file_path: "domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaKenyaModule.kt"
- test_file_not_required: true
-}
test_file_exemption {
exempted_file_path: "domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaModule.kt"
test_file_not_required: true
@@ -4330,6 +4310,10 @@ test_file_exemption {
exempted_file_path: "utility/src/main/java/org/oppia/android/util/extensions/ContextExtensions.kt"
test_file_not_required: true
}
+test_file_exemption {
+ exempted_file_path: "utility/src/main/java/org/oppia/android/util/enumfilter/EnumFilterUtil.kt"
+ test_file_not_required: true
+}
test_file_exemption {
exempted_file_path: "utility/src/main/java/org/oppia/android/util/extensions/StringExtensions.kt"
source_file_is_incompatible_with_code_coverage: true
@@ -4374,26 +4358,10 @@ test_file_exemption {
exempted_file_path: "utility/src/main/java/org/oppia/android/util/logging/ConsoleLoggerInjectorProvider.kt"
test_file_not_required: true
}
-test_file_exemption {
- exempted_file_path: "utility/src/main/java/org/oppia/android/util/logging/EventLoggingConfigurationModule.kt"
- override_min_coverage_percent_required: 0
-}
-test_file_exemption {
- exempted_file_path: "utility/src/main/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverter.kt"
- test_file_not_required: true
-}
test_file_exemption {
exempted_file_path: "utility/src/main/java/org/oppia/android/util/logging/ExceptionLogger.kt"
test_file_not_required: true
}
-test_file_exemption {
- exempted_file_path: "utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventLoggingConfigurationModule.kt"
- override_min_coverage_percent_required: 0
-}
-test_file_exemption {
- exempted_file_path: "utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventTypeToHumanReadableNameConverterImpl.kt"
- test_file_not_required: true
-}
test_file_exemption {
exempted_file_path: "utility/src/main/java/org/oppia/android/util/logging/LogLevel.kt"
test_file_not_required: true
diff --git a/scripts/assets/todo_open_exemptions.textproto b/scripts/assets/todo_open_exemptions.textproto
index 8dd53a51ce9..035e618e357 100644
--- a/scripts/assets/todo_open_exemptions.textproto
+++ b/scripts/assets/todo_open_exemptions.textproto
@@ -333,6 +333,11 @@ todo_open_exemption {
line_number: 689
line_number: 737
line_number: 741
+ line_number: 790
+ line_number: 791
+ line_number: 792
+ line_number: 798
+ line_number: 800
}
todo_open_exemption {
exempted_file_path: "scripts/static_checks.sh"
diff --git a/scripts/buf_lint_check.sh b/scripts/buf_lint_check.sh
index c5cbfed35ec..b355f2af16b 100644
--- a/scripts/buf_lint_check.sh
+++ b/scripts/buf_lint_check.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+source scripts/formatting.sh
+
jar_file_path=$?
config_file_path=$?
os_type=$?
@@ -15,11 +17,11 @@ lint_protobuf_files() {
status=$?
if [ "$status" = 0 ] ; then
- echo "Protobuf lint check completed successfully"
+ echo_success "Protobuf lint check completed successfully"
exit 0
else
echo "********************************"
- echo "Protobuf lint check issues found. Please fix them before pushing your code."
+ echo_error "Protobuf lint check issues found. Please fix them before pushing your code."
echo "********************************"
exit 1
fi
@@ -57,7 +59,7 @@ check_os_type() {
elif [[ "$OSTYPE" == "darwin"* ]]; then
os_type="Darwin"
else
- echo "Protobuf lint check not available on $OSTYPE"
+ echo_error "Protobuf lint check not available on $OSTYPE"
exit 0
fi
}
diff --git a/scripts/buildifier_lint_check.sh b/scripts/buildifier_lint_check.sh
index 52e0857468e..b56487f6b2f 100644
--- a/scripts/buildifier_lint_check.sh
+++ b/scripts/buildifier_lint_check.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+source scripts/formatting.sh
+
echo "********************************"
echo "Checking Bazel file formatting"
echo "********************************"
@@ -19,12 +21,12 @@ $buildifier_file_path --lint=warn --mode=check --warnings=-native-android,+out-o
status=$?
if [ "$status" = 0 ] ; then
- echo "Buildifier lint check completed successfully"
+ echo_success "Buildifier lint check completed successfully"
exit 0
else
# Assume any lint output or non-zero exit code is a failure.
echo "********************************"
- echo "Buildifier issue found."
+ echo_error "Buildifier issue found."
echo "Please fix the above issues."
echo "********************************"
exit 1
diff --git a/scripts/checkstyle_lint_check.sh b/scripts/checkstyle_lint_check.sh
index 668be1ba670..1b682d8b615 100644
--- a/scripts/checkstyle_lint_check.sh
+++ b/scripts/checkstyle_lint_check.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+source scripts/formatting.sh
+
echo "********************************"
echo "Checking Java file formatting"
echo "********************************"
@@ -23,11 +25,11 @@ echo $lint_results
if [ "$lint_command_result" -ne 0 ] || [ -z "$lint_results" ] || [[ ${lint_results} == *"[WARN]"* ]]; then
# Assume any lint output or non-zero exit code is a failure.
echo "********************************"
- echo "Checkstyle issue found."
+ echo_error "Checkstyle issue found."
echo "Please fix the above issues."
echo "********************************"
exit 1
else
- echo "Checkstyle lint check completed successfully"
+ echo_success "Checkstyle lint check completed successfully"
exit 0
fi
diff --git a/scripts/feature_flags_check.sh b/scripts/feature_flags_check.sh
index 48e61153a70..92b0e07a10e 100644
--- a/scripts/feature_flags_check.sh
+++ b/scripts/feature_flags_check.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+source scripts/formatting.sh
+
echo "********************************"
echo "Running feature flag checks"
echo "********************************"
@@ -120,7 +122,7 @@ function perform_checks_on_feature_flags() {
in_array=$(item_in_array "$element" "${imported_classes[@]}")
if [[ $in_array -ne 1 ]]; then
failed_checks=$((failed_checks + 1))
- echo "$element is not imported in the constructor argument in $file_path at line $imports_line_number"
+ echo_error "$element is not imported in the constructor argument in $file_path at line $imports_line_number"
fi
done
@@ -128,16 +130,16 @@ function perform_checks_on_feature_flags() {
in_array=$(item_in_array "$element" "${flags_added_to_map[@]}")
if [[ $in_array -ne 1 ]]; then
failed_checks=$((failed_checks + 1))
- echo "$element is not added to the logging map in $file_path at line $flags_map_line_number"
+ echo_error "$element is not added to the logging map in $file_path at line $flags_map_line_number"
fi
done
if [[ $failed_checks -eq 0 ]]; then
- echo "Feature flag checks completed successfully"
+ echo_success "Feature flag checks completed successfully"
exit 0
else
echo "********************************"
- echo "Feature flag issues found."
+ echo_error "Feature flag issues found."
echo "Please fix the above issues."
echo "********************************"
exit 1
diff --git a/scripts/formatting.sh b/scripts/formatting.sh
new file mode 100644
index 00000000000..0fd2c2dac94
--- /dev/null
+++ b/scripts/formatting.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+#Defines color codes for output formatting
+
+# Red color for error messages
+RED='\033[0;31m'
+
+# Green color for success messages
+GREEN='\033[0;32m'
+
+# Yellow color for warnings messages
+YELLOW='\033[0;33m'
+
+# No color, used to reset the color after each message
+NC='\033[0m'
+
+# Function to print an error message in red
+function echo_error() {
+ echo -e "${RED}$1${NC}"
+}
+
+# Function to print a success message in green
+function echo_success() {
+ echo -e "${GREEN}$1${NC}"
+}
+
+# Function to print a warning message in yellow
+function echo_warning() {
+ echo -e "${YELLOW}$1${NC}"
+}
diff --git a/scripts/ktlint_lint_check.sh b/scripts/ktlint_lint_check.sh
index 2713b88d0e0..dab25e7bd64 100755
--- a/scripts/ktlint_lint_check.sh
+++ b/scripts/ktlint_lint_check.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+source scripts/formatting.sh
+
echo "********************************"
echo "Checking code formatting"
echo "********************************"
@@ -19,15 +21,15 @@ java -jar $jar_file_path --android app/src/**/*.kt data/src/**/*.kt domain/src/*
status=$?
if [ "$status" = 0 ] ; then
- echo "Lint completed successfully."
+ echo_success "Lint completed successfully."
exit 0
else
echo "********************************"
- echo "Ktlint issue found."
+ echo_error "Ktlint issue found."
echo "Please fix the above issues.
You can also use the java -jar $jar_file_path -F --android domain/src/**/*.kt utility/src/**/*.kt data/src/**/*.kt app/src/**/*.kt testing/src/**/*.kt scripts/src/**/*.kt instrumentation/src/**/*.kt
command to fix the most common issues."
- echo "Please note, there might be a possibility where the above command will not fix the issue.
+ echo_warning "Please note, there might be a possibility where the above command will not fix the issue.
In that case, you will have to fix it yourself."
echo "********************************"
exit 1
diff --git a/scripts/pre-push.sh b/scripts/pre-push.sh
index 13d37eeb20e..ea2878926de 100755
--- a/scripts/pre-push.sh
+++ b/scripts/pre-push.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+source scripts/formatting.sh
+
# This script will run the pre-push checks in the given order
# - ktlint
# - checkstyle
@@ -7,7 +9,7 @@
# - (others in the future)
if bash scripts/ktlint_lint_check.sh && bash scripts/checkstyle_lint_check.sh && bash scripts/buf_lint_check.sh ; then
- echo "All checks passed successfully"
+ echo_success "All checks passed successfully"
exit 0
else
exit 1
diff --git a/scripts/src/java/org/oppia/android/scripts/common/GitHubClient.kt b/scripts/src/java/org/oppia/android/scripts/common/GitHubClient.kt
index fd7cc105037..23348c05136 100644
--- a/scripts/src/java/org/oppia/android/scripts/common/GitHubClient.kt
+++ b/scripts/src/java/org/oppia/android/scripts/common/GitHubClient.kt
@@ -68,13 +68,14 @@ class GitHubClient(
val call = gitHubService.fetchOpenIssues(repoOwner, repoName, authorizationBearer, pageNumber)
// Deferred blocking I/O operation to the dedicated I/O dispatcher.
val response = withContext(Dispatchers.IO) { call.execute() }
+
check(response.isSuccessful()) {
"Failed to fetch issues at page $pageNumber: ${response.code()}\n${call.request()}" +
"\n${response.errorBody()}."
}
return@async checkNotNull(response.body()) {
"No issues response from GitHub for page: $pageNumber."
- }
+ }.filter { it.pullRequest == null }
}
}
diff --git a/scripts/src/java/org/oppia/android/scripts/common/model/GitHubIssue.kt b/scripts/src/java/org/oppia/android/scripts/common/model/GitHubIssue.kt
index 7a824fc3120..67b814440fa 100644
--- a/scripts/src/java/org/oppia/android/scripts/common/model/GitHubIssue.kt
+++ b/scripts/src/java/org/oppia/android/scripts/common/model/GitHubIssue.kt
@@ -10,4 +10,18 @@ import com.squareup.moshi.JsonClass
* 'issues/' in an issue's GitHub URL)
*/
@JsonClass(generateAdapter = true)
-data class GitHubIssue(@Json(name = "number") val number: Int)
+data class GitHubIssue(
+ @Json(name = "number") val number: Int,
+ @Json(name = "pull_request") val pullRequest: PullRequestInfo? = null
+)
+
+/**
+ * Data class representing information about a pull request associated with a GitHub issue.
+ *
+ * @property url the URL of the pull request, if it exists. This provides the link to the specific
+ * pull request associated with the issue on GitHub.
+ */
+@JsonClass(generateAdapter = true)
+data class PullRequestInfo(
+ @Json(name = "url") val url: String? = null
+)
diff --git a/scripts/src/javatests/org/oppia/android/scripts/todo/TodoOpenCheckTest.kt b/scripts/src/javatests/org/oppia/android/scripts/todo/TodoOpenCheckTest.kt
index b614bc361d7..b5a3f783b70 100644
--- a/scripts/src/javatests/org/oppia/android/scripts/todo/TodoOpenCheckTest.kt
+++ b/scripts/src/javatests/org/oppia/android/scripts/todo/TodoOpenCheckTest.kt
@@ -777,11 +777,67 @@ class TodoOpenCheckTest {
assertThat(outContent.toString().trim()).isEqualTo(failureMessage)
}
- private fun setUpGitHubService(issueNumbers: List) {
- val issueJsons = issueNumbers.joinToString(separator = ",") { "{\"number\":$it}" }
+ @Test
+ fun testTodoCheck_PrPresent_checkShouldFail() {
+ setUpGitHubService(
+ issueNumbers = listOf(11004, 11003, 11002, 11001),
+ pullRequestNumbers = listOf(11005)
+ )
+ val tempFile1 = tempFolder.newFile("testfiles/TempFile1.kt")
+ val tempFile2 = tempFolder.newFile("testfiles/TempFile2.kt")
+ val testContent1 =
+ """
+ // TODO(#11002): test summary 1.
+ # TODO(#11004): test summary 2.
+ # TODO(#11001): test summary 3.
+ test Todo
+ test TODO
+ """.trimIndent()
+ val testContent2 =
+ """
+ // TODO(#11005): test summary 3.
+ todo
+
+
+ """.trimIndent()
+ tempFile1.writeText(testContent1)
+ tempFile2.writeText(testContent2)
+
+ val exception = assertThrows() { runScript() }
+
+ assertThat(exception).hasMessageThat().contains(TODO_SYNTAX_CHECK_FAILED_OUTPUT_INDICATOR)
+ val failureMessage =
+ """
+ TODOs not corresponding to open issues on GitHub:
+ - TempFile2.kt:1
+
+ $wikiReferenceNote
+
+ $regenerateNote
+ """.trimIndent()
+ assertThat(outContent.toString().trim()).isEqualTo(failureMessage)
+ }
+
+ private fun setUpGitHubService(
+ issueNumbers: List,
+ pullRequestNumbers: List = emptyList()
+ ) {
+ // Create JSON for issues with "pull_request" set to null
+ val issueJsons = issueNumbers
+ .joinToString(separator = ",") { "{\"number\":$it,\"pull_request\":null}" }
+
+ // Create JSON for pull requests with "pull_request" as an empty object
+ val pullRequestJsons = pullRequestNumbers
+ .joinToString(separator = ",") { "{\"number\":$it,\"pull_request\":{}}" }
+
+ // Combine issues and pull requests into one JSON array
+ val combinedJsons =
+ "[$issueJsons${if (pullRequestNumbers.isNotEmpty()) ", $pullRequestJsons" else ""}]"
+
val mockWebServer = MockWebServer()
mockWebServer.enqueue(MockResponse().setBody("[$issueJsons]"))
- mockWebServer.enqueue(MockResponse().setBody("[]")) // No more issues.
+ mockWebServer.enqueue(MockResponse().setBody(combinedJsons))
+ mockWebServer.enqueue(MockResponse().setBody("[]"))
GitHubClient.remoteApiUrl = mockWebServer.url("/").toString()
}
diff --git a/testing/src/test/java/org/oppia/android/testing/junit/BUILD.bazel b/testing/src/test/java/org/oppia/android/testing/junit/BUILD.bazel
index 69c6c6cbdca..e4b1a3de3ed 100644
--- a/testing/src/test/java/org/oppia/android/testing/junit/BUILD.bazel
+++ b/testing/src/test/java/org/oppia/android/testing/junit/BUILD.bazel
@@ -52,7 +52,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/locale:prod_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
@@ -106,7 +105,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/locale:prod_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
@@ -161,7 +159,6 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/locale:prod_module",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_util_module",
diff --git a/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleCustomContextTest.kt b/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleCustomContextTest.kt
index 57a3bd0babf..ba70eadf910 100644
--- a/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleCustomContextTest.kt
+++ b/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleCustomContextTest.kt
@@ -69,7 +69,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -270,7 +269,7 @@ class InitializeDefaultLocaleRuleCustomContextTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleOmissionTest.kt b/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleOmissionTest.kt
index c90ef4ab183..eaaf0521394 100644
--- a/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleOmissionTest.kt
+++ b/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleOmissionTest.kt
@@ -67,7 +67,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -146,7 +145,7 @@ class InitializeDefaultLocaleRuleOmissionTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleTest.kt b/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleTest.kt
index a3518296ea9..cf6b0da998c 100644
--- a/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleTest.kt
+++ b/testing/src/test/java/org/oppia/android/testing/junit/InitializeDefaultLocaleRuleTest.kt
@@ -70,7 +70,6 @@ import org.oppia.android.util.caching.AssetModule
import org.oppia.android.util.caching.testing.CachingTestModule
import org.oppia.android.util.gcsresource.GcsResourceModule
import org.oppia.android.util.locale.LocaleProdModule
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.firebase.FirebaseLogUploaderModule
@@ -150,7 +149,7 @@ class InitializeDefaultLocaleRuleTest {
MathEquationInputModule::class, SplitScreenInteractionModule::class,
LoggingIdentifierModule::class, ApplicationLifecycleModule::class,
SyncStatusModule::class, MetricLogSchedulerModule::class, TestingBuildFlavorModule::class,
- EventLoggingConfigurationModule::class, ActivityRouterModule::class,
+ ActivityRouterModule::class,
CpuPerformanceSnapshotterModule::class, ExplorationProgressModule::class,
TestAuthenticationModule::class
]
diff --git a/utility/src/main/java/org/oppia/android/util/enumfilter/BUILD.bazel b/utility/src/main/java/org/oppia/android/util/enumfilter/BUILD.bazel
new file mode 100644
index 00000000000..876c262fe1a
--- /dev/null
+++ b/utility/src/main/java/org/oppia/android/util/enumfilter/BUILD.bazel
@@ -0,0 +1,13 @@
+"""
+General purpose utility for filtering enums.
+"""
+
+load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
+
+kt_android_library(
+ name = "enum_filter_util",
+ srcs = [
+ "EnumFilterUtil.kt",
+ ],
+ visibility = ["//:oppia_api_visibility"],
+)
diff --git a/utility/src/main/java/org/oppia/android/util/enumfilter/EnumFilterUtil.kt b/utility/src/main/java/org/oppia/android/util/enumfilter/EnumFilterUtil.kt
new file mode 100644
index 00000000000..6c2aae441d6
--- /dev/null
+++ b/utility/src/main/java/org/oppia/android/util/enumfilter/EnumFilterUtil.kt
@@ -0,0 +1,20 @@
+package org.oppia.android.util.enumfilter
+
+/**
+ * Filters a collection based on a condition applied to an enum property of each element.
+ *
+ * @param E the type of enum values.
+ * @param T the type of elements in the collection.
+ * @param collection the collection of elements to filter.
+ * @param enumExtractor a function that extracts the enum value from each element.
+ * @param condition a predicate function that determines if an enum value should be included in the result.
+ * @return a list of elements from the collection that satisfy the condition when their enum property is evaluated.
+ */
+
+inline fun , T> filterByEnumCondition(
+ collection: Collection,
+ enumExtractor: (T) -> E,
+ condition: (E) -> Boolean
+): List {
+ return collection.filter { condition(enumExtractor(it)) }
+}
diff --git a/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel b/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel
index 0b8fc767cb7..de80cc82f38 100644
--- a/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel
+++ b/utility/src/main/java/org/oppia/android/util/logging/BUILD.bazel
@@ -117,6 +117,7 @@ kt_android_library(
],
deps = [
"//model/src/main/proto:event_logger_java_proto_lite",
+ "//third_party:javax_inject_javax_inject",
],
)
@@ -136,32 +137,6 @@ kt_android_library(
],
)
-kt_android_library(
- name = "standard_event_logging_configuration_module",
- srcs = [
- "EventLoggingConfigurationModule.kt",
- "StandardEventTypeToHumanReadableNameConverterImpl.kt",
- ],
- visibility = ["//:oppia_prod_module_visibility"],
- deps = [
- ":event_type_to_human_readable_name_converter",
- "//:dagger",
- ],
-)
-
-kt_android_library(
- name = "kenya_alpha_event_logging_configuration_module",
- srcs = [
- "KenyaAlphaEventLoggingConfigurationModule.kt",
- "KenyaAlphaEventTypeToHumanReadableNameConverterImpl.kt",
- ],
- visibility = ["//:oppia_prod_module_visibility"],
- deps = [
- ":event_type_to_human_readable_name_converter",
- "//:dagger",
- ],
-)
-
kt_android_library(
name = "log_uploader",
srcs = [
diff --git a/utility/src/main/java/org/oppia/android/util/logging/ConsoleLogger.kt b/utility/src/main/java/org/oppia/android/util/logging/ConsoleLogger.kt
index 2b1cd2637a1..3cd6f8707e1 100644
--- a/utility/src/main/java/org/oppia/android/util/logging/ConsoleLogger.kt
+++ b/utility/src/main/java/org/oppia/android/util/logging/ConsoleLogger.kt
@@ -11,6 +11,8 @@ import org.oppia.android.app.model.EventLog.ConsoleLoggerContext
import org.oppia.android.util.locale.OppiaLocale
import org.oppia.android.util.threading.BlockingDispatcher
import java.io.File
+import java.io.FileWriter
+import java.io.PrintWriter
import javax.inject.Inject
import javax.inject.Singleton
@@ -33,6 +35,8 @@ class ConsoleLogger @Inject constructor(
*/
val logErrorMessagesFlow: SharedFlow = _logErrorMessagesFlow
+ private var printWriter: PrintWriter? = null
+
/** Logs a verbose message with the specified tag. */
fun v(tag: String, msg: String) {
writeLog(LogLevel.VERBOSE, tag, msg)
@@ -73,12 +77,12 @@ class ConsoleLogger @Inject constructor(
writeError(LogLevel.WARNING, tag, msg, tr)
}
- /** Logs a error message with the specified tag. */
+ /** Logs an error message with the specified tag. */
fun e(tag: String, msg: String) {
writeLog(LogLevel.ERROR, tag, msg)
}
- /** Logs a error message with the specified tag, message and exception. */
+ /** Logs an error message with the specified tag, message and exception. */
fun e(tag: String, msg: String, tr: Throwable?) {
writeError(LogLevel.ERROR, tag, msg, tr)
}
@@ -109,7 +113,7 @@ class ConsoleLogger @Inject constructor(
}
// Add the log to the error message flow so it can be logged to firebase.
- CoroutineScope(blockingDispatcher).launch {
+ blockingScope.launch {
// Only log error messages to firebase.
if (logLevel == LogLevel.ERROR) {
_logErrorMessagesFlow.emit(
@@ -124,10 +128,17 @@ class ConsoleLogger @Inject constructor(
}
/**
- * Writes the specified text line to file in a background thread to ensure that saving messages don't block the main
- * thread. A blocking dispatcher is used to ensure messages are written in order.
+ * Writes the specified text line to file in a background thread to ensure that saving messages
+ * doesn't block the main thread. A blocking dispatcher is used to ensure messages are written
+ * in order.
*/
private fun logToFileInBackground(text: String) {
- blockingScope.launch { logDirectory.printWriter().use { out -> out.println(text) } }
+ blockingScope.launch {
+ if (printWriter == null) {
+ printWriter = PrintWriter(FileWriter(logDirectory, true)) // Open in append mode.
+ }
+ printWriter?.println(text)
+ printWriter?.flush()
+ }
}
}
diff --git a/utility/src/main/java/org/oppia/android/util/logging/EventLoggingConfigurationModule.kt b/utility/src/main/java/org/oppia/android/util/logging/EventLoggingConfigurationModule.kt
deleted file mode 100644
index 57c88d8d2c9..00000000000
--- a/utility/src/main/java/org/oppia/android/util/logging/EventLoggingConfigurationModule.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.oppia.android.util.logging
-
-import dagger.Binds
-import dagger.Module
-
-/** Module to provide standard configurations for the event logging infrastructure. */
-@Module
-interface EventLoggingConfigurationModule {
- @Binds
- fun bindStandardEventTypeToHumanReadableNameConverter(
- impl: StandardEventTypeToHumanReadableNameConverterImpl
- ): EventTypeToHumanReadableNameConverter
-}
diff --git a/utility/src/main/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverter.kt b/utility/src/main/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverter.kt
index c6c3c849e40..687e08dcc92 100644
--- a/utility/src/main/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverter.kt
+++ b/utility/src/main/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverter.kt
@@ -1,21 +1,87 @@
package org.oppia.android.util.logging
-import org.oppia.android.app.model.EventLog
+import org.oppia.android.app.model.EventLog.Context.ActivityContextCase
+import javax.inject.Inject
/**
* Converter for event types into loggable, human-readable names.
*
- * Different builds of the app may leverage different implementations of this converter in order to
- * customize the event names for querying purposes.
+ * The provided names may be changed over time as the broad standard for event names evolves with
+ * new and changed events. The general convention for event names is a second person singular
+ * conjugated action verb followed by the action, context, or both, that the user conducted that led
+ * to that event. Furthermore, efforts are taken to reduce referencing Android-specific terminology
+ * (e.g. 'screen' is used in place of 'activity').
+ *
+ * Event names cannot exceed 40 characters, so care should be taken to ensure only the most
+ * important information is conveyed via the name.
+ *
+ * Finally, the provided event names are only meant to help simplify analyzing logged events. Since
+ * they can change, aggregation or dimensional slicing of events should occur by keying on the
+ * event's integral type rather than its name (as this type will remain fixed for the lifetime of a
+ * given event, unlike its name returned by this implementation).
*/
-interface EventTypeToHumanReadableNameConverter {
+class EventTypeToHumanReadableNameConverter @Inject constructor() {
/**
- * Returns a human-readable event name for the specified [eventType].
+ * Converts an event type to a human-readable name.
*
- * Note that the same name should always be returned for a given event type within the same
- * version of the app (though the names can change across versions). The returned name should not
- * contain any personal information nor any information tied to users; they should be constant
- * regardless of the current logged in/created profile state of the app.
+ * @param eventType The type of event to convert.
+ * @return A human-readable string representation of the event type.
*/
- fun convertToHumanReadableName(eventType: EventLog.Context.ActivityContextCase): String
+ fun convertToHumanReadableName(eventType: ActivityContextCase): String {
+ return when (eventType) {
+ ActivityContextCase.OPEN_EXPLORATION_ACTIVITY -> "open_exploration_player_screen"
+ ActivityContextCase.OPEN_INFO_TAB -> "select_topic_info_tab"
+ ActivityContextCase.OPEN_LESSONS_TAB -> "select_topic_lessons_tab"
+ ActivityContextCase.OPEN_PRACTICE_TAB -> "select_topic_practice_tab"
+ ActivityContextCase.OPEN_REVISION_TAB -> "select_topic_revision_tab"
+ ActivityContextCase.OPEN_QUESTION_PLAYER -> "open_question_player_screen"
+ ActivityContextCase.OPEN_STORY_ACTIVITY -> "open_story_chapter_list_screen"
+ ActivityContextCase.OPEN_CONCEPT_CARD -> "open_concept_card"
+ ActivityContextCase.OPEN_REVISION_CARD -> "open_revision_card"
+ ActivityContextCase.CLOSE_REVISION_CARD -> "close_revision_card"
+ ActivityContextCase.START_CARD_CONTEXT -> "start_exploration_card"
+ ActivityContextCase.END_CARD_CONTEXT -> "end_exploration_card"
+ ActivityContextCase.HINT_UNLOCKED_CONTEXT -> "unlock_hint"
+ ActivityContextCase.REVEAL_HINT_CONTEXT -> "reveal_hint"
+ ActivityContextCase.VIEW_EXISTING_HINT_CONTEXT -> "view_existing_hint"
+ ActivityContextCase.SOLUTION_UNLOCKED_CONTEXT -> "unlock_solution"
+ ActivityContextCase.REVEAL_SOLUTION_CONTEXT -> "reveal_solution"
+ ActivityContextCase.VIEW_EXISTING_SOLUTION_CONTEXT -> "view_existing_solution"
+ ActivityContextCase.SUBMIT_ANSWER_CONTEXT -> "submit_answer"
+ ActivityContextCase.PLAY_VOICE_OVER_CONTEXT -> "click_play_voiceover_button"
+ ActivityContextCase.PAUSE_VOICE_OVER_CONTEXT -> "click_pause_voiceover_button"
+ ActivityContextCase.APP_IN_BACKGROUND_CONTEXT -> "send_app_to_background"
+ ActivityContextCase.APP_IN_FOREGROUND_CONTEXT -> "bring_app_to_foreground"
+ ActivityContextCase.START_EXPLORATION_CONTEXT -> "start_exploration_context"
+ ActivityContextCase.EXIT_EXPLORATION_CONTEXT -> "leave_exploration"
+ ActivityContextCase.FINISH_EXPLORATION_CONTEXT -> "complete_exploration"
+ ActivityContextCase.PROGRESS_SAVING_SUCCESS_CONTEXT -> "progress_saving_success"
+ ActivityContextCase.PROGRESS_SAVING_FAILURE_CONTEXT -> "progress_saving_failure"
+ ActivityContextCase.LESSON_SAVED_ADVERTENTLY_CONTEXT -> "lesson_saved_advertently"
+ ActivityContextCase.RESUME_LESSON_SUBMIT_CORRECT_ANSWER_CONTEXT ->
+ "submit_correct_ans_in_resumed_lesson"
+ ActivityContextCase.RESUME_LESSON_SUBMIT_INCORRECT_ANSWER_CONTEXT ->
+ "submit_incorrect_ans_in_resumed_lesson"
+ ActivityContextCase.RESUME_EXPLORATION_CONTEXT -> "resume_in_progress_exploration"
+ ActivityContextCase.START_OVER_EXPLORATION_CONTEXT -> "restart_in_progress_exploration"
+ ActivityContextCase.DELETE_PROFILE_CONTEXT -> "delete_profile"
+ ActivityContextCase.OPEN_HOME -> "open_home_screen"
+ ActivityContextCase.OPEN_PROFILE_CHOOSER -> "open_profile_chooser_screen"
+ ActivityContextCase.REACH_INVESTED_ENGAGEMENT -> "reach_invested_engagement"
+ ActivityContextCase.SWITCH_IN_LESSON_LANGUAGE -> "click_switch_language_in_lesson"
+ ActivityContextCase.SHOW_SURVEY_POPUP -> "show_survey_popup"
+ ActivityContextCase.BEGIN_SURVEY -> "begin_survey"
+ ActivityContextCase.ABANDON_SURVEY -> "abandon_survey"
+ ActivityContextCase.MANDATORY_RESPONSE -> "mandatory_response"
+ ActivityContextCase.OPTIONAL_RESPONSE -> "optional_response"
+ ActivityContextCase.FEATURE_FLAG_LIST_CONTEXT -> "feature_flag_list"
+ ActivityContextCase.INSTALL_ID_FOR_FAILED_ANALYTICS_LOG,
+ ActivityContextCase.ACTIVITYCONTEXT_NOT_SET -> "ERROR_internal_logging_failure"
+ ActivityContextCase.COMPLETE_APP_ONBOARDING -> "complete_app_onboarding"
+ ActivityContextCase.CONSOLE_LOG -> "console_log"
+ ActivityContextCase.RETROFIT_CALL_CONTEXT -> "retrofit_call_context"
+ ActivityContextCase.RETROFIT_CALL_FAILED_CONTEXT -> "retrofit_call_failed_context"
+ ActivityContextCase.APP_IN_FOREGROUND_TIME -> "app_in_foreground_time"
+ }
+ }
}
diff --git a/utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventLoggingConfigurationModule.kt b/utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventLoggingConfigurationModule.kt
deleted file mode 100644
index 447525e5488..00000000000
--- a/utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventLoggingConfigurationModule.kt
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.oppia.android.util.logging
-
-import dagger.Binds
-import dagger.Module
-
-/**
- * Module to provide event logging infrastructure configurations specific to Kenya study alpha
- * builds of the app.
- */
-@Module
-interface KenyaAlphaEventLoggingConfigurationModule {
- @Binds
- fun bindKenyaAlphaSpecificEventTypeToHumanReadableNameConverter(
- impl: KenyaAlphaEventTypeToHumanReadableNameConverterImpl
- ): EventTypeToHumanReadableNameConverter
-}
diff --git a/utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventTypeToHumanReadableNameConverterImpl.kt b/utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventTypeToHumanReadableNameConverterImpl.kt
deleted file mode 100644
index bb7e96e643b..00000000000
--- a/utility/src/main/java/org/oppia/android/util/logging/KenyaAlphaEventTypeToHumanReadableNameConverterImpl.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.oppia.android.util.logging
-
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase
-import javax.inject.Inject
-
-// TODO(#4419): Remove this implementation and the extra piping for event name mapping.
-/**
- * Implementation of [EventTypeToHumanReadableNameConverter] which provides legacy event names for
- * interoperability with previously logged data in the Kenya user study.
- *
- * The event names provided by this implementation are expected to never change as these names are
- * the primary ways each corresponding event is identified in logged event queries.
- */
-class KenyaAlphaEventTypeToHumanReadableNameConverterImpl @Inject constructor() :
- EventTypeToHumanReadableNameConverter {
- override fun convertToHumanReadableName(eventType: ActivityContextCase): String {
- return when (eventType) {
- ActivityContextCase.OPEN_EXPLORATION_ACTIVITY -> "open_exploration_activity"
- ActivityContextCase.OPEN_INFO_TAB -> "open_info_tab"
- ActivityContextCase.OPEN_LESSONS_TAB -> "open_lessons_tab"
- ActivityContextCase.OPEN_PRACTICE_TAB -> "open_practice_tab"
- ActivityContextCase.OPEN_REVISION_TAB -> "open_revision_tab"
- ActivityContextCase.OPEN_QUESTION_PLAYER -> "open_question_player"
- ActivityContextCase.OPEN_STORY_ACTIVITY -> "open_story_activity"
- ActivityContextCase.OPEN_CONCEPT_CARD -> "open_concept_card"
- ActivityContextCase.OPEN_REVISION_CARD -> "open_revision_card"
- ActivityContextCase.CLOSE_REVISION_CARD -> "close_revision_card"
- ActivityContextCase.START_CARD_CONTEXT -> "start_card_context"
- ActivityContextCase.END_CARD_CONTEXT -> "end_card_context"
- ActivityContextCase.HINT_UNLOCKED_CONTEXT -> "hint_offered_context"
- ActivityContextCase.REVEAL_HINT_CONTEXT -> "reveal_hint_context"
- ActivityContextCase.VIEW_EXISTING_HINT_CONTEXT -> "view_existing_hint_context"
- ActivityContextCase.SOLUTION_UNLOCKED_CONTEXT -> "solution_offered_context"
- ActivityContextCase.REVEAL_SOLUTION_CONTEXT -> "reveal_solution_context"
- ActivityContextCase.VIEW_EXISTING_SOLUTION_CONTEXT -> "view_existing_solution_context"
- ActivityContextCase.SUBMIT_ANSWER_CONTEXT -> "submit_answer_context"
- ActivityContextCase.PLAY_VOICE_OVER_CONTEXT -> "play_voice_over_context"
- ActivityContextCase.PAUSE_VOICE_OVER_CONTEXT -> "pause_voice_over_context"
- ActivityContextCase.APP_IN_BACKGROUND_CONTEXT -> "app_in_background_context"
- ActivityContextCase.APP_IN_FOREGROUND_CONTEXT -> "app_in_foreground_context"
- ActivityContextCase.START_EXPLORATION_CONTEXT -> "start_exploration_context"
- ActivityContextCase.EXIT_EXPLORATION_CONTEXT -> "exit_exploration_context"
- ActivityContextCase.FINISH_EXPLORATION_CONTEXT -> "finish_exploration_context"
- ActivityContextCase.PROGRESS_SAVING_SUCCESS_CONTEXT -> "progress_saving_success_context"
- ActivityContextCase.PROGRESS_SAVING_FAILURE_CONTEXT -> "progress_saving_failure_context"
- ActivityContextCase.LESSON_SAVED_ADVERTENTLY_CONTEXT -> "lesson_saved_advertently_context"
- ActivityContextCase.RESUME_LESSON_SUBMIT_CORRECT_ANSWER_CONTEXT ->
- "resume_lesson_submit_correct_answer_context"
- ActivityContextCase.RESUME_LESSON_SUBMIT_INCORRECT_ANSWER_CONTEXT ->
- "resume_lesson_submit_incorrect_answer_context"
- ActivityContextCase.RESUME_EXPLORATION_CONTEXT -> "resume_exploration_context"
- ActivityContextCase.START_OVER_EXPLORATION_CONTEXT -> "start_over_exploration_context"
- ActivityContextCase.DELETE_PROFILE_CONTEXT -> "delete_profile_context"
- ActivityContextCase.OPEN_HOME -> "open_home"
- ActivityContextCase.OPEN_PROFILE_CHOOSER -> "open_profile_chooser"
- ActivityContextCase.REACH_INVESTED_ENGAGEMENT -> "reached_invested_engagement"
- ActivityContextCase.SWITCH_IN_LESSON_LANGUAGE -> "switch_in_lesson_language"
- ActivityContextCase.SHOW_SURVEY_POPUP -> "show_survey_popup"
- ActivityContextCase.BEGIN_SURVEY -> "begin_survey"
- ActivityContextCase.ABANDON_SURVEY -> "abandon_survey"
- ActivityContextCase.MANDATORY_RESPONSE -> "mandatory_response"
- ActivityContextCase.OPTIONAL_RESPONSE -> "optional_response"
- ActivityContextCase.FEATURE_FLAG_LIST_CONTEXT -> "feature_flag_list"
- ActivityContextCase.INSTALL_ID_FOR_FAILED_ANALYTICS_LOG -> "failed_analytics_log"
- ActivityContextCase.ACTIVITYCONTEXT_NOT_SET -> "unknown_activity_context"
- ActivityContextCase.COMPLETE_APP_ONBOARDING -> "complete_app_onboarding"
- ActivityContextCase.CONSOLE_LOG -> "console_log"
- ActivityContextCase.RETROFIT_CALL_CONTEXT -> "retrofit_call_context"
- ActivityContextCase.RETROFIT_CALL_FAILED_CONTEXT -> "retrofit_call_failed_context"
- ActivityContextCase.APP_IN_FOREGROUND_TIME -> "app_in_foreground_time"
- }
- }
-}
diff --git a/utility/src/main/java/org/oppia/android/util/logging/StandardEventTypeToHumanReadableNameConverterImpl.kt b/utility/src/main/java/org/oppia/android/util/logging/StandardEventTypeToHumanReadableNameConverterImpl.kt
deleted file mode 100644
index 315c28c5f3f..00000000000
--- a/utility/src/main/java/org/oppia/android/util/logging/StandardEventTypeToHumanReadableNameConverterImpl.kt
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.oppia.android.util.logging
-
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase
-import javax.inject.Inject
-
-/**
- * Implementation of [EventTypeToHumanReadableNameConverter] which provides well-named
- * representations for each event type.
- *
- * The provided names may be changed over time as the broad standard for event names evolves with
- * new and changed events. The general convention for event names is a second person singular
- * conjugated action verb followed by the action, context, or both, that the user conducted that led
- * to that event. Furthermore, efforts are taken to reduce referencing Android-specific terminology
- * (e.g. 'screen' is used in place of 'activity').
- *
- * Event names cannot exceed 40 characters, so care should be taken to ensure only the most
- * important information is conveyed via the name.
- *
- * Finally, the provided event names are only meant to help simplify analyzing logged events. Since
- * they can change, aggregation or dimensional slicing of events should occur by keying on the
- * event's integral type rather than its name (as this type will remain fixed for the lifetime of a
- * given event, unlike its name returned by this implementation).
- */
-class StandardEventTypeToHumanReadableNameConverterImpl @Inject constructor() :
- EventTypeToHumanReadableNameConverter {
- override fun convertToHumanReadableName(eventType: ActivityContextCase): String {
- return when (eventType) {
- ActivityContextCase.OPEN_EXPLORATION_ACTIVITY -> "open_exploration_player_screen"
- ActivityContextCase.OPEN_INFO_TAB -> "select_topic_info_tab"
- ActivityContextCase.OPEN_LESSONS_TAB -> "select_topic_lessons_tab"
- ActivityContextCase.OPEN_PRACTICE_TAB -> "select_topic_practice_tab"
- ActivityContextCase.OPEN_REVISION_TAB -> "select_topic_revision_tab"
- ActivityContextCase.OPEN_QUESTION_PLAYER -> "open_question_player_screen"
- ActivityContextCase.OPEN_STORY_ACTIVITY -> "open_story_chapter_list_screen"
- ActivityContextCase.OPEN_CONCEPT_CARD -> "open_concept_card"
- ActivityContextCase.OPEN_REVISION_CARD -> "open_revision_card"
- ActivityContextCase.CLOSE_REVISION_CARD -> "close_revision_card"
- ActivityContextCase.START_CARD_CONTEXT -> "start_exploration_card"
- ActivityContextCase.END_CARD_CONTEXT -> "end_exploration_card"
- ActivityContextCase.HINT_UNLOCKED_CONTEXT -> "unlock_hint"
- ActivityContextCase.REVEAL_HINT_CONTEXT -> "reveal_hint"
- ActivityContextCase.VIEW_EXISTING_HINT_CONTEXT -> "view_existing_hint"
- ActivityContextCase.SOLUTION_UNLOCKED_CONTEXT -> "unlock_solution"
- ActivityContextCase.REVEAL_SOLUTION_CONTEXT -> "reveal_solution"
- ActivityContextCase.VIEW_EXISTING_SOLUTION_CONTEXT -> "view_existing_solution"
- ActivityContextCase.SUBMIT_ANSWER_CONTEXT -> "submit_answer"
- ActivityContextCase.PLAY_VOICE_OVER_CONTEXT -> "click_play_voiceover_button"
- ActivityContextCase.PAUSE_VOICE_OVER_CONTEXT -> "click_pause_voiceover_button"
- ActivityContextCase.APP_IN_BACKGROUND_CONTEXT -> "send_app_to_background"
- ActivityContextCase.APP_IN_FOREGROUND_CONTEXT -> "bring_app_to_foreground"
- ActivityContextCase.START_EXPLORATION_CONTEXT -> "start_exploration_context"
- ActivityContextCase.EXIT_EXPLORATION_CONTEXT -> "leave_exploration"
- ActivityContextCase.FINISH_EXPLORATION_CONTEXT -> "complete_exploration"
- ActivityContextCase.PROGRESS_SAVING_SUCCESS_CONTEXT -> "progress_saving_success"
- ActivityContextCase.PROGRESS_SAVING_FAILURE_CONTEXT -> "progress_saving_failure"
- ActivityContextCase.LESSON_SAVED_ADVERTENTLY_CONTEXT -> "lesson_saved_advertently"
- ActivityContextCase.RESUME_LESSON_SUBMIT_CORRECT_ANSWER_CONTEXT ->
- "submit_correct_ans_in_resumed_lesson"
- ActivityContextCase.RESUME_LESSON_SUBMIT_INCORRECT_ANSWER_CONTEXT ->
- "submit_incorrect_ans_in_resumed_lesson"
- ActivityContextCase.RESUME_EXPLORATION_CONTEXT -> "resume_in_progress_exploration"
- ActivityContextCase.START_OVER_EXPLORATION_CONTEXT -> "restart_in_progress_exploration"
- ActivityContextCase.DELETE_PROFILE_CONTEXT -> "delete_profile"
- ActivityContextCase.OPEN_HOME -> "open_home_screen"
- ActivityContextCase.OPEN_PROFILE_CHOOSER -> "open_profile_chooser_screen"
- ActivityContextCase.REACH_INVESTED_ENGAGEMENT -> "reach_invested_engagement"
- ActivityContextCase.SWITCH_IN_LESSON_LANGUAGE -> "click_switch_language_in_lesson"
- ActivityContextCase.SHOW_SURVEY_POPUP -> "show_survey_popup"
- ActivityContextCase.BEGIN_SURVEY -> "begin_survey"
- ActivityContextCase.ABANDON_SURVEY -> "abandon_survey"
- ActivityContextCase.MANDATORY_RESPONSE -> "mandatory_response"
- ActivityContextCase.OPTIONAL_RESPONSE -> "optional_response"
- ActivityContextCase.FEATURE_FLAG_LIST_CONTEXT -> "feature_flag_list"
- ActivityContextCase.INSTALL_ID_FOR_FAILED_ANALYTICS_LOG,
- ActivityContextCase.ACTIVITYCONTEXT_NOT_SET -> "ERROR_internal_logging_failure"
- ActivityContextCase.COMPLETE_APP_ONBOARDING -> "complete_app_onboarding"
- ActivityContextCase.CONSOLE_LOG -> "console_log"
- ActivityContextCase.RETROFIT_CALL_CONTEXT -> "retrofit_call_context"
- ActivityContextCase.RETROFIT_CALL_FAILED_CONTEXT -> "retrofit_call_failed_context"
- ActivityContextCase.APP_IN_FOREGROUND_TIME -> "app_in_foreground_time"
- }
- }
-}
diff --git a/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel b/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel
index 32e765b11d4..d23fb656a4c 100644
--- a/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel
+++ b/utility/src/test/java/org/oppia/android/util/logging/BUILD.bazel
@@ -56,79 +56,6 @@ oppia_android_test(
"//third_party:org_robolectric_robolectric",
"//third_party:robolectric_android-all",
"//utility/src/main/java/org/oppia/android/util/logging:event_bundle_creator",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
- ],
-)
-
-oppia_android_test(
- name = "EventLoggingConfigurationModuleTest",
- srcs = ["EventLoggingConfigurationModuleTest.kt"],
- custom_package = "org.oppia.android.util.logging",
- test_class = "org.oppia.android.util.logging.EventLoggingConfigurationModuleTest",
- test_manifest = "//utility:test_manifest",
- deps = [
- "//:dagger",
- "//testing",
- "//third_party:androidx_test_ext_junit",
- "//third_party:androidx_test_ext_truth",
- "//third_party:com_google_truth_truth",
- "//third_party:org_robolectric_robolectric",
- "//third_party:robolectric_android-all",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
- ],
-)
-
-oppia_android_test(
- name = "KenyaAlphaEventBundleCreatorTest",
- srcs = ["KenyaAlphaEventBundleCreatorTest.kt"],
- custom_package = "org.oppia.android.util.logging",
- test_class = "org.oppia.android.util.logging.KenyaAlphaEventBundleCreatorTest",
- test_manifest = "//utility:test_manifest",
- deps = [
- "//:dagger",
- "//testing",
- "//third_party:androidx_test_ext_junit",
- "//third_party:androidx_test_ext_truth",
- "//third_party:com_google_truth_truth",
- "//third_party:org_robolectric_robolectric",
- "//third_party:robolectric_android-all",
- "//utility/src/main/java/org/oppia/android/util/logging:event_bundle_creator",
- "//utility/src/main/java/org/oppia/android/util/logging:kenya_alpha_event_logging_configuration_module",
- ],
-)
-
-oppia_android_test(
- name = "KenyaAlphaEventLoggingConfigurationModuleTest",
- srcs = ["KenyaAlphaEventLoggingConfigurationModuleTest.kt"],
- custom_package = "org.oppia.android.util.logging",
- test_class = "org.oppia.android.util.logging.KenyaAlphaEventLoggingConfigurationModuleTest",
- test_manifest = "//utility:test_manifest",
- deps = [
- "//:dagger",
- "//testing",
- "//third_party:androidx_test_ext_junit",
- "//third_party:androidx_test_ext_truth",
- "//third_party:com_google_truth_truth",
- "//third_party:org_robolectric_robolectric",
- "//third_party:robolectric_android-all",
- "//utility/src/main/java/org/oppia/android/util/logging:kenya_alpha_event_logging_configuration_module",
- ],
-)
-
-oppia_android_test(
- name = "StandardEventTypeToHumanReadableNameConverterImplTest",
- srcs = ["StandardEventTypeToHumanReadableNameConverterImplTest.kt"],
- custom_package = "org.oppia.android.util.logging",
- test_class = "org.oppia.android.util.logging.StandardEventTypeToHumanReadableNameConverterImplTest",
- test_manifest = "//utility:test_manifest",
- deps = [
- "//:dagger",
- "//testing",
- "//third_party:androidx_test_ext_junit",
- "//third_party:com_google_truth_truth",
- "//third_party:org_robolectric_robolectric",
- "//third_party:robolectric_android-all",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
],
)
@@ -182,7 +109,22 @@ oppia_android_test(
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
"//utility/src/main/java/org/oppia/android/util/logging:event_bundle_creator",
"//utility/src/main/java/org/oppia/android/util/logging:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
)
+
+oppia_android_test(
+ name = "EventTypeToHumanReadableNameConverterTest",
+ srcs = ["EventTypeToHumanReadableNameConverterTest.kt"],
+ custom_package = "org.oppia.android.util.logging",
+ test_class = "org.oppia.android.util.logging.EventTypeToHumanReadableNameConverterTest",
+ test_manifest = "//utility:test_manifest",
+ deps = [
+ "//:dagger",
+ "//testing",
+ "//third_party:androidx_test_ext_junit",
+ "//third_party:com_google_truth_truth",
+ "//third_party:org_robolectric_robolectric",
+ "//third_party:robolectric_android-all",
+ ],
+)
diff --git a/utility/src/test/java/org/oppia/android/util/logging/ConsoleLoggerTest.kt b/utility/src/test/java/org/oppia/android/util/logging/ConsoleLoggerTest.kt
index 6a314de75fe..05df6b8c3c7 100644
--- a/utility/src/test/java/org/oppia/android/util/logging/ConsoleLoggerTest.kt
+++ b/utility/src/test/java/org/oppia/android/util/logging/ConsoleLoggerTest.kt
@@ -13,6 +13,7 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.async
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.flow.toList
+import org.junit.After
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
@@ -31,6 +32,8 @@ import org.oppia.android.util.data.DataProvidersInjectorProvider
import org.oppia.android.util.locale.testing.LocaleTestModule
import org.robolectric.annotation.Config
import org.robolectric.annotation.LooperMode
+import java.io.File
+import java.io.PrintWriter
import javax.inject.Inject
import javax.inject.Singleton
@@ -54,9 +57,31 @@ class ConsoleLoggerTest {
@field:[Inject BackgroundTestDispatcher]
lateinit var backgroundTestDispatcher: TestCoroutineDispatcher
+ private lateinit var logFile: File
+
@Before
fun setUp() {
setUpTestApplicationComponent()
+ logFile = File(context.filesDir, "oppia_app.log")
+ logFile.delete()
+ }
+
+ @After
+ fun tearDown() {
+ logFile.delete()
+ }
+
+ @Test
+ fun testConsoleLogger_multipleLogCalls_appendsToFile() {
+ consoleLogger.e(testTag, testMessage)
+ consoleLogger.e(testTag, "$testMessage 2")
+ testCoroutineDispatchers.advanceUntilIdle()
+
+ val logContent = logFile.readText()
+ assertThat(logContent).contains(testMessage)
+ assertThat(logContent).contains("$testMessage 2")
+ assertThat(logContent.indexOf(testMessage))
+ .isLessThan(logContent.indexOf("$testMessage 2"))
}
@Test
@@ -76,6 +101,26 @@ class ConsoleLoggerTest {
assertThat(firstErrorContext.fullErrorLog).isEqualTo(testMessage)
}
+ @Test
+ fun testConsoleLogger_closeAndReopen_continuesToAppend() {
+ consoleLogger.e(testTag, "first $testMessage")
+ testCoroutineDispatchers.advanceUntilIdle()
+
+ // Force close the PrintWriter to simulate app restart
+ val printWriterField = ConsoleLogger::class.java.getDeclaredField("printWriter")
+ printWriterField.isAccessible = true
+ (printWriterField.get(consoleLogger) as? PrintWriter)?.close()
+ printWriterField.set(consoleLogger, null)
+
+ consoleLogger.e(testTag, "first $testMessage")
+ consoleLogger.e(testTag, "second $testMessage")
+ testCoroutineDispatchers.advanceUntilIdle()
+
+ val logContent = logFile.readText()
+ assertThat(logContent).contains("first $testMessage")
+ assertThat(logContent).contains("second $testMessage")
+ }
+
private fun setUpTestApplicationComponent() {
ApplicationProvider.getApplicationContext().inject(this)
}
@@ -84,9 +129,7 @@ class ConsoleLoggerTest {
class TestModule {
@Provides
@Singleton
- fun provideContext(application: Application): Context {
- return application
- }
+ fun provideContext(application: Application): Context = application
@Provides
@Singleton
@@ -96,7 +139,7 @@ class ConsoleLoggerTest {
@Provides
@Singleton
@EnableFileLog
- fun provideEnableFileLog(): Boolean = false
+ fun provideEnableFileLog(): Boolean = true
@Provides
@Singleton
@@ -113,7 +156,6 @@ class ConsoleLoggerTest {
FakeOppiaClockModule::class,
]
)
-
interface TestApplicationComponent : DataProvidersInjector {
@Component.Builder
interface Builder {
diff --git a/utility/src/test/java/org/oppia/android/util/logging/EventBundleCreatorTest.kt b/utility/src/test/java/org/oppia/android/util/logging/EventBundleCreatorTest.kt
index 7a285e8626c..e0b29f36d15 100644
--- a/utility/src/test/java/org/oppia/android/util/logging/EventBundleCreatorTest.kt
+++ b/utility/src/test/java/org/oppia/android/util/logging/EventBundleCreatorTest.kt
@@ -2557,7 +2557,7 @@ class EventBundleCreatorTest {
// TODO(#89): Move this to a common test application component.
@Singleton
- @Component(modules = [TestModule::class, EventLoggingConfigurationModule::class])
+ @Component(modules = [TestModule::class])
interface TestApplicationComponent {
@Component.Builder
interface Builder {
diff --git a/utility/src/test/java/org/oppia/android/util/logging/EventLoggingConfigurationModuleTest.kt b/utility/src/test/java/org/oppia/android/util/logging/EventLoggingConfigurationModuleTest.kt
deleted file mode 100644
index 4bd1ea8e445..00000000000
--- a/utility/src/test/java/org/oppia/android/util/logging/EventLoggingConfigurationModuleTest.kt
+++ /dev/null
@@ -1,70 +0,0 @@
-package org.oppia.android.util.logging
-
-import android.app.Application
-import android.content.Context
-import androidx.test.core.app.ApplicationProvider
-import androidx.test.ext.junit.runners.AndroidJUnit4
-import com.google.common.truth.Truth.assertThat
-import dagger.BindsInstance
-import dagger.Component
-import dagger.Module
-import dagger.Provides
-import org.junit.Before
-import org.junit.Test
-import org.junit.runner.RunWith
-import org.robolectric.annotation.Config
-import org.robolectric.annotation.LooperMode
-import javax.inject.Inject
-import javax.inject.Singleton
-
-/** Tests for [EventLoggingConfigurationModule]. */
-// FunctionName: test names are conventionally named with underscores.
-@Suppress("FunctionName")
-@RunWith(AndroidJUnit4::class)
-@LooperMode(LooperMode.Mode.PAUSED)
-@Config(manifest = Config.NONE)
-class EventLoggingConfigurationModuleTest {
- @Inject lateinit var eventTypeToHumanReadableNameConverter: EventTypeToHumanReadableNameConverter
-
- @Before
- fun setUp() {
- setUpTestApplicationComponent()
- }
-
- @Test
- fun testModule_injectedEventTypeToHumanReadableNameConverter_isStandardImplementation() {
- assertThat(eventTypeToHumanReadableNameConverter)
- .isInstanceOf(StandardEventTypeToHumanReadableNameConverterImpl::class.java)
- }
-
- private fun setUpTestApplicationComponent() {
- DaggerEventLoggingConfigurationModuleTest_TestApplicationComponent
- .builder()
- .setApplication(ApplicationProvider.getApplicationContext()).build().inject(this)
- }
-
- // TODO(#89): Move this to a common test application component.
- @Module
- class TestModule {
- @Provides
- @Singleton
- fun provideContext(application: Application): Context {
- return application
- }
- }
-
- // TODO(#89): Move this to a common test application component.
- @Singleton
- @Component(modules = [EventLoggingConfigurationModule::class])
- interface TestApplicationComponent {
- @Component.Builder
- interface Builder {
- @BindsInstance
- fun setApplication(application: Application): Builder
-
- fun build(): TestApplicationComponent
- }
-
- fun inject(test: EventLoggingConfigurationModuleTest)
- }
-}
diff --git a/utility/src/test/java/org/oppia/android/util/logging/StandardEventTypeToHumanReadableNameConverterImplTest.kt b/utility/src/test/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverterTest.kt
similarity index 75%
rename from utility/src/test/java/org/oppia/android/util/logging/StandardEventTypeToHumanReadableNameConverterImplTest.kt
rename to utility/src/test/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverterTest.kt
index 82047919161..55bff1f748e 100644
--- a/utility/src/test/java/org/oppia/android/util/logging/StandardEventTypeToHumanReadableNameConverterImplTest.kt
+++ b/utility/src/test/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverterTest.kt
@@ -17,7 +17,7 @@ import javax.inject.Inject
import javax.inject.Singleton
/**
- * Tests for [StandardEventTypeToHumanReadableNameConverterImpl].
+ * Tests for [EventTypeToHumanReadableNameConverter].
*
* Note that this suite has special change detector tests to ensure that the converter conforms to
* event logger restrictions (such as not having an event name longer than a certain number), which
@@ -29,9 +29,9 @@ import javax.inject.Singleton
@Suppress("FunctionName")
@RunWith(AndroidJUnit4::class)
@LooperMode(LooperMode.Mode.PAUSED)
-@Config(application = StandardEventTypeToHumanReadableNameConverterImplTest.TestApplication::class)
-class StandardEventTypeToHumanReadableNameConverterImplTest {
- @Inject lateinit var converterImpl: StandardEventTypeToHumanReadableNameConverterImpl
+@Config(application = EventTypeToHumanReadableNameConverterTest.TestApplication::class)
+class EventTypeToHumanReadableNameConverterTest {
+ @Inject lateinit var converter: EventTypeToHumanReadableNameConverter
private companion object {
private val FAILURE_TYPES = setOf(
@@ -49,7 +49,7 @@ class StandardEventTypeToHumanReadableNameConverterImplTest {
fun testConvertToHumanReadableName_nonErrorTypes_returnsUniqueNameForEach() {
val nonErrorContexts = ActivityContextCase.values().toSet() - FAILURE_TYPES
- val nonErrorNames = nonErrorContexts.map(converterImpl::convertToHumanReadableName)
+ val nonErrorNames = nonErrorContexts.map(converter::convertToHumanReadableName)
assertThat(nonErrorNames).containsNoDuplicates()
}
@@ -58,7 +58,7 @@ class StandardEventTypeToHumanReadableNameConverterImplTest {
fun testConvertToHumanReadableName_errorTypes_shareTheSameName() {
val errorContexts = FAILURE_TYPES
- val errorNames = errorContexts.map(converterImpl::convertToHumanReadableName)
+ val errorNames = errorContexts.map(converter::convertToHumanReadableName)
assertThat(errorNames.toSet()).hasSize(1)
}
@@ -68,8 +68,8 @@ class StandardEventTypeToHumanReadableNameConverterImplTest {
val errorContexts = FAILURE_TYPES
val nonErrorContexts = ActivityContextCase.values().toSet() - errorContexts
- val nonErrorNames = nonErrorContexts.map(converterImpl::convertToHumanReadableName).toSet()
- val errorNames = errorContexts.map(converterImpl::convertToHumanReadableName).toSet()
+ val nonErrorNames = nonErrorContexts.map(converter::convertToHumanReadableName).toSet()
+ val errorNames = errorContexts.map(converter::convertToHumanReadableName).toSet()
assertThat(errorNames).containsNoneIn(nonErrorNames)
}
@@ -77,7 +77,7 @@ class StandardEventTypeToHumanReadableNameConverterImplTest {
@Test
fun testConvertToHumanReadableName_allNamesLessThan40Chars() {
val allContexts = ActivityContextCase.values()
- val allNames = allContexts.map(converterImpl::convertToHumanReadableName)
+ val allNames = allContexts.map(converter::convertToHumanReadableName)
val namesLongerThan40 = allNames.filter { it.length > 40 }
@@ -100,17 +100,17 @@ class StandardEventTypeToHumanReadableNameConverterImplTest {
fun build(): TestApplicationComponent
}
- fun inject(test: StandardEventTypeToHumanReadableNameConverterImplTest)
+ fun inject(test: EventTypeToHumanReadableNameConverterTest)
}
class TestApplication : Application() {
private val component: TestApplicationComponent by lazy {
- DaggerStandardEventTypeToHumanReadableNameConverterImplTest_TestApplicationComponent.builder()
+ DaggerEventTypeToHumanReadableNameConverterTest_TestApplicationComponent.builder()
.setApplication(this)
.build()
}
- fun inject(test: StandardEventTypeToHumanReadableNameConverterImplTest) {
+ fun inject(test: EventTypeToHumanReadableNameConverterTest) {
component.inject(test)
}
}
diff --git a/utility/src/test/java/org/oppia/android/util/logging/KenyaAlphaEventBundleCreatorTest.kt b/utility/src/test/java/org/oppia/android/util/logging/KenyaAlphaEventBundleCreatorTest.kt
deleted file mode 100644
index 517e4e1ffc1..00000000000
--- a/utility/src/test/java/org/oppia/android/util/logging/KenyaAlphaEventBundleCreatorTest.kt
+++ /dev/null
@@ -1,1760 +0,0 @@
-package org.oppia.android.util.logging
-
-import android.app.Application
-import android.content.Context
-import android.os.Bundle
-import androidx.test.core.app.ApplicationProvider
-import androidx.test.core.content.pm.ApplicationInfoBuilder
-import androidx.test.core.content.pm.PackageInfoBuilder
-import androidx.test.ext.junit.runners.AndroidJUnit4
-import androidx.test.ext.truth.os.BundleSubject.assertThat
-import com.google.common.truth.Truth.assertThat
-import dagger.BindsInstance
-import dagger.Component
-import dagger.Module
-import dagger.Provides
-import org.junit.After
-import org.junit.Test
-import org.junit.runner.RunWith
-import org.oppia.android.app.model.EventLog
-import org.oppia.android.app.model.EventLog.CardContext
-import org.oppia.android.app.model.EventLog.ConceptCardContext
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.ACTIVITYCONTEXT_NOT_SET
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.APP_IN_BACKGROUND_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.APP_IN_FOREGROUND_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.CLOSE_REVISION_CARD
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.DELETE_PROFILE_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.END_CARD_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.EXIT_EXPLORATION_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.FINISH_EXPLORATION_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.HINT_UNLOCKED_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.INSTALL_ID_FOR_FAILED_ANALYTICS_LOG
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_CONCEPT_CARD
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_EXPLORATION_ACTIVITY
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_HOME
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_INFO_TAB
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_LESSONS_TAB
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_PRACTICE_TAB
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_PROFILE_CHOOSER
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_QUESTION_PLAYER
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_REVISION_CARD
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_REVISION_TAB
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.OPEN_STORY_ACTIVITY
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.PAUSE_VOICE_OVER_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.PLAY_VOICE_OVER_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.RESUME_EXPLORATION_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.REVEAL_HINT_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.REVEAL_SOLUTION_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.SOLUTION_UNLOCKED_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.START_CARD_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.START_OVER_EXPLORATION_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.SUBMIT_ANSWER_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.SWITCH_IN_LESSON_LANGUAGE
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.VIEW_EXISTING_HINT_CONTEXT
-import org.oppia.android.app.model.EventLog.Context.ActivityContextCase.VIEW_EXISTING_SOLUTION_CONTEXT
-import org.oppia.android.app.model.EventLog.ExplorationContext
-import org.oppia.android.app.model.EventLog.HintContext
-import org.oppia.android.app.model.EventLog.LearnerDetailsContext
-import org.oppia.android.app.model.EventLog.Priority.ESSENTIAL
-import org.oppia.android.app.model.EventLog.Priority.OPTIONAL
-import org.oppia.android.app.model.EventLog.QuestionContext
-import org.oppia.android.app.model.EventLog.RevisionCardContext
-import org.oppia.android.app.model.EventLog.StoryContext
-import org.oppia.android.app.model.EventLog.SubmitAnswerContext
-import org.oppia.android.app.model.EventLog.SwitchInLessonLanguageEventContext
-import org.oppia.android.app.model.EventLog.TopicContext
-import org.oppia.android.app.model.EventLog.VoiceoverActionContext
-import org.oppia.android.app.model.OppiaLanguage
-import org.oppia.android.util.platformparameter.EnableLoggingLearnerStudyIds
-import org.oppia.android.util.platformparameter.LOGGING_LEARNER_STUDY_IDS_DEFAULT_VALUE
-import org.oppia.android.util.platformparameter.PlatformParameterValue
-import org.robolectric.Shadows
-import org.robolectric.annotation.Config
-import org.robolectric.annotation.LooperMode
-import javax.inject.Inject
-import javax.inject.Singleton
-import org.oppia.android.app.model.EventLog.Context.Builder as EventContextBuilder
-
-private const val TEST_ANDROID_SDK_VERSION = 30
-
-// TODO(#4419): Remove this test suite post-Kenya user study.
-/**
- * Variant of [EventBundleCreatorTest] but for testing behaviors specific to alpha builds of the app
- * intended for users in the Kenya user study.
- */
-// FunctionName: test names are conventionally named with underscores.
-@Suppress("FunctionName")
-@RunWith(AndroidJUnit4::class)
-@LooperMode(LooperMode.Mode.PAUSED)
-@Config(
- application = KenyaAlphaEventBundleCreatorTest.TestApplication::class,
- sdk = [TEST_ANDROID_SDK_VERSION]
-)
-class KenyaAlphaEventBundleCreatorTest {
- private companion object {
- private const val TEST_TIMESTAMP_1 = 1556094120000
- private const val TEST_TIMESTAMP_2 = 1234567898765
- private const val TEST_CLASSROOM_ID = "test_classroom_id"
- private const val TEST_TOPIC_ID = "test_topic_id"
- private const val TEST_STORY_ID = "test_story_id"
- private const val TEST_EXPLORATION_ID = "test_exploration_id"
- private const val TEST_QUESTION_ID = "test_question_id"
- private const val TEST_SKILL_ID_1 = "test_skill_id_1"
- private const val TEST_SKILL_ID_2 = "test_skill_id_2"
- private const val TEST_SUB_TOPIC_INDEX = 1
- private const val TEST_SUB_TOPIC_INDEX_STR = "1"
- private const val TEST_LEARNER_ID = "test_ed_ld_learner_id"
- private const val TEST_INSTALLATION_ID = "test_installation_id"
- private const val TEST_LEARNER_SESSION_ID = "test_session_id"
- private const val TEST_EXPLORATION_VERSION = 5
- private const val TEST_EXPLORATION_VERSION_STR = "5"
- private const val TEST_STATE_NAME = "test_state_name"
- private const val TEST_HINT_INDEX = 1
- private const val TEST_HINT_INDEX_STR = "1"
- private const val TEST_IS_ANSWER_CORRECT = true
- private const val TEST_IS_ANSWER_CORRECT_STR = "true"
- private const val TEST_CONTENT_ID = "test_content_id"
- private const val TEST_LANGUAGE_CODE = "en"
- private const val TEST_APP_VERSION_NAME = "oppia-android-test-0123456789"
- private const val TEST_APP_VERSION_CODE = 125L
- }
-
- @Inject lateinit var context: Context
- @Inject lateinit var eventBundleCreator: EventBundleCreator
-
- @After
- fun tearDown() {
- TestModule.enableLoggingLearnerStudyIds = LOGGING_LEARNER_STUDY_IDS_DEFAULT_VALUE
- }
-
- @Test
- fun testFillEventBundle_defaultEvent_defaultsBundleAndReturnsUnknownActivityContext() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val typeName = eventBundleCreator.fillEventBundle(EventLog.getDefaultInstance(), bundle)
-
- assertThat(typeName).isEqualTo("unknown_activity_context")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(0)
- assertThat(bundle).string("priority").isEqualTo("unspecified_priority")
- assertThat(bundle).integer("event_type").isEqualTo(ACTIVITYCONTEXT_NOT_SET.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_eventWithDefaultedContext_fillsPriorityAndTimeAndRetsUnknownContext() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
- val eventLog = createEventLog(timestamp = TEST_TIMESTAMP_1, priority = ESSENTIAL)
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
-
- assertThat(typeName).isEqualTo("unknown_activity_context")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(ACTIVITYCONTEXT_NOT_SET.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_eventWithDifferentTimestamp_savesDifferentTimestampInBundle() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
- val eventLog = createEventLog(timestamp = TEST_TIMESTAMP_2)
-
- eventBundleCreator.fillEventBundle(eventLog, bundle)
-
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_2)
- }
-
- @Test
- fun testFillEventBundle_eventWithDifferentPriority_savesDifferentPriorityInBundle() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
- val eventLog = createEventLog(priority = OPTIONAL)
-
- eventBundleCreator.fillEventBundle(eventLog, bundle)
-
- assertThat(bundle).string("priority").isEqualTo("optional")
- }
-
- @Test
- fun testFillEventBundle_openExpActivityEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenExplorationActivity())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_exploration_activity")
- assertThat(bundle).hasSize(18)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_EXPLORATION_ACTIVITY.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- }
-
- @Test
- fun testFillEventBundle_openExpActivityEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenExplorationActivity())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_exploration_activity")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_EXPLORATION_ACTIVITY.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_openInfoTabContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenInfoTab())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_info_tab")
- assertThat(bundle).hasSize(12)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_INFO_TAB.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- }
-
- @Test
- fun testFillEventBundle_openLessonsTabContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenLessonsTab())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_lessons_tab")
- assertThat(bundle).hasSize(12)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_LESSONS_TAB.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- }
-
- @Test
- fun testFillEventBundle_openPracticeTabContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenPracticeTab())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_practice_tab")
- assertThat(bundle).hasSize(12)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_PRACTICE_TAB.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- }
-
- @Test
- fun testFillEventBundle_openRevisionTabContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenRevisionTab())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_revision_tab")
- assertThat(bundle).hasSize(12)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_REVISION_TAB.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- }
-
- @Test
- fun testFillEventBundle_openQuestionPlayerContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenQuestionPlayer())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_question_player")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_QUESTION_PLAYER.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("question_id").isEqualTo(TEST_QUESTION_ID)
- assertThat(bundle).string("skill_ids").isEqualTo("$TEST_SKILL_ID_1,$TEST_SKILL_ID_2")
- }
-
- @Test
- fun testFillEventBundle_openStoryActivityContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenStoryActivity())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_story_activity")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_STORY_ACTIVITY.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- }
-
- @Test
- fun testFillEventBundle_openConceptCardContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenConceptCard())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_concept_card")
- assertThat(bundle).hasSize(12)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_CONCEPT_CARD.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("skill_id").isEqualTo(TEST_SKILL_ID_1)
- }
-
- @Test
- fun testFillEventBundle_openRevisionCardContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenRevisionCard())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_revision_card")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_REVISION_CARD.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("subtopic_index").isEqualTo(TEST_SUB_TOPIC_INDEX_STR)
- }
-
- @Test
- fun testFillEventBundle_closeRevisionCardContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createCloseRevisionCard())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("close_revision_card")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(CLOSE_REVISION_CARD.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("subtopic_index").isEqualTo(TEST_SUB_TOPIC_INDEX_STR)
- }
-
- @Test
- fun testFillEventBundle_startCardContextEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createStartCardContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("start_card_context")
- assertThat(bundle).hasSize(19)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(START_CARD_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("skill_id").isEqualTo(TEST_SKILL_ID_1)
- }
-
- @Test
- fun testFillEventBundle_startCardContextEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createStartCardContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("start_card_context")
- assertThat(bundle).hasSize(21)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(START_CARD_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("skill_id").isEqualTo(TEST_SKILL_ID_1)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_endCardContextEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createEndCardContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("end_card_context")
- assertThat(bundle).hasSize(19)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(END_CARD_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("skill_id").isEqualTo(TEST_SKILL_ID_1)
- }
-
- @Test
- fun testFillEventBundle_endCardContextEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createEndCardContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("end_card_context")
- assertThat(bundle).hasSize(21)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(END_CARD_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("skill_id").isEqualTo(TEST_SKILL_ID_1)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_hintUnlockedEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createHintUnlockedContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("hint_offered_context")
- assertThat(bundle).hasSize(19)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(HINT_UNLOCKED_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("hint_index").isEqualTo(TEST_HINT_INDEX_STR)
- }
-
- @Test
- fun testFillEventBundle_hintUnlockedEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createHintUnlockedContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("hint_offered_context")
- assertThat(bundle).hasSize(21)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(HINT_UNLOCKED_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("hint_index").isEqualTo(TEST_HINT_INDEX_STR)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_revealHintContextEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createRevealHintContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("reveal_hint_context")
- assertThat(bundle).hasSize(19)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(REVEAL_HINT_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("hint_index").isEqualTo(TEST_HINT_INDEX_STR)
- }
-
- @Test
- fun testFillEventBundle_revealHintContextEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createRevealHintContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("reveal_hint_context")
- assertThat(bundle).hasSize(21)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(REVEAL_HINT_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("hint_index").isEqualTo(TEST_HINT_INDEX_STR)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_viewExistingHintEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createViewExistingHintContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("view_existing_hint_context")
- assertThat(bundle).hasSize(19)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(VIEW_EXISTING_HINT_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("hint_index").isEqualTo(TEST_HINT_INDEX_STR)
- }
-
- @Test
- fun testFillEventBundle_viewExistingHintEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createViewExistingHintContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("view_existing_hint_context")
- assertThat(bundle).hasSize(21)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(VIEW_EXISTING_HINT_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("hint_index").isEqualTo(TEST_HINT_INDEX_STR)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_solutionUnlockedEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createSolutionUnlockedContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("solution_offered_context")
- assertThat(bundle).hasSize(18)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(SOLUTION_UNLOCKED_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- }
-
- @Test
- fun testFillEventBundle_solutionUnlockedEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createSolutionUnlockedContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("solution_offered_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(SOLUTION_UNLOCKED_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_revealSolutionEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createRevealSolutionContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("reveal_solution_context")
- assertThat(bundle).hasSize(18)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(REVEAL_SOLUTION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- }
-
- @Test
- fun testFillEventBundle_revealSolutionEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createRevealSolutionContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("reveal_solution_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(REVEAL_SOLUTION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_viewExistingSolutionEvent_studyOff_fillsNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createViewExistingSolutionContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("view_existing_solution_context")
- assertThat(bundle).hasSize(18)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(VIEW_EXISTING_SOLUTION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- }
-
- @Test
- fun testFillEventBundle_viewExistingSolutionEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createViewExistingSolutionContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("view_existing_solution_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(VIEW_EXISTING_SOLUTION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_submitAnswerEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createSubmitAnswerContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("submit_answer_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(SUBMIT_ANSWER_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("submitted_answer").isEmpty()
- assertThat(bundle).string("is_answer_correct").isEqualTo(TEST_IS_ANSWER_CORRECT_STR)
- }
-
- @Test
- fun testFillEventBundle_submitAnswerEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createSubmitAnswerContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("submit_answer_context")
- assertThat(bundle).hasSize(22)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(SUBMIT_ANSWER_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("submitted_answer").isEmpty()
- assertThat(bundle).string("is_answer_correct").isEqualTo(TEST_IS_ANSWER_CORRECT_STR)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_playVoiceOverEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createPlayVoiceOverContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("play_voice_over_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(PLAY_VOICE_OVER_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("content_id").isEqualTo(TEST_CONTENT_ID)
- assertThat(bundle).string("language_code").isEqualTo(TEST_LANGUAGE_CODE)
- }
-
- @Test
- fun testFillEventBundle_playVoiceOverEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createPlayVoiceOverContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("play_voice_over_context")
- assertThat(bundle).hasSize(22)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(PLAY_VOICE_OVER_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("content_id").isEqualTo(TEST_CONTENT_ID)
- assertThat(bundle).string("language_code").isEqualTo(TEST_LANGUAGE_CODE)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_pauseVoiceOverEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createPauseVoiceOverContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("pause_voice_over_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(PAUSE_VOICE_OVER_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("content_id").isEqualTo(TEST_CONTENT_ID)
- assertThat(bundle).string("language_code").isEqualTo(TEST_LANGUAGE_CODE)
- }
-
- @Test
- fun testFillEventBundle_pauseVoiceOverEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createPauseVoiceOverContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("pause_voice_over_context")
- assertThat(bundle).hasSize(22)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(PAUSE_VOICE_OVER_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("content_id").isEqualTo(TEST_CONTENT_ID)
- assertThat(bundle).string("language_code").isEqualTo(TEST_LANGUAGE_CODE)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_appInBackgroundEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createAppInBackgroundContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("app_in_background_context")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(APP_IN_BACKGROUND_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_appInBackgroundEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createAppInBackgroundContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("app_in_background_context")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(APP_IN_BACKGROUND_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_appInForegroundEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createAppInForegroundContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("app_in_foreground_context")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(APP_IN_FOREGROUND_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_appInForegroundEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createAppInForegroundContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("app_in_foreground_context")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(APP_IN_FOREGROUND_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_exitExplorationEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createExitExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("exit_exploration_context")
- assertThat(bundle).hasSize(18)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(EXIT_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- }
-
- @Test
- fun testFillEventBundle_exitExplorationEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createExitExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("exit_exploration_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(EXIT_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_finishExplorationEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createFinishExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("finish_exploration_context")
- assertThat(bundle).hasSize(18)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(FINISH_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- }
-
- @Test
- fun testFillEventBundle_finishExplorationEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createFinishExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("finish_exploration_context")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(FINISH_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_resumeExplorationEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createResumeExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("resume_exploration_context")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(RESUME_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_resumeExplorationEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createResumeExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("resume_exploration_context")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(RESUME_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_startOverExpEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createStartOverExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("start_over_exploration_context")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(START_OVER_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_startOverExpEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createStartOverExplorationContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("start_over_exploration_context")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(START_OVER_EXPLORATION_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_deleteProfileEvent_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createDeleteProfileContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("delete_profile_context")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(DELETE_PROFILE_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_deleteProfileEvent_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createDeleteProfileContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("delete_profile_context")
- assertThat(bundle).hasSize(13)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(DELETE_PROFILE_CONTEXT.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- @Test
- fun testFillEventBundle_openHomeContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenHomeContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_home")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_HOME.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_openProfileChooserContextEvent_fillsAllFieldsInBundleAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createOpenProfileChooserContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("open_profile_chooser")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(OPEN_PROFILE_CHOOSER.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_switchInLessonLanguageEvent_studyOff_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponent()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createSwitchInLessonLanguageContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("switch_in_lesson_language")
- assertThat(bundle).hasSize(20)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(SWITCH_IN_LESSON_LANGUAGE.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("from_language").isEqualTo("English")
- assertThat(bundle).string("to_language").isEqualTo("Swahili")
- }
-
- @Test
- fun testFillEventBundle_switchInLessonLanguageEvent_studyOn_fillsNonSensitiveDataAndRetsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createSwitchInLessonLanguageContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("switch_in_lesson_language")
- assertThat(bundle).hasSize(22)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(SWITCH_IN_LESSON_LANGUAGE.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("ed_classroom_id").isEqualTo(TEST_CLASSROOM_ID)
- assertThat(bundle).string("ed_topic_id").isEqualTo(TEST_TOPIC_ID)
- assertThat(bundle).string("ed_story_id").isEqualTo(TEST_STORY_ID)
- assertThat(bundle).string("ed_exploration_id").isEqualTo(TEST_EXPLORATION_ID)
- assertThat(bundle).string("ed_session_id").isEqualTo(TEST_LEARNER_SESSION_ID)
- assertThat(bundle).string("ed_exploration_version").isEqualTo(TEST_EXPLORATION_VERSION_STR)
- assertThat(bundle).string("ed_state_name").isEqualTo(TEST_STATE_NAME)
- assertThat(bundle).string("ed_ld_learner_id").isEqualTo(TEST_LEARNER_ID)
- assertThat(bundle).string("ed_ld_install_id").isEqualTo(TEST_INSTALLATION_ID)
- assertThat(bundle).string("from_language").isEqualTo("English")
- assertThat(bundle).string("to_language").isEqualTo("Swahili")
- }
-
- @Test
- fun testFillEventBundle_failedEventInstallId_studyOff_fillsOnlyNonSensitiveFieldsAndRetsName() {
- setUpTestApplicationComponentWithoutLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createInstallationIdForFailedAnalyticsLogContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("failed_analytics_log")
- assertThat(bundle).hasSize(11)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(INSTALL_ID_FOR_FAILED_ANALYTICS_LOG.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- }
-
- @Test
- fun testFillEventBundle_failedEventInstallId_studyOn_fillsAllFieldsAndReturnsName() {
- setUpTestApplicationComponentWithLearnerAnalyticsStudy()
- val bundle = Bundle()
-
- val eventLog = createEventLog(context = createInstallationIdForFailedAnalyticsLogContext())
-
- val typeName = eventBundleCreator.fillEventBundle(eventLog, bundle)
- assertThat(typeName).isEqualTo("failed_analytics_log")
- assertThat(bundle).hasSize(12)
- assertThat(bundle).longInt("timestamp").isEqualTo(TEST_TIMESTAMP_1)
- assertThat(bundle).string("priority").isEqualTo("essential")
- assertThat(bundle).integer("event_type").isEqualTo(INSTALL_ID_FOR_FAILED_ANALYTICS_LOG.number)
- assertThat(bundle).integer("android_sdk").isEqualTo(TEST_ANDROID_SDK_VERSION)
- assertThat(bundle).string("app_version_name").isEqualTo(TEST_APP_VERSION_NAME)
- assertThat(bundle).integer("app_version_code").isEqualTo(TEST_APP_VERSION_CODE)
- assertThat(bundle).string("install_id").isEqualTo(TEST_INSTALLATION_ID)
- }
-
- private fun createEventLog(
- timestamp: Long = TEST_TIMESTAMP_1,
- priority: EventLog.Priority = ESSENTIAL,
- context: EventLog.Context = EventLog.Context.getDefaultInstance()
- ) = EventLog.newBuilder().apply {
- this.timestamp = timestamp
- this.priority = priority
- this.context = context
- }.build()
-
- private fun createOpenExplorationActivity(
- explorationContext: ExplorationContext = createExplorationContext()
- ) = createEventContext(explorationContext, EventContextBuilder::setOpenExplorationActivity)
-
- private fun createOpenInfoTab(topicContext: TopicContext = createTopicContext()) =
- createEventContext(topicContext, EventContextBuilder::setOpenInfoTab)
-
- private fun createOpenLessonsTab(topicContext: TopicContext = createTopicContext()) =
- createEventContext(topicContext, EventContextBuilder::setOpenLessonsTab)
-
- private fun createOpenPracticeTab(topicContext: TopicContext = createTopicContext()) =
- createEventContext(topicContext, EventContextBuilder::setOpenPracticeTab)
-
- private fun createOpenRevisionTab(topicContext: TopicContext = createTopicContext()) =
- createEventContext(topicContext, EventContextBuilder::setOpenRevisionTab)
-
- private fun createOpenQuestionPlayer(questionContext: QuestionContext = createQuestionContext()) =
- createEventContext(questionContext, EventContextBuilder::setOpenQuestionPlayer)
-
- private fun createOpenStoryActivity(storyContext: StoryContext = createStoryContext()) =
- createEventContext(storyContext, EventContextBuilder::setOpenStoryActivity)
-
- private fun createOpenConceptCard(
- conceptCardContext: ConceptCardContext = createConceptCardContext()
- ) = createEventContext(conceptCardContext, EventContextBuilder::setOpenConceptCard)
-
- private fun createOpenRevisionCard(
- revisionCardContext: RevisionCardContext = createRevisionCardContext()
- ) = createEventContext(revisionCardContext, EventContextBuilder::setOpenRevisionCard)
-
- private fun createCloseRevisionCard(
- revisionCardContext: RevisionCardContext = createRevisionCardContext()
- ) = createEventContext(revisionCardContext, EventContextBuilder::setCloseRevisionCard)
-
- private fun createStartCardContext(cardContext: CardContext = createCardContext()) =
- createEventContext(cardContext, EventContextBuilder::setStartCardContext)
-
- private fun createEndCardContext(cardContext: CardContext = createCardContext()) =
- createEventContext(cardContext, EventContextBuilder::setEndCardContext)
-
- private fun createHintUnlockedContext(hintContext: HintContext = createHintContext()) =
- createEventContext(hintContext, EventContextBuilder::setHintUnlockedContext)
-
- private fun createRevealHintContext(hintContext: HintContext = createHintContext()) =
- createEventContext(hintContext, EventContextBuilder::setRevealHintContext)
-
- private fun createViewExistingHintContext(hintContext: HintContext = createHintContext()) =
- createEventContext(hintContext, EventContextBuilder::setViewExistingHintContext)
-
- private fun createSolutionUnlockedContext(
- explorationContext: ExplorationContext = createExplorationContext()
- ) = createEventContext(explorationContext, EventContextBuilder::setSolutionUnlockedContext)
-
- private fun createRevealSolutionContext(
- explorationContext: ExplorationContext = createExplorationContext()
- ) = createEventContext(explorationContext, EventContextBuilder::setRevealSolutionContext)
-
- private fun createViewExistingSolutionContext(
- explorationContext: ExplorationContext = createExplorationContext()
- ) = createEventContext(explorationContext, EventContextBuilder::setViewExistingSolutionContext)
-
- private fun createSubmitAnswerContext(
- submitAnswerContext: SubmitAnswerContext = createSubmitAnswerContextDetails()
- ) = createEventContext(submitAnswerContext, EventContextBuilder::setSubmitAnswerContext)
-
- private fun createPlayVoiceOverContext(
- playVoiceOverContext: VoiceoverActionContext = createPlayVoiceOverContextDetails()
- ) = createEventContext(playVoiceOverContext, EventContextBuilder::setPlayVoiceOverContext)
-
- private fun createPauseVoiceOverContext(
- pauseVoiceOverContext: VoiceoverActionContext = createPauseVoiceOverContextDetails()
- ) = createEventContext(pauseVoiceOverContext, EventContextBuilder::setPauseVoiceOverContext)
-
- private fun createAppInBackgroundContext(
- learnerDetails: LearnerDetailsContext = createLearnerDetailsContext()
- ) = createEventContext(learnerDetails, EventContextBuilder::setAppInBackgroundContext)
-
- private fun createAppInForegroundContext(
- learnerDetails: LearnerDetailsContext = createLearnerDetailsContext()
- ) = createEventContext(learnerDetails, EventContextBuilder::setAppInForegroundContext)
-
- private fun createExitExplorationContext(
- explorationContext: ExplorationContext = createExplorationContext()
- ) = createEventContext(explorationContext, EventContextBuilder::setExitExplorationContext)
-
- private fun createFinishExplorationContext(
- explorationContext: ExplorationContext = createExplorationContext()
- ) = createEventContext(explorationContext, EventContextBuilder::setFinishExplorationContext)
-
- private fun createResumeExplorationContext(
- learnerDetails: LearnerDetailsContext = createLearnerDetailsContext()
- ) = createEventContext(learnerDetails, EventContextBuilder::setResumeExplorationContext)
-
- private fun createStartOverExplorationContext(
- learnerDetails: LearnerDetailsContext = createLearnerDetailsContext()
- ) = createEventContext(learnerDetails, EventContextBuilder::setStartOverExplorationContext)
-
- private fun createDeleteProfileContext(
- learnerDetails: LearnerDetailsContext = createLearnerDetailsContext()
- ) = createEventContext(learnerDetails, EventContextBuilder::setDeleteProfileContext)
-
- private fun createOpenHomeContext() =
- createEventContext(value = true, EventContextBuilder::setOpenHome)
-
- private fun createOpenProfileChooserContext() =
- createEventContext(value = true, EventContextBuilder::setOpenProfileChooser)
-
- private fun createSwitchInLessonLanguageContext(
- switchLanguageContext: SwitchInLessonLanguageEventContext =
- createSwitchInLessonLanguageEventContext(),
- ) = createEventContext(switchLanguageContext, EventContextBuilder::setSwitchInLessonLanguage)
-
- private fun createInstallationIdForFailedAnalyticsLogContext(
- installationId: String = TEST_INSTALLATION_ID
- ) = createEventContext(installationId, EventContextBuilder::setInstallIdForFailedAnalyticsLog)
-
- private fun createEventContext(
- value: T,
- setter: EventContextBuilder.(T) -> EventContextBuilder
- ) = EventLog.Context.newBuilder().setter(value).build()
-
- private fun createExplorationContext(
- classroomId: String = TEST_CLASSROOM_ID,
- topicId: String = TEST_TOPIC_ID,
- storyId: String = TEST_STORY_ID,
- explorationId: String = TEST_EXPLORATION_ID,
- sessionId: String = TEST_LEARNER_SESSION_ID,
- explorationVersion: Int = TEST_EXPLORATION_VERSION,
- stateName: String = TEST_STATE_NAME,
- learnerDetails: LearnerDetailsContext = createLearnerDetailsContext()
- ) = ExplorationContext.newBuilder().apply {
- this.classroomId = classroomId
- this.topicId = topicId
- this.storyId = storyId
- this.explorationId = explorationId
- this.sessionId = sessionId
- this.explorationVersion = explorationVersion
- this.stateName = stateName
- this.learnerDetails = learnerDetails
- }.build()
-
- private fun createLearnerDetailsContext(
- learnerId: String = TEST_LEARNER_ID,
- installId: String = TEST_INSTALLATION_ID
- ) = LearnerDetailsContext.newBuilder().apply {
- this.learnerId = learnerId
- this.installId = installId
- }.build()
-
- private fun createTopicContext(topicId: String = TEST_TOPIC_ID) =
- TopicContext.newBuilder().apply { this.topicId = topicId }.build()
-
- private fun createQuestionContext(
- questionId: String = TEST_QUESTION_ID,
- skillIds: List = listOf(TEST_SKILL_ID_1, TEST_SKILL_ID_2)
- ) = QuestionContext.newBuilder().apply {
- this.questionId = questionId
- addAllSkillId(skillIds)
- }.build()
-
- private fun createStoryContext(
- topicId: String = TEST_TOPIC_ID,
- storyId: String = TEST_STORY_ID
- ) = StoryContext.newBuilder().apply {
- this.topicId = topicId
- this.storyId = storyId
- }.build()
-
- private fun createConceptCardContext(skillId: String = TEST_SKILL_ID_1) =
- ConceptCardContext.newBuilder().apply { this.skillId = skillId }.build()
-
- private fun createRevisionCardContext(
- topicId: String = TEST_TOPIC_ID,
- subTopicIndex: Int = TEST_SUB_TOPIC_INDEX
- ) = RevisionCardContext.newBuilder().apply {
- this.topicId = topicId
- subTopicId = subTopicIndex
- }.build()
-
- private fun createCardContext(
- explorationDetails: ExplorationContext = createExplorationContext(),
- skillId: String = TEST_SKILL_ID_1
- ) = CardContext.newBuilder().apply {
- this.explorationDetails = explorationDetails
- this.skillId = skillId
- }.build()
-
- private fun createHintContext(
- explorationDetails: ExplorationContext = createExplorationContext(),
- hintIndex: Int = TEST_HINT_INDEX
- ) = HintContext.newBuilder().apply {
- this.explorationDetails = explorationDetails
- this.hintIndex = hintIndex
- }.build()
-
- private fun createSubmitAnswerContextDetails(
- explorationDetails: ExplorationContext = createExplorationContext(),
- isAnswerCorrect: Boolean = TEST_IS_ANSWER_CORRECT
- ) = SubmitAnswerContext.newBuilder().apply {
- this.explorationDetails = explorationDetails
- this.isAnswerCorrect = isAnswerCorrect
- }.build()
-
- private fun createPlayVoiceOverContextDetails(
- explorationDetails: ExplorationContext = createExplorationContext(),
- contentId: String = TEST_CONTENT_ID,
- languageCode: String = TEST_LANGUAGE_CODE
- ) = VoiceoverActionContext.newBuilder().apply {
- this.explorationDetails = explorationDetails
- this.contentId = contentId
- this.languageCode = languageCode
- }.build()
-
- private fun createPauseVoiceOverContextDetails(
- explorationDetails: ExplorationContext = createExplorationContext(),
- contentId: String = TEST_CONTENT_ID,
- languageCode: String = TEST_LANGUAGE_CODE
- ) = VoiceoverActionContext.newBuilder().apply {
- this.explorationDetails = explorationDetails
- this.contentId = contentId
- this.languageCode = languageCode
- }.build()
-
- private fun createSwitchInLessonLanguageEventContext(
- explorationDetails: ExplorationContext = createExplorationContext(),
- switchFromLanguage: OppiaLanguage = OppiaLanguage.ENGLISH,
- switchToLanguage: OppiaLanguage = OppiaLanguage.SWAHILI
- ) = SwitchInLessonLanguageEventContext.newBuilder().apply {
- this.explorationDetails = explorationDetails
- this.switchFromLanguage = switchFromLanguage
- this.switchToLanguage = switchToLanguage
- }.build()
-
- private fun registerTestApplication() {
- val packageManager = Shadows.shadowOf(context.packageManager)
- val applicationInfo =
- ApplicationInfoBuilder.newBuilder()
- .setPackageName(context.packageName)
- .build()
- val packageInfo =
- PackageInfoBuilder.newBuilder()
- .setPackageName(context.packageName)
- .setApplicationInfo(applicationInfo)
- .build()
- packageInfo.versionName = TEST_APP_VERSION_NAME
- packageInfo.longVersionCode = TEST_APP_VERSION_CODE
- packageManager.installPackage(packageInfo)
- }
-
- private fun setUpTestApplicationComponentWithoutLearnerAnalyticsStudy() {
- TestModule.enableLoggingLearnerStudyIds = false
- setUpTestApplicationComponent()
- }
-
- private fun setUpTestApplicationComponentWithLearnerAnalyticsStudy() {
- TestModule.enableLoggingLearnerStudyIds = true
- setUpTestApplicationComponent()
- }
-
- private fun setUpTestApplicationComponent() {
- ApplicationProvider.getApplicationContext().inject(this)
- registerTestApplication()
- }
-
- // TODO(#89): Move this to a common test application component.
- @Module
- class TestModule {
- internal companion object {
- // This is expected to be off by default, so this helps the tests above confirm that the
- // feature's default value is, indeed, off.
- var enableLoggingLearnerStudyIds = LOGGING_LEARNER_STUDY_IDS_DEFAULT_VALUE
- }
-
- @Provides
- @Singleton
- fun provideContext(application: Application): Context {
- return application
- }
-
- // The scoping here is to ensure changes to the module value above don't change the parameter
- // within the same application instance.
- @Provides
- @Singleton
- @EnableLoggingLearnerStudyIds
- fun provideLoggingLearnerStudyIds(): PlatformParameterValue {
- // Snapshot the value so that it doesn't change between injection and use.
- val enableFeature = enableLoggingLearnerStudyIds
- return PlatformParameterValue.createDefaultParameter(
- defaultValue = enableFeature
- )
- }
- }
-
- // TODO(#89): Move this to a common test application component.
- @Singleton
- @Component(modules = [TestModule::class, KenyaAlphaEventLoggingConfigurationModule::class])
- interface TestApplicationComponent {
- @Component.Builder
- interface Builder {
- @BindsInstance
- fun setApplication(application: Application): Builder
-
- fun build(): TestApplicationComponent
- }
-
- fun inject(test: KenyaAlphaEventBundleCreatorTest)
- }
-
- class TestApplication : Application() {
- private val component: TestApplicationComponent by lazy {
- DaggerKenyaAlphaEventBundleCreatorTest_TestApplicationComponent.builder()
- .setApplication(this)
- .build()
- }
-
- fun inject(test: KenyaAlphaEventBundleCreatorTest) {
- component.inject(test)
- }
- }
-}
diff --git a/utility/src/test/java/org/oppia/android/util/logging/KenyaAlphaEventLoggingConfigurationModuleTest.kt b/utility/src/test/java/org/oppia/android/util/logging/KenyaAlphaEventLoggingConfigurationModuleTest.kt
deleted file mode 100644
index 31d1130c3d0..00000000000
--- a/utility/src/test/java/org/oppia/android/util/logging/KenyaAlphaEventLoggingConfigurationModuleTest.kt
+++ /dev/null
@@ -1,70 +0,0 @@
-package org.oppia.android.util.logging
-
-import android.app.Application
-import android.content.Context
-import androidx.test.core.app.ApplicationProvider
-import androidx.test.ext.junit.runners.AndroidJUnit4
-import com.google.common.truth.Truth.assertThat
-import dagger.BindsInstance
-import dagger.Component
-import dagger.Module
-import dagger.Provides
-import org.junit.Before
-import org.junit.Test
-import org.junit.runner.RunWith
-import org.robolectric.annotation.Config
-import org.robolectric.annotation.LooperMode
-import javax.inject.Inject
-import javax.inject.Singleton
-
-/** Tests for [KenyaAlphaEventLoggingConfigurationModule]. */
-// FunctionName: test names are conventionally named with underscores.
-@Suppress("FunctionName")
-@RunWith(AndroidJUnit4::class)
-@LooperMode(LooperMode.Mode.PAUSED)
-@Config(manifest = Config.NONE)
-class KenyaAlphaEventLoggingConfigurationModuleTest {
- @Inject lateinit var eventTypeToHumanReadableNameConverter: EventTypeToHumanReadableNameConverter
-
- @Before
- fun setUp() {
- setUpTestApplicationComponent()
- }
-
- @Test
- fun testModule_injectedEventTypeToHumanReadableNameConverter_isStudySpecificImplementation() {
- assertThat(eventTypeToHumanReadableNameConverter)
- .isInstanceOf(KenyaAlphaEventTypeToHumanReadableNameConverterImpl::class.java)
- }
-
- private fun setUpTestApplicationComponent() {
- DaggerKenyaAlphaEventLoggingConfigurationModuleTest_TestApplicationComponent
- .builder()
- .setApplication(ApplicationProvider.getApplicationContext()).build().inject(this)
- }
-
- // TODO(#89): Move this to a common test application component.
- @Module
- class TestModule {
- @Provides
- @Singleton
- fun provideContext(application: Application): Context {
- return application
- }
- }
-
- // TODO(#89): Move this to a common test application component.
- @Singleton
- @Component(modules = [KenyaAlphaEventLoggingConfigurationModule::class])
- interface TestApplicationComponent {
- @Component.Builder
- interface Builder {
- @BindsInstance
- fun setApplication(application: Application): Builder
-
- fun build(): TestApplicationComponent
- }
-
- fun inject(test: KenyaAlphaEventLoggingConfigurationModuleTest)
- }
-}
diff --git a/utility/src/test/java/org/oppia/android/util/logging/firebase/BUILD.bazel b/utility/src/test/java/org/oppia/android/util/logging/firebase/BUILD.bazel
index 8980bedd68c..841f115ae69 100644
--- a/utility/src/test/java/org/oppia/android/util/logging/firebase/BUILD.bazel
+++ b/utility/src/test/java/org/oppia/android/util/logging/firebase/BUILD.bazel
@@ -22,7 +22,6 @@ oppia_android_test(
"//third_party:org_robolectric_robolectric",
"//third_party:robolectric_android-all",
"//utility/src/main/java/org/oppia/android/util/locale:prod_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:prod_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
],
@@ -46,7 +45,6 @@ oppia_android_test(
"//third_party:org_robolectric_robolectric",
"//third_party:robolectric_android-all",
"//utility/src/main/java/org/oppia/android/util/locale/testing:test_module",
- "//utility/src/main/java/org/oppia/android/util/logging:standard_event_logging_configuration_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:debug_module",
"//utility/src/main/java/org/oppia/android/util/logging/firebase:prod_module",
"//utility/src/main/java/org/oppia/android/util/networking:debug_module",
diff --git a/utility/src/test/java/org/oppia/android/util/logging/firebase/LogReportingModuleTest.kt b/utility/src/test/java/org/oppia/android/util/logging/firebase/LogReportingModuleTest.kt
index 30992f7132c..40c20ad719c 100644
--- a/utility/src/test/java/org/oppia/android/util/logging/firebase/LogReportingModuleTest.kt
+++ b/utility/src/test/java/org/oppia/android/util/logging/firebase/LogReportingModuleTest.kt
@@ -20,7 +20,6 @@ import org.oppia.android.util.data.DataProvidersInjector
import org.oppia.android.util.data.DataProvidersInjectorProvider
import org.oppia.android.util.locale.LocaleProdModule
import org.oppia.android.util.logging.AnalyticsEventLogger
-import org.oppia.android.util.logging.EventLoggingConfigurationModule
import org.oppia.android.util.logging.LoggerModule
import org.oppia.android.util.logging.SyncStatusModule
import org.oppia.android.util.logging.performancemetrics.PerformanceMetricsEventLogger
@@ -112,7 +111,6 @@ class LogReportingModuleTest {
RobolectricModule::class, FakeOppiaClockModule::class,
NetworkConnectionUtilDebugModule::class, LocaleProdModule::class,
TestPlatformParameterModule::class, LoggerModule::class, SyncStatusModule::class,
- EventLoggingConfigurationModule::class
]
)
interface TestApplicationComponent : DataProvidersInjector {
diff --git a/version.bzl b/version.bzl
index 792b4e48c31..cd5a9094511 100644
--- a/version.bzl
+++ b/version.bzl
@@ -12,11 +12,9 @@ the app (that are potentially not broadly released yet).
MAJOR_VERSION = 0
MINOR_VERSION = 13
-# TODO(#4419): Remove the Kenya-specific alpha version code.
-OPPIA_DEV_VERSION_CODE = 166
-OPPIA_DEV_KITKAT_VERSION_CODE = 165
-OPPIA_ALPHA_KENYA_VERSION_CODE = 164
-OPPIA_ALPHA_VERSION_CODE = 163
-OPPIA_ALPHA_KITKAT_VERSION_CODE = 162
-OPPIA_BETA_VERSION_CODE = 161
-OPPIA_GA_VERSION_CODE = 160
+OPPIA_DEV_VERSION_CODE = 172
+OPPIA_DEV_KITKAT_VERSION_CODE = 171
+OPPIA_ALPHA_VERSION_CODE = 170
+OPPIA_ALPHA_KITKAT_VERSION_CODE = 169
+OPPIA_BETA_VERSION_CODE = 168
+OPPIA_GA_VERSION_CODE = 167
diff --git a/wiki/Accessibility-A11y-Guide.md b/wiki/Accessibility-A11y-Guide.md
index a9e01c6c59e..d80d73f6efd 100644
--- a/wiki/Accessibility-A11y-Guide.md
+++ b/wiki/Accessibility-A11y-Guide.md
@@ -32,7 +32,7 @@ There are various manual and automated tests to check if app is accessible by al
**[Accessibility Scanner](https://support.google.com/accessibility/android/answer/6376570?hl=en)** : Using Accessibility Scanner we can take screenshots of each and every screen in the Oppia-app manually and the Accessibility Scanner app will give the output for the individual screenshot mentioning all the errors.
-[Here](https://youtu.be/LF5AgGI5H3A) is a video tutorial on how to set up and use the Accessibility Scanner.
+[Here](https://youtu.be/zCIlMlbFf7I?si=Xn1L5iCJ-TJ4DRVq) is a video tutorial on how to set up and use the Accessibility Scanner.
**Screen Reader**: Screen readers like **Talkback** can be used to test the app manually. Talkback app is used by blind people to navigate to different items in the screen and get audio based output. This app will not give any error like Accessibility Scanner.
@@ -80,7 +80,7 @@ TalkBack is the Google **screen reader** included on Android devices. TalkBack g
5. Read all the instructions written on the screen as using Talkback requires specific steps.
6. Turn on **Use Service** -> **Allow**
-[Here](https://youtu.be/xpIM9xlowjs) is a video tutorial on "How to use Talkback and what does its output mean?".
+[Here](https://youtu.be/JBRV1dauxyI?si=VzrxFJSpU9r3pdqq) is a video tutorial on "How to use Talkback and what does its output mean?".
### Useful Resources
* [Android A11Y Overview](https://support.google.com/accessibility/android/answer/6006564)
@@ -89,9 +89,9 @@ TalkBack is the Google **screen reader** included on Android devices. TalkBack g
* [Display speech output as Text: Talkback](https://developer.android.com/guide/topics/ui/accessibility/testing#optional_talkback_developer_settings)
### Developer Videos
-* [How to use Accessibility Scanner? - Tutorial](https://youtu.be/LF5AgGI5H3A)
+* [How to use Accessibility Scanner? - Tutorial](https://youtu.be/zCIlMlbFf7I?si=Xn1L5iCJ-TJ4DRVq)
* [Presentation Slides](https://docs.google.com/presentation/d/1PM_gs3TV2LVKFv6WuF9CUQHWbK7koepAxypzxeZTFzE/edit?usp=sharing)
-* [How to use Talkback and what does its output mean? - Tutorial](https://youtu.be/xpIM9xlowjs)
+* [How to use Talkback and what does its output mean? - Tutorial](https://youtu.be/JBRV1dauxyI?si=VzrxFJSpU9r3pdqq)
* [Presentation Slides](https://docs.google.com/presentation/d/17SeKJLKT-rUNa_Yupe97bMFSsjTNzp83jX-lZPKEtnQ/edit?usp=sharing)
## Using AccessibilityTestRule in Espresso Tests
diff --git a/wiki/Interpreting-CI-Results.md b/wiki/Interpreting-CI-Results.md
index 00b3c5667c7..14293e02f55 100644
--- a/wiki/Interpreting-CI-Results.md
+++ b/wiki/Interpreting-CI-Results.md
@@ -21,4 +21,4 @@ Example in the below check the second job has some error or failure
Navigate to logs or search the keyword ‘error’ to find the error message to understand what might have caused the failure in the checks.
### Developer Video - Understanding CI check failures
-Learn how to interpret and troubleshoot oppia-android CI check failures in this insightful [developer video](https://youtu.be/I2bRf6fvgJ0?si=35sAagbUFSk6bOBA).
\ No newline at end of file
+Learn how to interpret and troubleshoot oppia-android CI check failures in this insightful [developer video](https://youtu.be/HLzHQULZbJE?si=RLY9_8Yzv5cjYM7q).
\ No newline at end of file
diff --git a/wiki/Static-Analysis-Checks.md b/wiki/Static-Analysis-Checks.md
index 372a9b27bc1..6cfd8b2e022 100644
--- a/wiki/Static-Analysis-Checks.md
+++ b/wiki/Static-Analysis-Checks.md
@@ -267,4 +267,4 @@ To fix failing tests from GitHub CI individually, follow the steps below.
Note: Before running the script command in your local terminal, make sure you have Bazel installed. To learn how to set up Bazel for Oppia Android, follow these [instructions](https://github.com/oppia/oppia-android/wiki/Oppia-Bazel-Setup-Instructions). Also make sure you have oppia-android-tools installed since static checks rely on these tools to be able to perform some of the checks. To install oppia-android-tools, run `bash scripts/setup.sh` in the oppia-android directory.
### Developer Video - Understanding CI check failures
-Learn how to interpret and troubleshoot oppia-android CI check failures in this insightful [developer video](https://youtu.be/I2bRf6fvgJ0?si=35sAagbUFSk6bOBA).
\ No newline at end of file
+Learn how to interpret and troubleshoot oppia-android CI check failures in this insightful [developer video](https://youtu.be/HLzHQULZbJE?si=RLY9_8Yzv5cjYM7q).
\ No newline at end of file