aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
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);
}