Fix possible null pointer dereference in triggerSearch()
This commit is contained in:
parent
97551357ec
commit
c7f481d5ba
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue