Fix possible null pointer dereference in triggerSearch()

This commit is contained in:
Adam Baker 2016-01-03 13:40:15 +00:00
parent 97551357ec
commit c7f481d5ba

View file

@ -431,6 +431,7 @@ public class ServerFragment extends ListFragment implements OnBackPressedListene
public void triggerSearch() public void triggerSearch()
{ {
if (mUpnpService != null)
mUpnpService.getControlPoint().search(); mUpnpService.getControlPoint().search();
} }