aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-03-11 10:29:58 -0700
committerdaneren2005 <daneren2005@gmail.com>2013-03-11 10:29:58 -0700
commit9d6def926aa6019c87b4c30d82e659b481b31c21 (patch)
tree987d879ce7419b12ed8e1b383f2b713965256ada /subsonic-android/src
parent26caf5a01f0f1a5eff89c15c67eda5148d47a261 (diff)
downloaddsub-9d6def926aa6019c87b4c30d82e659b481b31c21.tar.gz
dsub-9d6def926aa6019c87b4c30d82e659b481b31c21.tar.bz2
dsub-9d6def926aa6019c87b4c30d82e659b481b31c21.zip
Stop updater from running every startup
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/updates/Updater.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/updates/Updater.java b/subsonic-android/src/github/daneren2005/dsub/updates/Updater.java
index 69cdb642..3f8876b9 100644
--- a/subsonic-android/src/github/daneren2005/dsub/updates/Updater.java
+++ b/subsonic-android/src/github/daneren2005/dsub/updates/Updater.java
@@ -50,6 +50,7 @@ public class Updater {
if(version > lastVersion) {
SharedPreferences.Editor editor = prefs.edit();
editor.putInt(Constants.LAST_VERSION, version);
+ editor.commit();
Log.i(TAG, "Updating from version " + lastVersion + " to " + version);
for(Updater updater: updaters) {