Listen to changes to touch input devices
In https://codereview.chromium.org/2964823002 the OobeDisplayChooser started using the DeviceDataManager to look for touchscreen devices when searching for a good primary display to use during OOBE. On device cold boot the DeviceDataManager has not yet found any touchscreen devices at the time OobeUi::ShowOobeUI() is called (likely due to lower level systems not being fully initialized). This CL make LoginDisplayHostImpl an observer of changes to connected touchscreen devices, re-triggering the OobeDisplayChooser when the DeviceDataManager is notified of the connected touchscreens. This overcomes the timing issues on cold boot. Bug: 738885 Change-Id: Iae488ddc9428b7c5e74d36cf18e35ba3d1235bbd Reviewed-on: https://chromium-review.googlesource.com/569958Reviewed-by:Jacob Dufault <jdufault@chromium.org> Commit-Queue: Felix Ekblom <felixe@chromium.org> Cr-Commit-Position: refs/heads/master@{#487007}
Showing
Please register or sign in to comment