Skip to content

Add check to only cache instructions if the language setup is supported by Voice API#1610

Merged
Guardiola31337 merged 1 commit into
masterfrom
pg-1608-voice-instruction-ukrainian-issue
Dec 6, 2018
Merged

Add check to only cache instructions if the language setup is supported by Voice API#1610
Guardiola31337 merged 1 commit into
masterfrom
pg-1608-voice-instruction-ukrainian-issue

Conversation

@Guardiola31337
Copy link
Copy Markdown
Contributor

  • Adds check to only cache instructions if the language setup is supported by Voice API

Fixes #1608

@Guardiola31337 Guardiola31337 self-assigned this Dec 6, 2018
Copy link
Copy Markdown
Contributor

@danesfeder danesfeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Guardiola31337 one minor comment!

this.cache = cache;
}

VoiceInstructionLoader(Context context, String accessToken, Cache cache, MapboxSpeech.Builder mapboxSpeechBuilder) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT can we comment this as only for testing?

Copy link
Copy Markdown
Contributor

@danesfeder danesfeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Guardiola31337 one minor comment!

@Guardiola31337 Guardiola31337 force-pushed the pg-1608-voice-instruction-ukrainian-issue branch from 75f047e to ef0ae5f Compare December 6, 2018 15:13
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #1610 into master will increase coverage by 0.11%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1610      +/-   ##
============================================
+ Coverage     22.65%   22.76%   +0.11%     
- Complexity      700      704       +4     
============================================
  Files           189      189              
  Lines          8241     8244       +3     
  Branches        609      609              
============================================
+ Hits           1867     1877      +10     
+ Misses         6191     6184       -7     
  Partials        183      183

@Guardiola31337 Guardiola31337 merged commit ae17eca into master Dec 6, 2018
@Guardiola31337 Guardiola31337 deleted the pg-1608-voice-instruction-ukrainian-issue branch December 6, 2018 15:51
@danesfeder danesfeder mentioned this pull request Dec 16, 2018
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Defect to be fixed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants