Fixed NPE in DashAudioVideo

This commit is contained in:
Denis 2014-12-22 12:50:54 +02:00
parent 423ea313a6
commit 15ca02abbf

View file

@ -61,6 +61,10 @@ public class DashAudioVideoNotesFragment extends DashBaseFragment {
public void setupNotes() {
View mainView = getView();
if (mainView == null) {
return;
}
if (plugin == null){
(mainView.findViewById(R.id.main_notes)).setVisibility(View.GONE);
return;