예제 #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);
 }