diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-12-04 22:10:31 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-12-04 22:10:31 -0800 |
commit | 89f5dfa17584d31986b6a4b1dbc843f408e66dd3 (patch) | |
tree | 3b05265a6719b1c267a809917f32cd58ad2f1ee7 /src/github | |
parent | 75a7c008a11d367882e004e472cd98eb19af32af (diff) | |
download | dsub-89f5dfa17584d31986b6a4b1dbc843f408e66dd3.tar.gz dsub-89f5dfa17584d31986b6a4b1dbc843f408e66dd3.tar.bz2 dsub-89f5dfa17584d31986b6a4b1dbc843f408e66dd3.zip |
Minor tweaks
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectArtistFragment.java | 6 |
1 files changed, 1 insertions, 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);
|