mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Bump compileSdk to 34
This commit is contained in:
		 Isira Seneviratne
					Isira Seneviratne
				
			
				
					committed by
					
						 Stypox
						Stypox
					
				
			
			
				
	
			
			
			 Stypox
						Stypox
					
				
			
						parent
						
							00566ed4d4
						
					
				
				
					commit
					f3b458c803
				
			| @@ -12,7 +12,7 @@ plugins { | |||||||
| } | } | ||||||
|  |  | ||||||
| android { | android { | ||||||
|     compileSdk 33 |     compileSdk 34 | ||||||
|     namespace 'org.schabi.newpipe' |     namespace 'org.schabi.newpipe' | ||||||
|  |  | ||||||
|     defaultConfig { |     defaultConfig { | ||||||
|   | |||||||
| @@ -160,13 +160,12 @@ class MainPlayerGestureListener( | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     override fun onScroll( |     override fun onScroll( | ||||||
|         initialEvent: MotionEvent, |         initialEvent: MotionEvent?, | ||||||
|         movingEvent: MotionEvent, |         movingEvent: MotionEvent, | ||||||
|         distanceX: Float, |         distanceX: Float, | ||||||
|         distanceY: Float |         distanceY: Float | ||||||
|     ): Boolean { |     ): Boolean { | ||||||
|  |         if (initialEvent == null || !playerUi.isFullscreen) { | ||||||
|         if (!playerUi.isFullscreen) { |  | ||||||
|             return false |             return false | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -167,7 +167,7 @@ class PopupPlayerGestureListener( | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     override fun onFling( |     override fun onFling( | ||||||
|         e1: MotionEvent, |         e1: MotionEvent?, | ||||||
|         e2: MotionEvent, |         e2: MotionEvent, | ||||||
|         velocityX: Float, |         velocityX: Float, | ||||||
|         velocityY: Float |         velocityY: Float | ||||||
| @@ -218,11 +218,14 @@ class PopupPlayerGestureListener( | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     override fun onScroll( |     override fun onScroll( | ||||||
|         initialEvent: MotionEvent, |         initialEvent: MotionEvent?, | ||||||
|         movingEvent: MotionEvent, |         movingEvent: MotionEvent, | ||||||
|         distanceX: Float, |         distanceX: Float, | ||||||
|         distanceY: Float |         distanceY: Float | ||||||
|     ): Boolean { |     ): Boolean { | ||||||
|  |         if (initialEvent == null) { | ||||||
|  |             return false | ||||||
|  |         } | ||||||
|  |  | ||||||
|         if (isResizing) { |         if (isResizing) { | ||||||
|             return super.onScroll(initialEvent, movingEvent, distanceX, distanceY) |             return super.onScroll(initialEvent, movingEvent, distanceX, distanceY) | ||||||
|   | |||||||
| @@ -364,7 +364,7 @@ public final class NotificationUtil { | |||||||
|         final Bitmap thumbnail = player.getThumbnail(); |         final Bitmap thumbnail = player.getThumbnail(); | ||||||
|         if (thumbnail == null || !showThumbnail) { |         if (thumbnail == null || !showThumbnail) { | ||||||
|             // since the builder is reused, make sure the thumbnail is unset if there is not one |             // since the builder is reused, make sure the thumbnail is unset if there is not one | ||||||
|             builder.setLargeIcon(null); |             builder.setLargeIcon((Bitmap) null); | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -80,10 +80,10 @@ class CircleClipTapView(context: Context?, attrs: AttributeSet) : View(context, | |||||||
|         updatePathShape() |         updatePathShape() | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     override fun onDraw(canvas: Canvas?) { |     override fun onDraw(canvas: Canvas) { | ||||||
|         super.onDraw(canvas) |         super.onDraw(canvas) | ||||||
|  |  | ||||||
|         canvas?.clipPath(shapePath) |         canvas.clipPath(shapePath) | ||||||
|         canvas?.drawPath(shapePath, backgroundPaint) |         canvas.drawPath(shapePath, backgroundPaint) | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user