Apps want to hide their bubble when/if the user is viewing the same content outside of the bubble (e.g. bubble for alice, user opens up conversation in main app for alice). Devs can set a flag on BubbleMetadata to request this behavior. The match of bubble to activity is done via a locusId. So apps must set a locusId on the notification & activity to make this match (done in other CL). Bug: 170267239 Test: atest NotificationManagerTest NotificationTest (see CTS CL) Change-Id: I9f2efd3fd1ba4abdd8e579b51245d39a6be9186f
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