Fix LaunchMultipleBubbleTest faliure when running twice
The root cause is that BubbleController#onThemeChanged inflates the overflow bubbles unexpectedly, which leads to Bubble launch failure. If the overfolow bubble is inflated unexpectedly before the bubble launch, BubbleController thought it's inflated and tried to select and expand the bubble without updating BubbleData. This CL fixes the issue by skipping inflation overflow bubbles for the #onThemeChanged case. Fix: 430273288 Test: atest LaunchMultipleBubbleTest Test: atest DismissExpandedBubbleViaBubbleBarTest Test: atest DismissAllCollapsedBubbleAppsTest Test: atest WMShellRobolectricTests:BubbleControllerTest Test: atest WMShellMultivalentTestsOnDevice:BubbleControllerTest Flag: EXEMPT bugfix Change-Id: I3ae0959ac50868522cc61a288d5eab25e0c01c44
Loading
Please register or sign in to comment