1) We need a way to listen for locusId, this is done via a new listener on ShellTaskOrganizer that is informed for all task info changes. 2) When locusId for focused activity changes, check for a bubble in data that has a matching locusId & has API set 3) Add suppress/unsuppress in the state change flow and update the views TODO in later CL: - animate the view being hidden / shown; handle flyout Test: atest ShellTaskOrganizerTests BubbleDataTest BubbleXmlHelperTest (also CTS CL) Bug: 170267239 Change-Id: I5c9bd15fa8b5b326e146efdc40916454ca1c73f6
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