From 9d6def926aa6019c87b4c30d82e659b481b31c21 Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Mon, 11 Mar 2013 10:29:58 -0700 Subject: Stop updater from running every startup --- subsonic-android/src/github/daneren2005/dsub/updates/Updater.java | 1 + 1 file changed, 1 insertion(+) (limited to 'subsonic-android/src/github') 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) { -- cgit v1.2.3