diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java index 2587369cf0f5a..eb4ba6f682af8 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java @@ -776,6 +776,10 @@ public class BubbleController implements ConfigurationController.ConfigurationLi } } + boolean inLandscape() { + return mOrientation == Configuration.ORIENTATION_LANDSCAPE; + } + /** * Set a listener to be notified of bubble expand events. */ diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleOverflowActivity.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleOverflowActivity.java index 08ec789bba6aa..61e8ecfb36259 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleOverflowActivity.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleOverflowActivity.java @@ -70,6 +70,9 @@ public class BubbleOverflowActivity extends Activity { } @Override public boolean canScrollVertically() { + if (mBubbleController.inLandscape()) { + return super.canScrollVertically(); + } return false; } }