Show / hide the "update" dot on bubbles in bubble bar
Updates BubbleView to include logic to render the update dot on a bubble. This only shows for BubbleBarBubbles, not the overflow. We only show the dot (and the badge) when: - the bubble has new content / appropriate flags set - AND the bubbles are expanded OR on the first bubble when bubbles are collapsed - AND when the flyout is not animating (this bit doesn't exist yet) If a bubble has a dot and is opened, the dot will animate away. To do this, we update the flags set on a bubble. The flag needs to be set on WMShell side as well as Launcher side. When a bubble is shown by WMShell, it automatically updates the flag. This CL adds code to update the flag on Launcher side when we call into WMShell to show the bubble. Test: manual Bug: 269670235 Change-Id: I32f652effa9a73c567981aa5a2a5864e9c3c0c66
Loading
Please register or sign in to comment