Skip to content

Commit dbab2a9

Browse files
authored
Enable voice search toggle (#7179)
Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1212058795599704?focus=true ### Description - Sets `restartAfterTimeout` and `duckAiVoiceSearch` to `TRUE` (was `INTERNAL`) - This increases the initial timeout of voice search entry and enables the Search + Duck.ai toggle for prod. ### Steps to test this PR - [ ] Perform a voice search - [ ] Verify that the “Search + Duck.ai” toggle is present - [ ] Verify that it does not timeout after a few seconds
1 parent 64b6e49 commit dbab2a9

File tree

2 files changed

+4
-4
lines changed
  • duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/feature
  • voice-search/voice-search-impl/src/main/java/com/duckduckgo/voice/impl/remoteconfig

2 files changed

+4
-4
lines changed

duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/feature/DuckChatFeature.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ interface DuckChatFeature {
112112
/**
113113
* @return `true` when the remote config has the "duckAiVoiceSearch"
114114
* sub-feature flag enabled
115-
* If the remote feature is not present defaults to `internal`
115+
* If the remote feature is not present defaults to `true`
116116
*/
117-
@Toggle.DefaultValue(DefaultFeatureValue.INTERNAL)
117+
@Toggle.DefaultValue(DefaultFeatureValue.TRUE)
118118
fun duckAiVoiceSearch(): Toggle
119119

120120
/**

voice-search/voice-search-impl/src/main/java/com/duckduckgo/voice/impl/remoteconfig/VoiceSearchFeature.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ interface VoiceSearchFeature {
3939

4040
/**
4141
* Kill switch to restart listening when ERROR_NO_MATCH occurs before speech begins
42-
* If the remote feature is not present defaults to `internal`
42+
* If the remote feature is not present defaults to `true`
4343
*/
44-
@Toggle.DefaultValue(DefaultFeatureValue.INTERNAL)
44+
@Toggle.DefaultValue(DefaultFeatureValue.TRUE)
4545
fun restartAfterTimeout(): Toggle
4646
}

0 commit comments

Comments
 (0)