aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-04-02 17:19:48 -0700
committerScott Jackson <daneren2005@gmail.com>2015-04-02 17:19:48 -0700
commitbdc294743441bbec776bd2e2c21c38619447cee3 (patch)
tree785cf12f41b72dcb8259a3a3f63c300e6ddb92f2 /src/github/daneren2005
parent4eb910bebf6cab6eca2a3e71f2f8fdea31bff38e (diff)
downloaddsub-bdc294743441bbec776bd2e2c21c38619447cee3.tar.gz
dsub-bdc294743441bbec776bd2e2c21c38619447cee3.tar.bz2
dsub-bdc294743441bbec776bd2e2c21c38619447cee3.zip
Don't show changelog for first run ever
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java2
-rw-r--r--src/github/daneren2005/dsub/view/ChangeLog.java2
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);