Skip to content
Commit 601f6eb6 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Revert^2 "Allow hiding the IME navigation bar"

Allow hiding the IME navigation bar

This implements a mechanism to allow IMEs to request hiding the IME
navigation bar (containing the IME collapse and IME switcher buttons)
using existing InsetsControllers API.

To make this work, the previous insetsSizeOverride for the IME set on
the system navigation bar was removed, and the IME navigation bar is now
treated as a caption bar internally, providing insets from its own
process.

Tests were fixed by providing a default implementation for
setImeCaptionBarInsetsHeight, and by handling ID_IME_CAPTION_BAR
in InsetsSource#calculateInsets.

42aaa57f

Test: atest
  InputMethodServiceTest#testRequestHideImeCaptionBar
  InputMethodServiceTest#testRequestHideThenShowImeCaptionBar
Bug: 292515843

Change-Id: I8793db69fb846046300d5a56b3b0060138ef4cd5
parent 92e3f280
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment