Fix regression from ag/6938053 where the pointer is in wrong place

Bug: 130313953
Test: manual / visual
Change-Id: I80122ac035637d47690ba361086b554016c2c374
This commit is contained in:
Mady Mellor
2019-04-10 16:59:03 -07:00
parent 9cca9b4e8a
commit 52b1ac646e

View File

@@ -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.