Implement ArcImeService::EnsureCaretNotInRect.
It's left as unimplemented because Android WM handles insets by VK for most cases. However, Android WM can't move the SystemTray up for inline-reply in an Android notification because from Android WM's point of view, notificaiton is placed at (0, 0). This CL implements ArcImeService::EnsureCaretNotInRect to cover that case. This CL changes the behavior of windowed Android app with a11y keyboard. Before this CL, a position of a window is not changed by a11y keyboard visibility, but after this CL a position can be changed not to be covered by a11y keyboard. SystemTray moves up if there is a space for it. Bug: b/114115612 Test: manual - Focus on inline reply of an Android notificatioln and Change-Id: Ib666b6c269a8fc36195d30affa4c7a8a805560d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1631859Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Tetsui Ohkubo <tetsui@chromium.org> Commit-Queue: Yuichiro Hanada <yhanada@chromium.org> Cr-Commit-Position: refs/heads/master@{#664583}
Showing
Please register or sign in to comment