mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	Fix crash with default resolution best on mobile data
This commit is contained in:
		| @@ -110,7 +110,8 @@ public final class ListHelper { | ||||
|                 : context.getString(R.string.best_resolution_key); | ||||
|  | ||||
|         String maxResolution = getResolutionLimit(context); | ||||
|         if (maxResolution != null && compareVideoStreamResolution(maxResolution, resolution) < 1){ | ||||
|         if (maxResolution != null && (resolution.equals(context.getString(R.string.best_resolution_key)) | ||||
|                 || compareVideoStreamResolution(maxResolution, resolution) < 1)) { | ||||
|             resolution = maxResolution; | ||||
|         } | ||||
|         return resolution; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ritiek Malhotra
					Ritiek Malhotra