Esempio n. 1
0
 @Override
 protected void onStop() {
   super.onStop();
   if (progress != null) {
     progress.dismiss();
   }
 }
  /** Dismiss the recent activities dialog. */
  @Override
  public void onStop() {
    super.onStop();

    if (sStatusBar != null) {
      sStatusBar.disable(StatusBarManager.DISABLE_NONE);
    }

    // stop receiving broadcasts
    getContext().unregisterReceiver(mBroadcastReceiver);

    mHandler.postDelayed(mCleanup, 100);
  }
Esempio n. 3
0
  private void dismissDialog() {
    if (mDecor == null || !mShowing) {
      return;
    }
    ViewRoot.mDialogCount -= 1;
    try {
      mWindowManager.removeView(mDecor);
    } finally {
      mDecor = null;
      mWindow.closeAllPanels();
      onStop();
      mShowing = false;

      sendDismissMessage();
    }
  }
  /** Dismiss the recent activities dialog. */
  @Override
  public void onStop() {
    super.onStop();

    // dump extra memory we're hanging on to
    for (TextView icon : mIcons) {
      icon.setCompoundDrawables(null, null, null, null);
      icon.setTag(null);
    }

    if (sStatusBar != null) {
      sStatusBar.disable(StatusBarManager.DISABLE_NONE);
    }

    // stop receiving broadcasts
    getContext().unregisterReceiver(mBroadcastReceiver);
  }
Esempio n. 5
0
  void dismissDialog() {
    if (mDecor == null || !mShowing) {
      return;
    }

    if (mWindow.isDestroyed()) {
      Log.e(TAG, "Tried to dismissDialog() but the Dialog's window was already destroyed!");
      return;
    }

    try {
      mWindowManager.removeViewImmediate(mDecor);
    } finally {
      if (mActionMode != null) {
        mActionMode.finish();
      }
      mDecor = null;
      mWindow.closeAllPanels();
      onStop();
      mShowing = false;
      Log.d(TAG, "dismissDialog");
      sendDismissMessage();
    }
  }
 @Override
 protected void onStop() {
   progressDialogRunning = false;
   super.onStop();
 }
Esempio n. 7
0
 @Override
 protected void onStop() {
   pause();
   super.onStop();
 }
Esempio n. 8
0
 protected void onStop() {
   super.onStop();
   m1997a().m2006a();
 }
 @Override
 protected void onStop() {
   // TODO Auto-generated method stub
   super.onStop();
   Log.d("EditBox", "onStop...");
 }
Esempio n. 10
0
 protected void onStop() {
   super.onStop();
   a().d();
 }
Esempio n. 11
0
 @Override
 protected void onStop() {
   showWhileExecutingLooper.quit();
   showCalledCount = 0;
   super.onStop();
 }
 @Override
 protected void onStop() {
   mDisplayManager.unregisterDisplayListener(mDisplayListener);
   super.onStop();
 }
Esempio n. 13
0
  @Override
  protected void onStop() {
    super.onStop();

    LocalBroadcastManager.getInstance(context).unregisterReceiver(receiver);
  }