@Override
 protected void onDestroy() {
   super.onDestroy();
   stopSeekbarUpdate();
   mExecutorService.shutdown();
   mPlayerController.stop();
 }
  @Override
  public void onDestroy() {
    super.onDestroy();
    uiHelper.onDestroy();

    Utils.unbindDrawables(findViewById(R.id.container));
  }
 @Override
 public void onDestroy() {
   unregisterReceiver(mConnectedReceiver);
   apiCallStarted.set(false);
   dismissSpinner();
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   //        mTaskRunning = false;
   //        BackgroudTaskManager.getInstance().unRegisterBackgroudTaskObserver(mOb);
   //        mManager.clearAllTask();
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   Log.v("yummywakeup", "AlarmAlert.onDestroy()");
   // No longer care about the alarm being killed.
   unregisterReceiver(mReceiver);
 }
Exemple #6
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   unregisterReceiver(receiver);
   fghome.destroyThread();
 }
 @Override
 public void onDestroy() {
   if (traceService != null) {
     this.unbindService(serviceConnection);
   }
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (isReceiver) {
     this.unregisterReceiver(this.broadcastReceiver);
   }
 }
 @Override
 protected void onDestroy() {
   IAppOfficeUtil.exit(iAppOffice);
   receive.clearAbortBroadcast();
   this.unregisterReceiver(receive);
   super.onDestroy();
 }
  @Override
  protected void onDestroy() {
    super.onDestroy();

    // 结束Activity&从堆栈中移除
    AppManager.getAppManager().finishActivity(this);
  }
 @Override
 protected void onDestroy() {
   unregisterReceiver(broadcastReceiver);
   unregisterReceiver(totalBitcoinBroadcastReceiver);
   super.onDestroy();
   BitherApplication.hotActivity = null;
   ServiceUtil.doMarkTimerTask(false);
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mMonitorService != null) {
     unbindService(mMonitorConnection); // 取消绑定服务
     mMonitorService = null;
   }
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (databaseHelper != null) {
     OpenHelperManager.releaseHelper();
     databaseHelper = null;
   }
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (mSearch != null) {
     mSearch.destory();
     mSearch = null;
   }
 }
 @Override
 protected void onDestroy() {
   if (bitmap != null && !bitmap.isRecycled()) {
     bitmap.recycle();
     bitmap = null;
   }
   super.onDestroy();
 }
  @Override
  public void onDestroy() {
    if (sconn != null && binder != null) {
      binder.unregisterServiceListener(this);
      unbindService(sconn);
    }

    super.onDestroy();
  }
  @Override
  protected void onDestroy() {
    super.onDestroy();
    mDestroyCountDownLatch.countDown();

    if (mReactInstanceManager != null) {
      mReactInstanceManager.onDestroy();
    }
  }
 @Override
 protected void onDestroy() {
   if (mRegisterTask != null) {
     mRegisterTask.cancel(true);
   }
   unregisterReceiver(mHandleMessageReceiver);
   GCMRegistrar.onDestroy(this);
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   mAllShareService.stop();
   if (mTmpFile != null) {
     mTmpFile.delete();
     mTmpFile = null;
   }
 }
  /*========================================================
  Main*/
  @Override
  public void onDestroy() {
    if (mDb != null) {
      mDb.close();
      mDb = null;
    }

    super.onDestroy();
  } // func
 @Override
 public void onDestroy() {
   super.onDestroy();
   // We stop the service if activity is destroyed
   stopService(new Intent(MainActivitySeTIChat.this, SeTIChatService.class));
   // We also unregister the receivers to avoid leaks.
   unregisterReceiver(chatMessageReceiver);
   unregisterReceiver(openReceiver);
 }
  @Override
  protected void onDestroy() {
    super.onDestroy();

    mIntTags = null;
    mStringTags = null;
    mTagsStatus = null;
    mSubmitTagsButton = null;
  }
  @Override
  protected void onDestroy() {
    // 清除网络请求队列
    AsyncHttpNetCenter.getInstance().clearRequestQueue(this);
    //        OkHttpNetCenter.getInstance().clearRequestQueue(this);

    // 将该Activity从堆栈移除
    AppManager.getAppManager().removeActivity(this);
    super.onDestroy();
  }
Exemple #24
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (this.architectView != null) {
     if (this.sensorAccuracyListener != null) {
       this.architectView.unregisterSensorAccuracyChangeListener(this.sensorAccuracyListener);
     }
     this.architectView.onDestroy();
   }
 }
  @Override
  protected void onDestroy() {
    if (Logging.VERBOSE) Log.v(Logging.TAG, "TasksActivity onDestroy()");

    if (mIsBound) {
      getApplicationContext().unbindService(mConnection);
      mIsBound = false;
    }

    super.onDestroy();
  }
  @Override
  protected void onDestroy() {
    // 注销 关闭所有Activity 广播
    try {
      LocalBroadcastManager.getInstance(mContext).unregisterReceiver(finishReceiver);
    } catch (Exception e) {
      Utils.debug("BaseActivity : " + e.toString());
    }

    super.onDestroy();
  }
Exemple #27
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   OrgSyncService.stop(this);
   try {
     if (mBillingHelper != null) mBillingHelper.dispose();
   } catch (Exception e) {
     // We are destroying, ignore all errors at this point
   }
   mBillingHelper = null;
 }
  @Override
  protected void onDestroy() {
    super.onDestroy();
    // Make sure we're not doing discovery anymore
    if (mBtAdapter != null) {
      mBtAdapter.cancelDiscovery();
      // mBtAdapter.disable();
    }

    // Unregister broadcast listeners
    this.unregisterReceiver(mReceiver);
  }
  @Override
  protected void onDestroy() {

    super.onDestroy();
    viewPager.stopAutoScroll();
    Log.e("distory call", "distory call");
    // Toast.makeText(MainActivity.this, "MainActivity destroy call", Toast.LENGTH_SHORT).show();
    //        mHomeKeyLocker.unlock();
    //        mHomeKeyLocker = null;
    //        PrefUtils.setKioskModeActive(true, getApplicationContext());
    //        mHomeKeyLocker.lock(MainActivity.this);
  }
  @Override
  protected void onDestroy() {
    mTabs.clear();
    mTabs = null;
    myAdapter.notifyDataSetChanged();
    myAdapter = null;
    mPager.setAdapter(null);
    mPager = null;
    mIndicator = null;

    super.onDestroy();
  }