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

Skip to content
Commit a5ebd6b7 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove ZeroJankProxy.Callback#isInputShownLocked()

This reworks our previous CL [1], which addressed an observable
unintentional behavior change when ZeroJankProxy is enabled, in a way
that ZeroJankProxy.Callback does not need to have

  ZeroJankProxy.Callback#isInputShownLocked(),

which will soon need to become concurrent multi-user aware.

The problem is when it becomes concurrent multi-user aware,
ZeroJankProxy needs to know whose IME is in use, which is tricky
because the IME user ID is dynamically resolved with

  InputMethodManagerService#resolveImeUserIdLocked().

The core logic should remain unchanged.

 [1]: Ie2f262128eb32db5a7922373fdfaebd2945ea36a
      2aed6844

Bug: 349904272
Test: presubmit
Flag: android.view.inputmethod.use_zero_jank_proxy
Change-Id: Ib719f6018965c3554c8c2d8c2050ad51962d8a25
parent 755a500c
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