@Override
  public void onPause() {
    Log.d(TAG, "LoaderActivity paused");
    super.onPause();

    mTimerTask.cancel();
    mTimerTask = null;
  }
  // Events
  @Override
  protected void onPause() {
    Log.v("SDL", "onPause()");
    super.onPause();

    if (SDLActivity.mBrokenLibraries) {
      return;
    }

    SDLActivity.handlePause();
  }
  @Override
  public void onPause() {
    Log.i(LOG_FILE_NAME, "pause");
    GeckoAppShell.sendEventToGecko(new GeckoEvent(GeckoEvent.ACTIVITY_PAUSING));
    // The user is navigating away from this activity, but nothing
    // has come to the foreground yet; for Gecko, we may want to
    // stop repainting, for example.

    // Whatever we do here should be fast, because we're blocking
    // the next activity from showing up until we finish.

    // onPause will be followed by either onResume or onStop.
    super.onPause();

    unregisterReceiver(mConnectivityReceiver);
    GeckoNetworkManager.getInstance().stop();
    GeckoScreenOrientationListener.getInstance().stop();
  }
Exemple #4
0
 // Events
 @Override
 protected void onPause() {
   Log.v("SDL", "onPause()");
   super.onPause();
   SDLActivity.handlePause();
 }
Exemple #5
0
 // Events
 protected void onPause() {
   // Log.v("SDL", "onPause()");
   super.onPause();
 }
 // Events
 @Override
 protected void onPause() {
   Log.v("SDL", "onPause()");
   super.onPause();
   // Don't call SDLActivity.nativePause(); here, it will be called by SDLSurface::surfaceDestroyed
 }
 protected void onPause() {
   super.onPause();
   downloadThread.requestStop();
 }