Skip to content

Commit f2f5ec5

Browse files
Modified feature flag names to reflect those on oppia web
1 parent 5075c54 commit f2f5ec5

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

utility/src/main/java/org/oppia/android/util/platformparameter/FeatureFlagConstants.kt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import javax.inject.Qualifier
1919
@Qualifier annotation class EnableDownloadsSupport
2020

2121
/** Name of the feature flag that controls whether to enable downloads support. */
22-
const val DOWNLOADS_SUPPORT = "downloads_support"
22+
const val DOWNLOADS_SUPPORT = "android_enable_downloads_support"
2323

2424
/** Default value for feature flag corresponding to [EnableDownloadsSupport]. */
2525
const val ENABLE_DOWNLOADS_SUPPORT_DEFAULT_VALUE = false
@@ -38,7 +38,7 @@ const val ENABLE_LANGUAGE_SELECTION_UI_DEFAULT_VALUE = true
3838
annotation class EnableExtraTopicTabsUi
3939

4040
/** Name of the feature flag that controls whether to enable the extra topics tab UI. */
41-
const val EXTRA_TOPIC_TABS_UI = "extra_topic_tabs_ui"
41+
const val EXTRA_TOPIC_TABS_UI = "android_enable_extra_topic_tabs_ui"
4242

4343
/** Default value for the feature flag corresponding to [EnableExtraTopicTabsUi]. */
4444
const val ENABLE_EXTRA_TOPIC_TABS_UI_DEFAULT_VALUE = false
@@ -54,7 +54,7 @@ annotation class EnableLearnerStudyAnalytics
5454
* Name of the feature flag that controls the visibility of [ProfileAndDeviceIdActivity]
5555
* and working of learner study related analytics logging.
5656
*/
57-
const val LEARNER_STUDY_ANALYTICS = "learner_study_analytics"
57+
const val LEARNER_STUDY_ANALYTICS = "android_enable_learner_study_analytics"
5858

5959
/**
6060
* Default value of the feature flag that controls the visibility of [ProfileAndDeviceIdActivity]
@@ -72,7 +72,7 @@ const val LEARNER_STUDY_ANALYTICS_DEFAULT_VALUE = false
7272
@Qualifier annotation class EnableFastLanguageSwitchingInLesson
7373

7474
/** The feature flag name corresponding to [EnableFastLanguageSwitchingInLesson]. */
75-
const val FAST_LANGUAGE_SWITCHING_IN_LESSON = "fast_language_switching_in_lesson"
75+
const val FAST_LANGUAGE_SWITCHING_IN_LESSON = "android_enable_fast_language_switching_in_lesson"
7676

7777
/**
7878
* The default enabled state for the feature corresponding to [EnableFastLanguageSwitchingInLesson].
@@ -88,7 +88,7 @@ const val FAST_LANGUAGE_SWITCHING_IN_LESSON_DEFAULT_VALUE = false
8888
@Qualifier annotation class EnableLoggingLearnerStudyIds
8989

9090
/** The feature flag name corresponding to [EnableLoggingLearnerStudyIds]. */
91-
const val LOGGING_LEARNER_STUDY_IDS = "logging_learner_study_ids"
91+
const val LOGGING_LEARNER_STUDY_IDS = "android_enable_logging_learner_study_ids"
9292

9393
/** The default enabled state for the feature corresponding to [EnableLoggingLearnerStudyIds]. */
9494
const val LOGGING_LEARNER_STUDY_IDS_DEFAULT_VALUE = false
@@ -98,7 +98,7 @@ const val LOGGING_LEARNER_STUDY_IDS_DEFAULT_VALUE = false
9898
annotation class EnableEditAccountsOptionsUi
9999

100100
/** Name of the feature flag that controls whether to enable the edit account options UI. */
101-
const val EDIT_ACCOUNTS_OPTIONS_UI = "edit_accounts_options_ui"
101+
const val EDIT_ACCOUNTS_OPTIONS_UI = "android_enable_edit_accounts_options_ui"
102102

103103
/** Default value for the feature flag corresponding to [EnableEditAccountsOptionsUi]. */
104104
const val ENABLE_EDIT_ACCOUNTS_OPTIONS_UI_DEFAULT_VALUE = false
@@ -108,7 +108,7 @@ const val ENABLE_EDIT_ACCOUNTS_OPTIONS_UI_DEFAULT_VALUE = false
108108
annotation class EnablePerformanceMetricsCollection
109109

110110
/** Name of the feature flag that controls whether to record performance metrics. */
111-
const val ENABLE_PERFORMANCE_METRICS_COLLECTION = "enable_performance_metrics_collection"
111+
const val ENABLE_PERFORMANCE_METRICS_COLLECTION = "android_enable_performance_metrics_collection"
112112

113113
/** Default value for whether to record performance metrics. */
114114
const val ENABLE_PERFORMANCE_METRICS_COLLECTION_DEFAULT_VALUE = false
@@ -118,7 +118,7 @@ const val ENABLE_PERFORMANCE_METRICS_COLLECTION_DEFAULT_VALUE = false
118118
annotation class EnableSpotlightUi
119119

120120
/** Name of the feature flag that controls whether to enable the spotlight UI. */
121-
const val SPOTLIGHT_UI = "spotlight_ui"
121+
const val SPOTLIGHT_UI = "android_enable_spotlight_ui"
122122

123123
/** Default value for the feature flag corresponding to [EnableSpotlightUi]. */
124124
const val ENABLE_SPOTLIGHT_UI_DEFAULT_VALUE = false
@@ -134,7 +134,8 @@ annotation class EnableInteractionConfigChangeStateRetention
134134
* Name of the feature flag that controls whether input interaction state is correctly retained
135135
* across configuration changes.
136136
*/
137-
const val INTERACTION_CONFIG_CHANGE_STATE_RETENTION = "interaction_config_change_state_retention"
137+
const val INTERACTION_CONFIG_CHANGE_STATE_RETENTION =
138+
"android_enable_interaction_config_change_state_retention"
138139

139140
/**
140141
* Default value for feature flag corresponding to [EnableInteractionConfigChangeStateRetention].
@@ -149,7 +150,7 @@ const val ENABLE_INTERACTION_CONFIG_CHANGE_STATE_RETENTION_DEFAULT_VALUE = false
149150
annotation class EnableAppAndOsDeprecation
150151

151152
/** Name of the feature flag that controls whether to enable app and os deprecation. */
152-
const val APP_AND_OS_DEPRECATION = "app_and_os_deprecation"
153+
const val APP_AND_OS_DEPRECATION = "android_enable_app_and_os_deprecation"
153154

154155
/**
155156
* Default value for the feature flag corresponding to [EnableAppAndOsDeprecation].

0 commit comments

Comments
 (0)