diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 2 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/view/ChangeLog.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java index 8bd01cd6..b6b67a7b 100644 --- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java +++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java @@ -609,7 +609,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR }
protected void setupScrollList(final AbsListView listView) {
- if(context.isTv()) {
+ if(!context.isTouchscreen()) {
refreshLayout.setEnabled(false);
} else {
listView.setOnScrollListener(new AbsListView.OnScrollListener() {
diff --git a/src/github/daneren2005/dsub/view/ChangeLog.java b/src/github/daneren2005/dsub/view/ChangeLog.java index 5a7850ff..096583c7 100644 --- a/src/github/daneren2005/dsub/view/ChangeLog.java +++ b/src/github/daneren2005/dsub/view/ChangeLog.java @@ -324,7 +324,7 @@ public class ChangeLog { /** * Write current version code to the preferences. */ - protected void updateVersionInPreferences() { + public void updateVersionInPreferences() { SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); SharedPreferences.Editor editor = sp.edit(); editor.putInt(VERSION_KEY, mCurrentVersionCode); |