예제 #1
0
  /* Notifies the window manager about a broken input channel.
   *
   * Called by the InputManager.
   */
  public void notifyInputChannelBroken(InputWindowHandle inputWindowHandle) {
    if (inputWindowHandle == null) {
      return;
    }

    synchronized (mService.mWindowMap) {
      WindowState windowState = (WindowState) inputWindowHandle.windowState;
      if (windowState != null) {
        Slog.i(WindowManagerService.TAG, "WINDOW DIED " + windowState);
        mService.removeWindowLocked(windowState.mSession, windowState);
      }
    }
  }