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/utility/src/main/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverter.kt b/utility/src/main/java/org/oppia/android/util/logging/EventTypeToHumanReadableNameConverter.kt index 72abfd30d5a..b030194183b 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 @@ -21,9 +21,14 @@ import javax.inject.Inject * 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 EventTypeToHumanReadableNameConverter @Inject constructor() - { - fun convertToHumanReadableName(eventType: ActivityContextCase): String { +class EventTypeToHumanReadableNameConverter @Inject constructor() { + /** + * Converts an event type to a human-readable name. + * + * @param eventType The type of event to convert. + * @return A human-readable string representation of the event type. + */ + fun convertToHumanReadableName(eventType: ActivityContextCase): String { return when (eventType) { ActivityContextCase.OPEN_EXPLORATION_ACTIVITY -> "open_exploration_player_screen" ActivityContextCase.OPEN_INFO_TAB -> "select_topic_info_tab"