Loading services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +8 −6 Original line number Diff line number Diff line Loading @@ -350,14 +350,16 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. @BinderThread private int resolveImeUserIdLocked(@UserIdInt int callingProcessUserId, @NonNull IInputMethodClient client) { if (mConcurrentMultiUserModeEnabled && callingProcessUserId == UserHandle.USER_SYSTEM) { if (mConcurrentMultiUserModeEnabled) { if (callingProcessUserId == UserHandle.USER_SYSTEM) { final var clientState = mClientController.getClient(client.asBinder()); return mUserManagerInternal.getUserAssignedToDisplay( clientState.mSelfReportedDisplayId); } return callingProcessUserId; } return mCurrentImeUserId; } /** * Figures out the target IME user ID associated with the given {@code displayId}. Loading Loading
services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +8 −6 Original line number Diff line number Diff line Loading @@ -350,14 +350,16 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. @BinderThread private int resolveImeUserIdLocked(@UserIdInt int callingProcessUserId, @NonNull IInputMethodClient client) { if (mConcurrentMultiUserModeEnabled && callingProcessUserId == UserHandle.USER_SYSTEM) { if (mConcurrentMultiUserModeEnabled) { if (callingProcessUserId == UserHandle.USER_SYSTEM) { final var clientState = mClientController.getClient(client.asBinder()); return mUserManagerInternal.getUserAssignedToDisplay( clientState.mSelfReportedDisplayId); } return callingProcessUserId; } return mCurrentImeUserId; } /** * Figures out the target IME user ID associated with the given {@code displayId}. Loading