diff --git a/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt b/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt index 50f489ff326..cd03b74450a 100644 --- a/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt +++ b/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt @@ -18,8 +18,6 @@ import org.oppia.android.util.data.AsyncResult import org.oppia.android.util.data.DataProvider import org.oppia.android.util.data.DataProviders.Companion.combineWith import org.oppia.android.util.data.DataProviders.Companion.toLiveData -import org.oppia.android.util.platformparameter.EnableLanguageSelectionUi -import org.oppia.android.util.platformparameter.PlatformParameterValue import javax.inject.Inject /** [ViewModel] for [OptionsFragment]. */ @@ -32,7 +30,6 @@ class OptionControlsViewModel @Inject constructor( activity: AppCompatActivity, private val profileManagementController: ProfileManagementController, private val oppiaLogger: OppiaLogger, - @EnableLanguageSelectionUi private val enableLanguageSelectionUi: PlatformParameterValue, private val resourceHandler: AppLanguageResourceHandler, private val translationController: TranslationController ) : OptionsItemViewModel() { @@ -112,13 +109,12 @@ class OptionControlsViewModel @Inject constructor( } private fun createAppLanguageViewModel(language: OppiaLanguage): OptionsAppLanguageViewModel? { - return if (enableLanguageSelectionUi.value) { - OptionsAppLanguageViewModel( - routeToAppLanguageListListener, - loadAppLanguageListListener, language, - resourceHandler.computeLocalizedDisplayName(language) - ) - } else null + return OptionsAppLanguageViewModel( + routeToAppLanguageListListener, + loadAppLanguageListListener, + language, + resourceHandler.computeLocalizedDisplayName(language) + ) } private fun createAudioLanguageViewModel(profile: Profile): OptionsAudioLanguageViewModel { 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 3210327edae..a96f83b18fd 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 @@ -15,9 +15,7 @@ import androidx.test.espresso.assertion.ViewAssertions.matches import androidx.test.espresso.intent.Intents import androidx.test.espresso.intent.Intents.intended import androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent -import androidx.test.espresso.intent.matcher.IntentMatchers.hasExtra import androidx.test.espresso.matcher.ViewMatchers.isCompletelyDisplayed -import androidx.test.espresso.matcher.ViewMatchers.isDisplayed import androidx.test.espresso.matcher.ViewMatchers.isRoot import androidx.test.espresso.matcher.ViewMatchers.withContentDescription import androidx.test.espresso.matcher.ViewMatchers.withId @@ -146,7 +144,6 @@ class OptionsFragmentTest { @Before fun setUp() { - TestPlatformParameterModule.forceEnableLanguageSelectionUi(true) Intents.init() setUpTestApplicationComponent() testCoroutineDispatchers.registerIdlingResource() @@ -355,34 +352,6 @@ class OptionsFragmentTest { } } - @Test - fun testOptionsFragment_featureEnabled_appLanguageOptionIsDisplayed() { - launch( - createOptionActivityIntent( - internalProfileId = 0, - isFromNavigationDrawer = true - ) - ).use { - testCoroutineDispatchers.runCurrent() - onView(withId(R.id.app_language_text_view)).check(matches(isDisplayed())) - } - } - - @Test - fun testOptionsFragment_featureDisabled_appLanguageOptionIsNotDisplayed() { - TestPlatformParameterModule.forceEnableLanguageSelectionUi(false) - - launch( - createOptionActivityIntent( - internalProfileId = 0, - isFromNavigationDrawer = true - ) - ).use { - testCoroutineDispatchers.runCurrent() - onView(withId(R.id.app_language_text_view)).check(doesNotExist()) - } - } - @Test fun testOptionsFragment_defaultAudioLanguageIsDisplayed() { launch( 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 6334a3cb199..af0187dfe7f 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 @@ -7,10 +7,6 @@ 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.click -import androidx.test.espresso.assertion.ViewAssertions.doesNotExist -import androidx.test.espresso.assertion.ViewAssertions.matches -import androidx.test.espresso.matcher.ViewMatchers.isDisplayed -import androidx.test.espresso.matcher.ViewMatchers.withId import androidx.test.ext.junit.runners.AndroidJUnit4 import com.google.common.truth.Truth.assertThat import dagger.Component @@ -113,7 +109,6 @@ class OptionsFragmentTest { @Before fun setUp() { - TestPlatformParameterModule.forceEnableLanguageSelectionUi(true) TestPlatformParameterModule.forceEnableEditAccountsOptionsUi( ENABLE_EDIT_ACCOUNTS_OPTIONS_UI_DEFAULT_VALUE ) @@ -160,25 +155,6 @@ class OptionsFragmentTest { } } - @Test - fun testOptionsFragment_featureEnabled_appLanguageItemIsDisplayed() { - launch(createOptionActivityIntent(0, true)).use { - testCoroutineDispatchers.runCurrent() - - onView(withId(R.id.app_language_item_layout)).check(matches(isDisplayed())) - } - } - - @Test - fun testOptionsFragment_featureDisabled_appLanguageItemIsNotDisplayed() { - TestPlatformParameterModule.forceEnableLanguageSelectionUi(false) - launch(createOptionActivityIntent(0, true)).use { - testCoroutineDispatchers.runCurrent() - - onView(withId(R.id.app_language_item_layout)).check(doesNotExist()) - } - } - @Test fun testOptionsFragment_clickAppLanguage_checkLoadingTheCorrectFragment() { launch(createOptionActivityIntent(0, true)).use { 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 index 376f5abf36e..01b0f2e8036 100644 --- a/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaKenyaModule.kt +++ b/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaKenyaModule.kt @@ -15,7 +15,6 @@ import org.oppia.android.util.platformparameter.ENABLE_DOWNLOADS_SUPPORT_DEFAULT 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_LANGUAGE_SELECTION_UI_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 @@ -26,7 +25,6 @@ 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.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics import org.oppia.android.util.platformparameter.EnableLoggingLearnerStudyIds import org.oppia.android.util.platformparameter.EnablePerformanceMetricsCollection @@ -104,14 +102,6 @@ class PlatformParameterAlphaKenyaModule { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue { - return PlatformParameterValue.createDefaultParameter( - ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE - ) - } - @Provides @EnableEditAccountsOptionsUi fun provideEnableEditAccountsOptionsUi( diff --git a/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaModule.kt b/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaModule.kt index 6574762dae5..1805833253d 100644 --- a/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaModule.kt +++ b/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterAlphaModule.kt @@ -15,7 +15,6 @@ import org.oppia.android.util.platformparameter.ENABLE_DOWNLOADS_SUPPORT_DEFAULT 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_LANGUAGE_SELECTION_UI_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.EXTRA_TOPIC_TABS_UI @@ -25,7 +24,6 @@ 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.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics import org.oppia.android.util.platformparameter.EnableLoggingLearnerStudyIds import org.oppia.android.util.platformparameter.EnablePerformanceMetricsCollection @@ -101,14 +99,6 @@ class PlatformParameterAlphaModule { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue { - return PlatformParameterValue.createDefaultParameter( - ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE - ) - } - @Provides @EnableEditAccountsOptionsUi fun provideEnableEditAccountsOptionsUi( diff --git a/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterModule.kt b/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterModule.kt index 4acd5804929..c1de688e0f9 100644 --- a/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterModule.kt +++ b/domain/src/main/java/org/oppia/android/domain/platformparameter/PlatformParameterModule.kt @@ -15,7 +15,6 @@ import org.oppia.android.util.platformparameter.ENABLE_DOWNLOADS_SUPPORT_DEFAULT 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_LANGUAGE_SELECTION_UI_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 @@ -26,7 +25,6 @@ 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.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics import org.oppia.android.util.platformparameter.EnableLoggingLearnerStudyIds import org.oppia.android.util.platformparameter.EnablePerformanceMetricsCollection @@ -103,14 +101,6 @@ class PlatformParameterModule { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue { - return PlatformParameterValue.createDefaultParameter( - ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE - ) - } - @Provides @EnableEditAccountsOptionsUi fun provideEnableEditAccountsOptionsUi( diff --git a/domain/src/test/java/org/oppia/android/domain/oppialogger/LoggingIdentifierControllerTest.kt b/domain/src/test/java/org/oppia/android/domain/oppialogger/LoggingIdentifierControllerTest.kt index 6c30c8200d5..303d6f466ac 100644 --- a/domain/src/test/java/org/oppia/android/domain/oppialogger/LoggingIdentifierControllerTest.kt +++ b/domain/src/test/java/org/oppia/android/domain/oppialogger/LoggingIdentifierControllerTest.kt @@ -40,8 +40,6 @@ import org.oppia.android.util.logging.GlobalLogLevel import org.oppia.android.util.logging.LogLevel import org.oppia.android.util.logging.SyncStatusModule import org.oppia.android.util.networking.NetworkConnectionUtilDebugModule -import org.oppia.android.util.platformparameter.ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE -import org.oppia.android.util.platformparameter.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics import org.oppia.android.util.platformparameter.PlatformParameterValue import org.oppia.android.util.platformparameter.SPLASH_SCREEN_WELCOME_MSG_DEFAULT_VALUE @@ -370,14 +368,6 @@ class LoggingIdentifierControllerTest { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue { - return PlatformParameterValue.createDefaultParameter( - ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE - ) - } - @Provides @EnableLearnerStudyAnalytics fun provideLearnerStudyAnalytics(): PlatformParameterValue { diff --git a/domain/src/test/java/org/oppia/android/domain/oppialogger/OppiaLoggerTest.kt b/domain/src/test/java/org/oppia/android/domain/oppialogger/OppiaLoggerTest.kt index bf940cfe8e1..c852f30d6b4 100644 --- a/domain/src/test/java/org/oppia/android/domain/oppialogger/OppiaLoggerTest.kt +++ b/domain/src/test/java/org/oppia/android/domain/oppialogger/OppiaLoggerTest.kt @@ -42,8 +42,6 @@ import org.oppia.android.util.logging.GlobalLogLevel import org.oppia.android.util.logging.LogLevel import org.oppia.android.util.logging.SyncStatusModule import org.oppia.android.util.networking.NetworkConnectionUtilDebugModule -import org.oppia.android.util.platformparameter.ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE -import org.oppia.android.util.platformparameter.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics import org.oppia.android.util.platformparameter.PlatformParameterValue import org.oppia.android.util.platformparameter.SPLASH_SCREEN_WELCOME_MSG_DEFAULT_VALUE @@ -391,14 +389,6 @@ class OppiaLoggerTest { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue { - return PlatformParameterValue.createDefaultParameter( - ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE - ) - } - @Provides @EnableLearnerStudyAnalytics fun provideLearnerStudyAnalytics(): PlatformParameterValue { diff --git a/testing/src/main/java/org/oppia/android/testing/platformparameter/TestPlatformParameterModule.kt b/testing/src/main/java/org/oppia/android/testing/platformparameter/TestPlatformParameterModule.kt index 9341414bfd8..6874912d8ec 100644 --- a/testing/src/main/java/org/oppia/android/testing/platformparameter/TestPlatformParameterModule.kt +++ b/testing/src/main/java/org/oppia/android/testing/platformparameter/TestPlatformParameterModule.kt @@ -13,7 +13,6 @@ import org.oppia.android.util.platformparameter.ENABLE_DOWNLOADS_SUPPORT_DEFAULT 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_LANGUAGE_SELECTION_UI_DEFAULT_VALUE import org.oppia.android.util.platformparameter.ENABLE_PERFORMANCE_METRICS_COLLECTION_DEFAULT_VALUE import org.oppia.android.util.platformparameter.EnableAppAndOsDeprecation import org.oppia.android.util.platformparameter.EnableDownloadsSupport @@ -21,7 +20,6 @@ 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.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics import org.oppia.android.util.platformparameter.EnableLoggingLearnerStudyIds import org.oppia.android.util.platformparameter.EnablePerformanceMetricsCollection @@ -118,11 +116,6 @@ class TestPlatformParameterModule { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue = - PlatformParameterValue.createDefaultParameter(enableLanguageSelectionUi) - @Provides @EnableEditAccountsOptionsUi fun provideEnableEditAccountsOptionsUi(): PlatformParameterValue = @@ -272,7 +265,6 @@ class TestPlatformParameterModule { companion object { private var enableDownloadsSupport = ENABLE_DOWNLOADS_SUPPORT_DEFAULT_VALUE - private var enableLanguageSelectionUi = ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE private var enableEditAccountsOptionsUi = ENABLE_EDIT_ACCOUNTS_OPTIONS_UI_DEFAULT_VALUE private var enableLearnerStudyAnalytics = LEARNER_STUDY_ANALYTICS_DEFAULT_VALUE private var enableFastLanguageSwitchingInLesson = @@ -289,18 +281,11 @@ class TestPlatformParameterModule { NPS_SURVEY_MINIMUM_AGGREGATE_LEARNING_TIME_IN_A_TOPIC_IN_MINUTES_DEFAULT_VALUE private var gracePeriodInDays = NPS_SURVEY_GRACE_PERIOD_IN_DAYS_DEFAULT_VALUE - /** Enables forcing [EnableLanguageSelectionUi] platform parameter flag from tests. */ @VisibleForTesting(otherwise = VisibleForTesting.NONE) fun forceEnableDownloadsSupport(value: Boolean) { enableDownloadsSupport = value } - /** Enables forcing [EnableLanguageSelectionUi] platform parameter flag from tests. */ - @VisibleForTesting(otherwise = VisibleForTesting.NONE) - fun forceEnableLanguageSelectionUi(value: Boolean) { - enableLanguageSelectionUi = value - } - /** Enables forcing [EnableEditAccountsOptionsUI] platform parameter flag from tests. */ @VisibleForTesting(otherwise = VisibleForTesting.NONE) fun forceEnableEditAccountsOptionsUi(value: Boolean) { @@ -352,7 +337,6 @@ class TestPlatformParameterModule { @VisibleForTesting(otherwise = VisibleForTesting.NONE) fun reset() { enableDownloadsSupport = ENABLE_DOWNLOADS_SUPPORT_DEFAULT_VALUE - enableLanguageSelectionUi = ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE enableEditAccountsOptionsUi = ENABLE_EDIT_ACCOUNTS_OPTIONS_UI_DEFAULT_VALUE enableLearnerStudyAnalytics = LEARNER_STUDY_ANALYTICS_DEFAULT_VALUE enableFastLanguageSwitchingInLesson = FAST_LANGUAGE_SWITCHING_IN_LESSON_DEFAULT_VALUE diff --git a/utility/src/main/java/org/oppia/android/util/platformparameter/PlatformParameterConstants.kt b/utility/src/main/java/org/oppia/android/util/platformparameter/PlatformParameterConstants.kt index 46121ebf7d9..4648120ab79 100644 --- a/utility/src/main/java/org/oppia/android/util/platformparameter/PlatformParameterConstants.kt +++ b/utility/src/main/java/org/oppia/android/util/platformparameter/PlatformParameterConstants.kt @@ -65,7 +65,6 @@ const val SYNC_UP_WORKER_TIME_PERIOD_IN_HOURS = "sync_up_worker_time_period" * [PlatformParameterSyncUpWorker] will run again. */ const val SYNC_UP_WORKER_TIME_PERIOD_IN_HOURS_DEFAULT_VALUE = 12 - /** * Qualifier for the platform parameter that controls whether to cache LaTeX rendering using Glide. */ diff --git a/utility/src/test/java/org/oppia/android/util/logging/SyncStatusManagerImplTest.kt b/utility/src/test/java/org/oppia/android/util/logging/SyncStatusManagerImplTest.kt index 52d32d11f2b..aaf4eff062c 100644 --- a/utility/src/test/java/org/oppia/android/util/logging/SyncStatusManagerImplTest.kt +++ b/utility/src/test/java/org/oppia/android/util/logging/SyncStatusManagerImplTest.kt @@ -23,8 +23,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.networking.NetworkConnectionUtilDebugModule -import org.oppia.android.util.platformparameter.ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE -import org.oppia.android.util.platformparameter.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLearnerStudyAnalytics import org.oppia.android.util.platformparameter.PlatformParameterValue import org.oppia.android.util.platformparameter.SPLASH_SCREEN_WELCOME_MSG_DEFAULT_VALUE @@ -109,14 +107,6 @@ class SyncStatusManagerImplTest : SyncStatusManagerTestBase() { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue { - return PlatformParameterValue.createDefaultParameter( - ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE - ) - } - @Provides @EnableLearnerStudyAnalytics fun provideLearnerStudyAnalytics(): PlatformParameterValue { 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 dcac9f91ee9..30992f7132c 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 @@ -25,8 +25,6 @@ import org.oppia.android.util.logging.LoggerModule import org.oppia.android.util.logging.SyncStatusModule import org.oppia.android.util.logging.performancemetrics.PerformanceMetricsEventLogger import org.oppia.android.util.networking.NetworkConnectionUtilDebugModule -import org.oppia.android.util.platformparameter.ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE -import org.oppia.android.util.platformparameter.EnableLanguageSelectionUi import org.oppia.android.util.platformparameter.EnableLoggingLearnerStudyIds import org.oppia.android.util.platformparameter.PlatformParameterValue import org.oppia.android.util.platformparameter.SPLASH_SCREEN_WELCOME_MSG_DEFAULT_VALUE @@ -99,14 +97,6 @@ class LogReportingModuleTest { ) } - @Provides - @EnableLanguageSelectionUi - fun provideEnableLanguageSelectionUi(): PlatformParameterValue { - return PlatformParameterValue.createDefaultParameter( - ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE - ) - } - @Provides @EnableLoggingLearnerStudyIds fun provideLoggingLearnerStudyIds(): PlatformParameterValue {