Fix WM input limitations on secondary displays (3/4)
One DisplayContent contains one InputMonitor now. - Change setInputWindow of InputManagerService updated by displayId, so Window Handles in InputDispather can be updated by each DisplayContent. - Only exist one focus in current state, reset it if in removed DisplayContent, will be updated by default display or focused display. - Add displayId parameter for createInputConsumer and destroyInputConsumer, so InputConsumer from PIP, RecentApp and Wallpaper can be supported in multi-display. Bug: 111363643 Test: atest WindowManagerSmokeTest ActivityManagerMultiDisplayTests Test: atest com.android.server.wm.DisplayContentTests Test: atest libinput_tests inputflinger_tests Change-Id: I999c355be1789af5759f00206475d004e10116e3
Loading
Please register or sign in to comment