Video Tutorials : Fixed default language for user
This CL fixes two issues. 1 - The supported languages are converted from array to list at JNI boundary. 2 - The preferred language was always falling back to the default language from finch, which caused the language picker to never show up. So, in the new fix, the preferred language will be empty if the user hasn't set yet. However, showing the tutorial promos on the UI needs a language. For that language, we will use a default language from finch. Bug: 1142642 Change-Id: I3126b0d1bd815055ccda7a77903ca05cca72b75b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500266 Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Reviewed-by:Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#820997}
Showing
Please register or sign in to comment