Commit 28e5c7ea authored by Anatoliy Potapchuk's avatar Anatoliy Potapchuk Committed by Commit Bot

[Kiosk] Reset the configration of tts preferences

During profile startup, some of the a11y preferences were not reset --
those related to the mutualof tts engines used by extensions. Here
we reset them as well.

Bug: 1049566
Change-Id: If4c57cc3a165871eaa812af58e6d698c25be36e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360018Reviewed-by: default avatarAnqing Zhao <anqing@chromium.org>
Commit-Queue: Anatoliy Potapchuk <apotapchuk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799060}
parent 58e38337
...@@ -20,7 +20,8 @@ namespace { ...@@ -20,7 +20,8 @@ namespace {
// The list of prefs that are reset on the start of each kiosk session. // The list of prefs that are reset on the start of each kiosk session.
const char* const kPrefsToReset[] = {"settings.accessibility", // ChromeVox const char* const kPrefsToReset[] = {"settings.accessibility", // ChromeVox
"settings.a11y", "ash.docked_magnifier"}; "settings.a11y", "ash.docked_magnifier",
"settings.tts"};
// This vector is used in tests when they want to replace |kPrefsToReset| with // This vector is used in tests when they want to replace |kPrefsToReset| with
// their own list. // their own list.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment