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

    // prevent window leak exception
    dismissProgressDialog();
  }
Exemplo n.º 2
0
 @Override
 protected void onPause() {
   super.onPause();
   if (mGameView != null) {
     mGameView.pause();
   }
 }
 @Override
 protected void onPause() {
   saveLastName();
   saveFirstName();
   savePhoneNumber();
   super.onPause();
 }
Exemplo n.º 4
0
 @Override
 protected void onPause() {
   super.onPause();
   if (mGoogleApiClient.isConnected()) {
     TestManager.getInstance().stopLocationUpdates();
   }
 }
Exemplo n.º 5
0
 @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();
   }
 }
Exemplo n.º 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();
 }
Exemplo n.º 12
0
 @Override
 protected void onPause() {
   super.onPause();
   if (cameraView != null) {
     cameraView.disableView();
   }
 }
Exemplo n.º 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 = "";
  }
Exemplo n.º 15
0
 @Override
 public void onPause() {
   super.onPause();
   mCastManager.removeVideoCastConsumer(mCastConsumer);
   mCastManager.decrementUiCounter();
   getFragmentManager().removeOnBackStackChangedListener(mBackStackChangedListener);
 }
Exemplo n.º 16
0
 @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();
 }
Exemplo n.º 18
0
 @Override
 protected void onPause() {
   super.onPause();
   //
   //        // Logs 'app deactivate' App Event.
   //        AppEventsLogger.deactivateApp(this);
 }
Exemplo n.º 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();
 }
Exemplo n.º 20
0
 @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);
   }
 }
Exemplo n.º 23
0
 @Override
 protected void onPause() {
   super.onPause();
   if (receiverDownloadComplete != null) {
     unregisterReceiver(receiverDownloadComplete);
   }
 }
Exemplo n.º 24
0
  @Override
  protected void onPause() {
    this.unregisterReceiver(playNowReceiver);
    this.unregisterReceiver(receiver);

    super.onPause();
  }
Exemplo n.º 25
0
  @Override
  protected void onPause() {
    super.onPause();
    active = false;

    unregisterReceiver(apduNotificationsReceiver);
  }
 @Override
 protected void onPause() {
   super.onPause();
   if (mGoogleApiClient.isConnected()) {
     mGoogleApiClient.disconnect();
   }
 }
Exemplo n.º 27
0
 @Override
 protected void onPause() {
   super.onPause();
   Log.d(TAG, "ArticleActivity OnPause");
   MyApplication myApp = (MyApplication) this.getApplication();
   myApp.setLastNewsTitle(currentNews.getTitle());
 }
Exemplo n.º 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);
  }
Exemplo n.º 30
0
 @Override
 protected void onPause() {
   // Se desregistra el receptor del gestor de receptores locales para
   // dicha acción.
   gestor.unregisterReceiver(receptor);
   super.onPause();
 }