@Override
  protected void onPause() {
    super.onPause();

    // prevent window leak exception
    dismissProgressDialog();
  }
 @Override
 protected void onPause() {
   super.onPause();
   if (mGameView != null) {
     mGameView.pause();
   }
 }
 @Override
 protected void onPause() {
   saveLastName();
   saveFirstName();
   savePhoneNumber();
   super.onPause();
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (mGoogleApiClient.isConnected()) {
     TestManager.getInstance().stopLocationUpdates();
   }
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (Application.isUpdate) {
     openMian();
   }
 }
 @Override
 public void onPause() {
   super.onPause();
   if (nfcAdapter != null) {
     nfcAdapter.disableReaderMode(this);
   }
 }
 @Override
 public void onPause() {
   mViewPager.removeOnPageChangeListener(mOnPageChangeListener);
   mViewPager.removeOnAdapterChangeListener(mOnAdapterChangeListener);
   LocalBroadcastManager.getInstance(this).unregisterReceiver(mResultsReceiver);
   super.onPause();
 }
 @Override
 protected void onPause() {
   // Ideally a game should implement onResume() and onPause()
   // to take appropriate action when the activity looses focus
   super.onPause();
   mGLSurfaceView.onPause();
 }
 /** Stops the camera. */
 @Override
 protected void onPause() {
   super.onPause();
   if (mPreview != null) {
     mPreview.stop();
   }
 }
Beispiel #10
0
  @Override
  public void onPause() {
    super.onPause(); // always call the superclass

    // do something

  }
 @Override
 protected void onPause() {
   alarmManagement.setting.setSound(seekBar.getProgress());
   alarmManagement.setting.setVibration(aSwitch.isChecked());
   alarmManagement.setting.update();
   super.onPause();
 }
Beispiel #12
0
 @Override
 protected void onPause() {
   super.onPause();
   if (cameraView != null) {
     cameraView.disableView();
   }
 }
Beispiel #13
0
 @Override
 protected void onPause() {
   super.onPause();
   isResumed = false;
   uiHelper.onPause();
   Log.i("LoginActivity", "onPause");
 }
  @Override
  protected void onPause() {
    super.onPause();

    AnalyticsHelper.sendSearchUpdate(this, query);
    query = "";
  }
 @Override
 public void onPause() {
   super.onPause();
   mCastManager.removeVideoCastConsumer(mCastConsumer);
   mCastManager.decrementUiCounter();
   getFragmentManager().removeOnBackStackChangedListener(mBackStackChangedListener);
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (mojoMessageBroadcastReceiver != null) {
     unregisterReceiver(mojoMessageBroadcastReceiver);
   }
 }
 @Override
 protected void onPause() {
   LocalBroadcastManager.getInstance(GoalTrackerApplication.INSTANCE)
       .unregisterReceiver(GoalTrackerApplication.INSTANCE.mRegistrationBroadcastReceiver);
   GoalTrackerApplication.INSTANCE.isReceiverRegistered = false;
   super.onPause();
 }
 @Override
 protected void onPause() {
   super.onPause();
   //
   //        // Logs 'app deactivate' App Event.
   //        AppEventsLogger.deactivateApp(this);
 }
Beispiel #19
0
 // auto save to db on pause
 @Override
 protected void onPause() {
   myDB.updatePlayer(game.p1);
   myDB.updatePlayer(game.p2);
   if (!game.ended()) new AsyncSaveGame(this).execute(game);
   super.onPause();
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (mGoogleApiClient.isConnected()) {
     stopLocationUpdates();
   }
 }
  @Override
  protected void onPause() {

    try {
      this.bluetoothConnectedThread.cancel();
    } catch (Exception exception) {

    }

    try {
      this.bluetoothConnectThread.cancel();
    } catch (Exception exception) {

    }

    try {
      for (int count = 0; count < 2000; count++) {
        Thread.sleep(1);
      }
    } catch (InterruptedException e) {
      e.printStackTrace();
    }

    super.onPause();
  }
 @Override
 protected void onPause() {
   super.onPause();
   if (mBluetoothAdapter != null && mBluetoothAdapter.isEnabled()) {
     scanLeDevice(false);
   }
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (receiverDownloadComplete != null) {
     unregisterReceiver(receiverDownloadComplete);
   }
 }
  @Override
  protected void onPause() {
    this.unregisterReceiver(playNowReceiver);
    this.unregisterReceiver(receiver);

    super.onPause();
  }
Beispiel #25
0
  @Override
  protected void onPause() {
    super.onPause();
    active = false;

    unregisterReceiver(apduNotificationsReceiver);
  }
 @Override
 protected void onPause() {
   super.onPause();
   if (mGoogleApiClient.isConnected()) {
     mGoogleApiClient.disconnect();
   }
 }
Beispiel #27
0
 @Override
 protected void onPause() {
   super.onPause();
   Log.d(TAG, "ArticleActivity OnPause");
   MyApplication myApp = (MyApplication) this.getApplication();
   myApp.setLastNewsTitle(currentNews.getTitle());
 }
Beispiel #28
0
  @Override
  protected void onPause() {

    nfcAdapter.disableForegroundDispatch(this);

    super.onPause();
  }
  @Override
  protected void onPause() {
    super.onPause();

    TheLifeConfiguration.getOwnerDS().removeDSChangedListener(m_support);
    TheLifeConfiguration.getRequestsDS().removeDSChangedListener(m_support);
  }
Beispiel #30
0
 @Override
 protected void onPause() {
   // Se desregistra el receptor del gestor de receptores locales para
   // dicha acción.
   gestor.unregisterReceiver(receptor);
   super.onPause();
 }