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