1) Handle rotation 2) Initialize DisplayLayout in dagger and update when onDisplayAdded() & onDisplayRemoved() 3) Refact OneHandedTouchHandler 4) Refact OneHandedBackgroundPanelOrganizer 5) Refact OneHandedDisplayAreaOrganizer Test: atest WMShellUnitTests Bug:182899148 Bug:182633327 Bug:183172404 Bug:183489178 Bug:183559944 Bug:183065937 Bug:183005910 Bug:183063280 Bug:183162084 Bug:181423645 Bug:177497107 Change-Id: Ie7a4fa97df5f6a3963a55bd507d36e026e971bab
WM Shell Test
This contains all tests written for WM (WindowManager) Shell and it's currently divided into 3 categories
- unittest, tests against individual functions, usually @SmallTest and do not require UI automation nor real device to run
- integration, this maybe a mix of functional and integration tests. Contains tests verify the WM Shell as a whole, like talking to WM core. This usually involves mocking the window manager service or even talking to the real one. Due to this nature, test cases in this package is normally annotated as @LargeTest and runs with UI automation on real device
- flicker, similar to functional tests with its sole focus on flickerness. See WM Shell Flicker Test Package for more details