Update IMMI#switchKeyboardLayout() to take display ID and targetWindowToken
To support multi-session IME, IMMI needs to know the window to which the keyboard layout switch is dispatched, and the target window token. This CL just passes unused parameters to IMMS. It doesn't change the behavior of the code, thus no flag is required. The passed parameters will be used by another CL to implement the multi-session IME, and that CL will be protected by the concurrent_input_methods feature flag. Bug: 305829876 Test: atest WmTests && atest FrameworksServicesTests Change-Id: Ie15b29247304e027dfef58ef683e5139f2ee4d35
Loading
Please register or sign in to comment