/**
   * Handle message sent by {@link #hideLocked()}
   *
   * @see #HIDE
   */
  private void handleHide() {
    synchronized (KeyguardViewMediator.this) {
      if (DEBUG) Log.d(TAG, "handleHide");
      if (mWakeAndHandOff.isHeld()) {
        Log.w(TAG, "attempt to hide the keyguard while waking, ignored");
        return;
      }

      // only play "unlock" noises if not on a call (since the incall UI
      // disables the keyguard)
      if (TelephonyManager.EXTRA_STATE_IDLE.equals(mPhoneState)) {
        playSounds(false);
      }

      mKeyguardViewManager.hide();
      mShowing = false;
      adjustUserActivityLocked();
      adjustStatusBarLocked();
    }
  }