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