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