Example #1
0
 @Override
 protected void onDestroy() {
   unregisterReceiver(broadcastReceiver);
   unregisterReceiver(totalBitcoinBroadcastReceiver);
   super.onDestroy();
   BitherApplication.hotActivity = null;
   ServiceUtil.doMarkTimerTask(false);
 }
Example #2
0
 @Override
 protected void onResume() {
   ServiceUtil.doMarkTimerTask(true);
   super.onResume();
 }
Example #3
0
 @Override
 protected void onPause() {
   super.onPause();
   ServiceUtil.doMarkTimerTask(false);
 }