@Override protected void onDestroy() { super.onDestroy(); MainService.removeActivity(this); if (statusService != null && currentStatus != null) { statusService.emptyStatusDb(); statusService.insertListStatus(currentStatus); statusService.closeDBHelper(); } }
@Override protected void onDestroy() { super.onDestroy(); MainService.removeActivity(this); }