[KeyboardMap] Updating Windows impl to prioritize current layout
The API used to retrieve the list of layouts does not reflect the order of the layouts in the control panel. I don't see another Win32 API which would give us that ordering so I am now grabbing the current layout and swapping it with the first element to ensure it is evaluated first. BUG=832811 Change-Id: Icef22303e38be4b2680ad8636ba408fcb81239a2 Reviewed-on: https://chromium-review.googlesource.com/1130455Reviewed-by:Gary Kacmarcik <garykac@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#573537}
Showing
Please register or sign in to comment