Made tablet mode switch shortcut and test API work on the device
* Introduced TabletModeBehavior struct that controls how TabletModeController controls tablet mode. * Separate Forced mode, test mode and Dev mode (shortcut) as they requires slightly different behaviors. * Remove the debug code from accelerometer reader and move the test handling code to TabletModeController. Bug: 963990 Test: manual. enable debug shortcut and ctrl-alt-shit-t on the device. Change-Id: I4aeeb8f5c20991c9f46e855538e4d1970ca4cc02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1655039 Commit-Queue: Mitsuru Oshima <oshima@chromium.org> Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#672773}
Showing
This diff is collapsed.
Please register or sign in to comment