@Override
 protected void onDestroy() {
   super.onDestroy();
   stopSeekbarUpdate();
   mExecutorService.shutdown();
   mPlayerController.stop();
 }
Exemplo n.º 2
0
  @Override
  public void onDestroy() {
    super.onDestroy();
    uiHelper.onDestroy();

    Utils.unbindDrawables(findViewById(R.id.container));
  }
Exemplo n.º 3
0
 @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);
 }
Exemplo n.º 6
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   unregisterReceiver(receiver);
   fghome.destroyThread();
 }
Exemplo n.º 7
0
 @Override
 public void onDestroy() {
   if (traceService != null) {
     this.unbindService(serviceConnection);
   }
   super.onDestroy();
 }
Exemplo n.º 8
0
 @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);
  }
Exemplo n.º 11
0
 @Override
 protected void onDestroy() {
   unregisterReceiver(broadcastReceiver);
   unregisterReceiver(totalBitcoinBroadcastReceiver);
   super.onDestroy();
   BitherApplication.hotActivity = null;
   ServiceUtil.doMarkTimerTask(false);
 }
Exemplo n.º 12
0
 @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;
   }
 }
Exemplo n.º 14
0
 @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();
  }
Exemplo n.º 17
0
  @Override
  protected void onDestroy() {
    super.onDestroy();
    mDestroyCountDownLatch.countDown();

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

    super.onDestroy();
  } // func
Exemplo n.º 21
0
 @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;
  }
Exemplo n.º 23
0
  @Override
  protected void onDestroy() {
    // 清除网络请求队列
    AsyncHttpNetCenter.getInstance().clearRequestQueue(this);
    //        OkHttpNetCenter.getInstance().clearRequestQueue(this);

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

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

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

    super.onDestroy();
  }
Exemplo n.º 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;
 }
Exemplo n.º 28
0
  @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);
  }
Exemplo n.º 29
0
  @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);
  }
Exemplo n.º 30
0
  @Override
  protected void onDestroy() {
    mTabs.clear();
    mTabs = null;
    myAdapter.notifyDataSetChanged();
    myAdapter = null;
    mPager.setAdapter(null);
    mPager = null;
    mIndicator = null;

    super.onDestroy();
  }