aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-07-23 22:26:53 -0700
committerScott Jackson <daneren2005@gmail.com>2013-07-23 22:26:53 -0700
commitdc83c4735ade2caf9b51eab3c7a1844581d0383a (patch)
treede3f5db824afc1abab504efd4eb12915bfec84c0 /subsonic-android
parent488affb4cdbb005448e9ed18a46972b291303312 (diff)
downloaddsub-dc83c4735ade2caf9b51eab3c7a1844581d0383a.tar.gz
dsub-dc83c4735ade2caf9b51eab3c7a1844581d0383a.tar.bz2
dsub-dc83c4735ade2caf9b51eab3c7a1844581d0383a.zip
Fix for SettingsBackup
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java3
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/SettingsBackupAgent.java (renamed from subsonic-android/src/github/daneren2005/dsub/util/SettingsBackupAgent)4
2 files changed, 6 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java
index 9d0aa1ba..fc56281e 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java
@@ -18,6 +18,7 @@
*/
package github.daneren2005.dsub.activity;
+import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
@@ -45,6 +46,8 @@ import github.daneren2005.dsub.util.FileUtil;
import github.daneren2005.dsub.util.Util;
import java.io.File;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Method;
import java.net.URL;
import java.util.LinkedHashMap;
import java.util.Map;
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/SettingsBackupAgent b/subsonic-android/src/github/daneren2005/dsub/util/SettingsBackupAgent.java
index 3a99437c..7eb6d137 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/SettingsBackupAgent
+++ b/subsonic-android/src/github/daneren2005/dsub/util/SettingsBackupAgent.java
@@ -16,13 +16,15 @@
Copyright 2009 (C) Sindre Mehus
*/
+package github.daneren2005.dsub.util;
import android.app.backup.BackupAgentHelper;
import android.app.backup.SharedPreferencesBackupHelper;
import github.daneren2005.dsub.util.Constants;
public class SettingsBackupAgent extends BackupAgentHelper {
- void onCreate() {
+ public void onCreate() {
+ super.onCreate();
SharedPreferencesBackupHelper helper = new SharedPreferencesBackupHelper(this, Constants.PREFERENCES_FILE_NAME);
addHelper("mypreferences", helper);
}