Merge "Fix regression from ag/6938053 where the pointer is in wrong place" into qt-dev

This commit is contained in:
Mady Mellor
2019-04-11 06:57:25 +00:00
committed by Android (Google) Code Review

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.