Remove unused
This commit is contained in:
parent
0c67244749
commit
d8ee4d012c
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue