mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Fix ArrayIndexOutOfBoundsException when using autoplay
This commit is contained in:
		| @@ -301,6 +301,8 @@ public class VideoItemDetailFragment extends Fragment { | ||||
|  | ||||
|             initSimilarVideos(info, videoItemViewCreator); | ||||
|  | ||||
|             setupActionBarHandler(info); | ||||
|  | ||||
|             if(autoPlayEnabled) { | ||||
|                 playVideo(info); | ||||
|             } | ||||
| @@ -321,7 +323,6 @@ public class VideoItemDetailFragment extends Fragment { | ||||
|                 } | ||||
|             }); | ||||
|  | ||||
|             setupActionBarHandler(info); | ||||
|         } catch (java.lang.NullPointerException e) { | ||||
|             Log.w(TAG, "updateInfo(): Fragment closed before thread ended work... or else"); | ||||
|             e.printStackTrace(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David
					David