Remove redundant

This commit is contained in:
Andrew Rabert 2018-04-24 21:02:24 -04:00
parent 06aadeb776
commit 07aa43aed8
4 changed files with 1 additions and 6 deletions

View File

@ -22,7 +22,6 @@ import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper; import android.support.v7.widget.helper.ItemTouchHelper;
import android.util.DisplayMetrics; import android.util.DisplayMetrics;
import android.view.Display;
import android.view.GestureDetector; import android.view.GestureDetector;
import android.view.GestureDetector.OnGestureListener; import android.view.GestureDetector.OnGestureListener;
import android.view.LayoutInflater; import android.view.LayoutInflater;
@ -32,7 +31,6 @@ import android.view.MenuItem;
import android.view.MotionEvent; import android.view.MotionEvent;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.animation.AnimationUtils; import android.view.animation.AnimationUtils;
import android.widget.ImageButton; import android.widget.ImageButton;
import android.widget.ImageView; import android.widget.ImageView;

View File

@ -1,7 +1,6 @@
package net.nullsum.audinaut.fragments; package net.nullsum.audinaut.fragments;
import android.os.Bundle; import android.os.Bundle;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater; import android.view.LayoutInflater;

View File

@ -906,8 +906,7 @@ public class DownloadService extends Service {
private int seekToWrapper(int difference) { private int seekToWrapper(int difference) {
int msPlayed = Math.max(0, getPlayerPosition()); int msPlayed = Math.max(0, getPlayerPosition());
Integer duration = getPlayerDuration(); int msTotal = getPlayerDuration();
int msTotal = duration;
int seekTo; int seekTo;
if (msPlayed + difference > msTotal) { if (msPlayed + difference > msTotal) {

View File

@ -49,7 +49,6 @@ import java.io.RandomAccessFile;
import java.io.Serializable; import java.io.Serializable;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;