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() {
|
public void setupNotes() {
|
||||||
View mainView = getView();
|
View mainView = getView();
|
||||||
|
if (mainView == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (plugin == null){
|
if (plugin == null){
|
||||||
(mainView.findViewById(R.id.main_notes)).setVisibility(View.GONE);
|
(mainView.findViewById(R.id.main_notes)).setVisibility(View.GONE);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue