Remove redundant
This commit is contained in:
parent
06aadeb776
commit
07aa43aed8
|
@ -22,7 +22,6 @@ import android.support.v7.widget.LinearLayoutManager;
|
|||
import android.support.v7.widget.RecyclerView;
|
||||
import android.support.v7.widget.helper.ItemTouchHelper;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.view.Display;
|
||||
import android.view.GestureDetector;
|
||||
import android.view.GestureDetector.OnGestureListener;
|
||||
import android.view.LayoutInflater;
|
||||
|
@ -32,7 +31,6 @@ import android.view.MenuItem;
|
|||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.WindowManager;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package net.nullsum.audinaut.fragments;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.view.MenuItemCompat;
|
||||
import android.support.v7.widget.GridLayoutManager;
|
||||
import android.support.v7.widget.RecyclerView;
|
||||
import android.view.LayoutInflater;
|
||||
|
|
|
@ -906,8 +906,7 @@ public class DownloadService extends Service {
|
|||
|
||||
private int seekToWrapper(int difference) {
|
||||
int msPlayed = Math.max(0, getPlayerPosition());
|
||||
Integer duration = getPlayerDuration();
|
||||
int msTotal = duration;
|
||||
int msTotal = getPlayerDuration();
|
||||
|
||||
int seekTo;
|
||||
if (msPlayed + difference > msTotal) {
|
||||
|
|
|
@ -49,7 +49,6 @@ import java.io.RandomAccessFile;
|
|||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
|
Loading…
Reference in New Issue