Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Revert^2 "Add API for Custom IME Switcher button visibility"

This is a follow up to the IME Switcher revamp [1] and the ability to
to request hiding the IME navigation bar [2].

The visibility of the IME Switcher button is decided by the system. If
the button should be visible in the IME navigation bar, but this bar was
requested hidden by the IME itself, then it is the responsibility of the
IME to draw an equivalent Custom IME Switcher button.

This adds a new API for IMEs to be notified when the requested
visibility of a Custom IME Switcher button changes.

  [1]: I1005cb6b10682f3e91a7ed847c290fcc206b5faa
  [2]: I8793db69fb846046300d5a56b3b0060138ef4cd5

Flag: android.view.inputmethod.ime_switcher_revamp_api
Bug: 358031444
Test: atest InputMethodServiceTest#testOnCustomImeSwitcherButtonRequestedVisible_gestureNav
  InputMethodServiceTest#testOnCustomImeSwitcherButtonRequestedVisible_threeButtonNav
Change-Id: I336c1329c4159e9e9a7d4270cdb20c426a506b83
parent 8508c54d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment