From 89f5dfa17584d31986b6a4b1dbc843f408e66dd3 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 4 Dec 2013 22:10:31 -0800 Subject: Minor tweaks --- src/github/daneren2005/dsub/fragments/SelectArtistFragment.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java index fbe54cee..5b46b40c 100644 --- a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java @@ -1,10 +1,7 @@ package github.daneren2005.dsub.fragments; -import android.content.Intent; import android.os.Build; import android.os.Bundle; -import android.os.Handler; -import android.support.v4.app.FragmentTransaction; import android.util.Log; import android.view.ContextMenu; import android.view.LayoutInflater; @@ -69,7 +66,7 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie artistList = (ListView) rootView.findViewById(R.id.fragment_list); artistList.setOnItemClickListener(this); - if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { + if(Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT) { artistList.setFastScrollAlwaysVisible(true); } @@ -172,7 +169,6 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie args.putString(Constants.INTENT_EXTRA_NAME_ID, artist.getId()); args.putString(Constants.INTENT_EXTRA_NAME_NAME, artist.getName()); if("root".equals(artist.getId())) { - Log.d(TAG, "root"); args.putSerializable(Constants.FRAGMENT_LIST, (Serializable) entries); } fragment.setArguments(args); -- cgit v1.2.3