Loading services/core/java/com/android/server/input/InputManagerService.java +5 −0 Original line number Diff line number Diff line Loading @@ -1452,6 +1452,11 @@ public class InputManagerService extends IInputManager.Stub nativeSetFocusedDisplay(mPtr, displayId); } /** Clean up input window handles of the given display. */ public void onDisplayRemoved(int displayId) { nativeSetInputWindows(mPtr, null /* windowHandles */, displayId); } @Override public void requestPointerCapture(IBinder windowToken, boolean enabled) { if (mFocusedWindow == null || mFocusedWindow.asBinder() != windowToken) { Loading services/core/java/com/android/server/wm/InputMonitor.java +1 −0 Original line number Diff line number Diff line Loading @@ -168,6 +168,7 @@ final class InputMonitor { void onDisplayRemoved() { mHandler.removeCallbacks(mUpdateInputWindows); mService.mInputManager.onDisplayRemoved(mDisplayId); mDisplayRemoved = true; } Loading Loading
services/core/java/com/android/server/input/InputManagerService.java +5 −0 Original line number Diff line number Diff line Loading @@ -1452,6 +1452,11 @@ public class InputManagerService extends IInputManager.Stub nativeSetFocusedDisplay(mPtr, displayId); } /** Clean up input window handles of the given display. */ public void onDisplayRemoved(int displayId) { nativeSetInputWindows(mPtr, null /* windowHandles */, displayId); } @Override public void requestPointerCapture(IBinder windowToken, boolean enabled) { if (mFocusedWindow == null || mFocusedWindow.asBinder() != windowToken) { Loading
services/core/java/com/android/server/wm/InputMonitor.java +1 −0 Original line number Diff line number Diff line Loading @@ -168,6 +168,7 @@ final class InputMonitor { void onDisplayRemoved() { mHandler.removeCallbacks(mUpdateInputWindows); mService.mInputManager.onDisplayRemoved(mDisplayId); mDisplayRemoved = true; } Loading