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

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

Reject pseudo userId in IMM#get*InputMethodList()

As a preparation before removing the dependency on ImfLock.class from
IME query APIs defined in InputMethodManager, this CL aims to clarify
that pseudo userIds (e.g. UserHandle#USER_ALL) have never been
supported in these APIs.

Note that this refinement should be invisible to app developers, who
cannot directly pass the userId to the underlying IPC methods such as

  IInputMethodManager#getCurrentInputMethodInfoAsUser().

Bug: 354323416
Test: presubmit
Flag: EXEMPT refactor
Change-Id: I93e6a6ba80cfe393b2d39ea03a5d7f97c091aed3
parent ebb7fb76
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