mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	Remove local variable for seek duration
This commit is contained in:
		| @@ -954,14 +954,12 @@ public abstract class BasePlayer implements | ||||
|  | ||||
|     public void onFastRewind() { | ||||
|         if (DEBUG) Log.d(TAG, "onFastRewind() called"); | ||||
|         final int duration = getSeekDuration(); | ||||
|         seekBy(-duration); | ||||
|         seekBy(-getSeekDuration()); | ||||
|     } | ||||
|  | ||||
|     public void onFastForward() { | ||||
|         if (DEBUG) Log.d(TAG, "onFastForward() called"); | ||||
|         final int duration = getSeekDuration(); | ||||
|         seekBy(duration); | ||||
|         seekBy(getSeekDuration()); | ||||
|     } | ||||
|  | ||||
|     private int getSeekDuration() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Xiang Rong Lin
					Xiang Rong Lin