summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2019-04-11 06:57:25 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-04-11 06:57:25 +0000
commit9aae324a2a151cf96cd82e79f675713e7f13d68f (patch)
tree7105308ebd87f36ca24ce1b2012b9ef20e7fd60b
parent2d4b343b69a8c9d86216fea772eddaedaa474bb2 (diff)
parent52b1ac646e78530809dede8d40679c32704f6910 (diff)
Merge "Fix regression from ag/6938053 where the pointer is in wrong place" into qt-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java
index 6b21526a70c9..285d4aab4f66 100644
--- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java
+++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java
@@ -229,6 +229,9 @@ public class BubbleExpandedView extends LinearLayout implements View.OnClickList
true /* singleTaskInstance */);
addView(mActivityView);
+ // Make sure pointer is below activity view
+ bringChildToFront(mPointerView);
+
setOnApplyWindowInsetsListener((View view, WindowInsets insets) -> {
// Keep track of IME displaying because we should not make any adjustments that might
// cause a config change while the IME is displayed otherwise it'll loose focus.