mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-01 13:58:20 +03:00
Fix ArrayIndexOutOfBoundsException when using autoplay
This commit is contained in:
parent
3e9edba189
commit
fd3436d5c0
1 changed files with 2 additions and 1 deletions
|
@ -301,6 +301,8 @@ public class VideoItemDetailFragment extends Fragment {
|
||||||
|
|
||||||
initSimilarVideos(info, videoItemViewCreator);
|
initSimilarVideos(info, videoItemViewCreator);
|
||||||
|
|
||||||
|
setupActionBarHandler(info);
|
||||||
|
|
||||||
if(autoPlayEnabled) {
|
if(autoPlayEnabled) {
|
||||||
playVideo(info);
|
playVideo(info);
|
||||||
}
|
}
|
||||||
|
@ -321,7 +323,6 @@ public class VideoItemDetailFragment extends Fragment {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
setupActionBarHandler(info);
|
|
||||||
} catch (java.lang.NullPointerException e) {
|
} catch (java.lang.NullPointerException e) {
|
||||||
Log.w(TAG, "updateInfo(): Fragment closed before thread ended work... or else");
|
Log.w(TAG, "updateInfo(): Fragment closed before thread ended work... or else");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Add table
Reference in a new issue