Set alertActivity to null onDestroy
This commit is contained in:
parent
68f4a20c2b
commit
e23657bfe5
|
@ -76,6 +76,7 @@ public class InsightAlertActivity extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
alertService.setAlertActivity(null);
|
||||
unbindService(serviceConnection);
|
||||
super.onDestroy();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue