Commit c6656ebc authored by Anastasia Helfinstein's avatar Anastasia Helfinstein Committed by Commit Bot

[Switch Access] Set recovery state directly

Bug: None
Change-Id: I1e74a496b861354f9b5e83d74610b87c491af991
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1904536Reviewed-by: default avatarAran Gilman <gilmanmh@google.com>
Commit-Queue: Anastasia Helfinstein <anastasi@google.com>
Cr-Commit-Position: refs/heads/master@{#713673}
parent 8940ca98
......@@ -355,11 +355,10 @@ class NavigationManager {
}
}
const desktop = RootNodeWrapper.buildDesktopTree(this.desktop_);
const nextNode = desktop.firstChild.automationNode;
if (nextNode) {
this.moveTo_(nextNode);
}
// If there is no valid node in the group stack, go to the desktop.
this.group_ = RootNodeWrapper.buildDesktopTree(this.desktop_);
this.node_ = this.group_.firstChild;
this.groupStack_ = [];
}
/**
......
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