Merge "Added an onClick listener to the bubble bar." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
bd10730a57
@@ -183,6 +183,11 @@ public class BubbleBarViewController {
|
||||
if (!Flags.enableOptionalBubbleOverflow()) {
|
||||
showOverflow(true);
|
||||
}
|
||||
if (!mBubbleStashController.isTransientTaskBar()) {
|
||||
// TODO(b/380274085) for transient taskbar mode, the click is also handled by the input
|
||||
// consumer. This check can be removed once b/380274085 is fixed.
|
||||
mBarView.setOnClickListener(v -> setExpanded(!mBarView.isExpanded()));
|
||||
}
|
||||
mBarView.addOnLayoutChangeListener(
|
||||
(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> {
|
||||
mTaskbarInsetsController.onTaskbarOrBubblebarWindowHeightOrInsetsChanged();
|
||||
|
||||
Reference in New Issue
Block a user