Fixes issue with missing overflow bubble
The problem had two parts: 1 When BubbleBarViewController removed all views, including the overflow bubble, it did not update the value of the mOverflowAdded field 2 BubbleBarController removed all views upon receiving an initial update This CL addresses both issues. Test: Manual. Ensure the overflow bubble is present in the bubble bar. Rotate the device and verify that the overflow bubble remains visible. Flag: com.android.wm.shell.enable_bubble_bar Fixes: 380281090 Change-Id: I1810671e6bfc5b8b402433697b07f3de2e612ed7
This commit is contained in:
1 parent
5f5b1a3f56
commit
609e9642bc
2 files changed
+2
No files matched your search
@@ -318,6 +318,7 @@ public class BubbleBarController extends IBubblesListener.Stub {
|
||||
// clear restored state
|
||||
mBubbleBarViewController.removeAllBubbles();
|
||||
mBubbles.clear();
|
||||
mBubbleBarViewController.showOverflow(update.showOverflow);
|
||||
}
|
||||
|
||||
BubbleBarBubble bubbleToSelect = null;
|
||||
|
||||
Reference in new issue
Block a user