summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2017-08-11 18:13:24 -0700
committerWinson Chung <winsonc@google.com>2017-08-11 18:13:24 -0700
commit0a2f34fd20b8b51c7f291d3dfcfaa3781d1c7ca3 (patch)
treec6845e9ef7f5ec17c264a8ee496f6accd6509319 /tools/aapt2/java/JavaClassGenerator.cpp
parent06668b5f739de23487ed0e8258923581d9585d3f (diff)
Workaround the IME dismissing when dragging PiP.
- When the IME is shown, skip showing the dismiss scrim in the menu because starting the activity will cause a window focus change, which will close the IME (it will still be covered by the dismiss overlay). This is slightly inconsistent from dragging while the IME is not visible, but is preferable to having the IME close. - Also, use the inset bounds to calculate the fraction, which aligns closer to the dismiss check (which is also based on the display bounds and not the current (possibly inset) movement bounds. Bug: 37655837 Test: Drag PIP over IME, ensure that it does not hide the IME. Change-Id: I86228371effce2d962ab4367497f5b1bf32456ec
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions