Fixed NPE in DashAudioVideo
This commit is contained in:
parent
423ea313a6
commit
15ca02abbf
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue