test activity for null
This commit is contained in:
parent
1597ee77b5
commit
8614469a35
1 changed files with 3 additions and 0 deletions
|
@ -422,6 +422,9 @@ public class OverviewFragment extends Fragment {
|
|||
if (bgGraph == null)
|
||||
return;
|
||||
|
||||
if (getActivity() == null)
|
||||
return;
|
||||
|
||||
// open loop mode
|
||||
final LoopPlugin.LastRun finalLastRun = LoopPlugin.lastRun;
|
||||
if (Config.APS) {
|
||||
|
|
Loading…
Reference in a new issue