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

Commit e6540d2b authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Let IMMS call isKeyguardSecure() for the correct user

InputMethodManagerService has been using

  KeyguardManager#isKeyguardSecure()

to fine tune when the IME swicher icon should be shown on the lock
screen [1].  However a recent CL made that API @UserHandleAware [2],
which was not reflected in InputMethodManagerService yet.

With this CL, InputMethodManagerService can query isKeyguardSecure()
for the correct user.  A bonus is that this CL removes the direct
dependency on KeyguardManager from InputMethodManagerService.

 [1]: I2ae7fc7676e5b64d8910dbc6833d3042e8d2329a
      d2bc309f
 [2]: Ieb7217f5e1dddb65f8987242e675c3dff0a80aab
      2bdc21e6

Fix: 251459998
Test: presubmit
Change-Id: Ia29e303fe07fd876ea2ecfb937c1fb5b867a0e89
parent 8148cabc
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