Commit 05b9c543 authored by Wenzhao Zang's avatar Wenzhao Zang Committed by Commit Bot

cros: Fix missing First run UI issue

Bug: 809756
Change-Id: I1a2fed0038ea40c0bae1781ae088f686b3a9e90b
Reviewed-on: https://chromium-review.googlesource.com/959741Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542714}
parent 6c097bb5
......@@ -140,8 +140,13 @@ class DialogLauncher : public content::NotificationObserver {
auto* service =
arc::ArcVoiceInteractionFrameworkService::GetForBrowserContext(
profile_);
if (service)
if (service) {
service->StartVoiceInteractionOobe();
} else {
// Try launching the tutorial in case the voice interaction framework
// service is unavailable. See https://crbug.com/809756.
TryLaunchFirstRunDialog(profile_);
}
} else {
TryLaunchFirstRunDialog(profile_);
}
......
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