Remove unused

This commit is contained in:
Andrew Rabert 2018-04-24 20:23:45 -04:00
parent 0c67244749
commit d8ee4d012c
5 changed files with 0 additions and 20 deletions

View File

@ -65,7 +65,6 @@ import java.util.List;
* Created by Scott on 10/14/13.
*/
public class SubsonicFragmentActivity extends SubsonicActivity implements DownloadService.OnSongChangedListener {
private static final String TAG = SubsonicFragmentActivity.class.getSimpleName();
private static boolean infoDialogDisplayed;
private static boolean sessionInitialized = false;
private SlidingUpPanelLayout slideUpPanel;

View File

@ -611,7 +611,6 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
final String oldEndYear = prefs.getString(Constants.PREFERENCES_KEY_SHUFFLE_END_YEAR, "");
final String oldGenre = prefs.getString(Constants.PREFERENCES_KEY_SHUFFLE_GENRE, "");
boolean _useCombo;
genreBox.setVisibility(View.GONE);
genreCombo.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
@ -659,7 +658,6 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
}.execute();
}
});
final boolean useCombo = true;
startYearBox.setText(oldStartYear);
endYearBox.setText(oldEndYear);

View File

@ -441,10 +441,6 @@ public class DownloadService extends Service {
suggestedPlaylistId = prefs.getString(Constants.PREFERENCES_KEY_PLAYLIST_ID, null);
}
public boolean isInitialized() {
return lifecycleSupport != null && lifecycleSupport.isInitialized();
}
public boolean isRemovePlayed() {
return removePlayed;
}

View File

@ -58,7 +58,6 @@ public abstract class BackgroundTask<T> implements ProgressListener {
final AtomicBoolean cancelled = new AtomicBoolean(false);
private final Context context;
private final Runnable onCompletionListener = null;
Task task;
BackgroundTask(Context context) {

View File

@ -34,18 +34,6 @@ public class DrawableTint {
private static final Map<Integer, Integer> attrMap = new HashMap<>();
private static final WeakHashMap<Integer, Drawable> tintedDrawables = new WeakHashMap<>();
public static Drawable getTintedDrawable(Context context) {
if (tintedDrawables.containsKey(R.drawable.ic_toggle_played)) {
return tintedDrawables.get(R.drawable.ic_toggle_played);
}
int color = getColorRes(context, R.attr.colorAccent);
Drawable background = context.getResources().getDrawable(R.drawable.ic_toggle_played);
background.setColorFilter(color, PorterDuff.Mode.SRC_IN);
tintedDrawables.put(R.drawable.ic_toggle_played, background);
return background;
}
public static Drawable getTintedDrawableFromColor(Context context) {
if (tintedDrawables.containsKey(R.drawable.abc_spinner_mtrl_am_alpha)) {
return tintedDrawables.get(R.drawable.abc_spinner_mtrl_am_alpha);