@Override
 public void onShown(IBinder windowToken) throws RemoteException {
   if (DEBUG) Log.v(TAG, "**** SHOWN CALLED ****");
   if (mShowListener != null) {
     mShowListener.onShown(windowToken);
   }
   hideScrim();
 }
 public void onScreenTurnedOn(final ShowListener showListener) {
   if (mKeyguardService != null) {
     if (DEBUG) Log.v(TAG, "onScreenTurnedOn(showListener = " + showListener + ")");
     mKeyguardService.onScreenTurnedOn(new KeyguardShowDelegate(showListener));
   } else {
     // try again when we establish a connection
     Slog.w(TAG, "onScreenTurnedOn(): no keyguard service!");
     // This shouldn't happen, but if it does, invoke the listener immediately
     // to avoid a dark screen...
     showListener.onShown(null);
   }
   mKeyguardState.screenIsOn = true;
 }