Center bubbles in landscape

BubbleController - listen for orientation change
BubbleStackView, on change - update effective row width; if expanded,
redraw bubble row and pointer

Fixes: 135472021
Bug: 135487618
Test: manual (bubbles remain centered going between portrait and landscape)
Test: manual (bubbles expand to correct positions in portrait and landscape)
Test: atest SystemUITests
Change-Id: I815cd426e26b84b8bd8736dcf16f2119584ecf30
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
index 5d61179..72d45c7 100644
--- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
+++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
@@ -287,8 +287,8 @@
     @Override
     public void onConfigChanged(Configuration newConfig) {
         if (mStackView != null && newConfig != null && newConfig.orientation != mOrientation) {
-            mStackView.onOrientationChanged();
             mOrientation = newConfig.orientation;
+            mStackView.onOrientationChanged(newConfig.orientation);
         }
     }