diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/util/UserUtil.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/util/UserUtil.java b/src/github/daneren2005/dsub/util/UserUtil.java index d75c170e..b5cead77 100644 --- a/src/github/daneren2005/dsub/util/UserUtil.java +++ b/src/github/daneren2005/dsub/util/UserUtil.java @@ -20,6 +20,7 @@ import android.app.AlertDialog; import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
+import android.util.Log;
import android.view.View;
import android.widget.Adapter;
import android.widget.ArrayAdapter;
@@ -38,6 +39,7 @@ import github.daneren2005.dsub.service.ServerTooOldException; import github.daneren2005.dsub.view.SettingsAdapter;
public final class UserUtil {
+ private static final String TAG = UserUtil.class.getSimpleName();
private static User currentUser;
public static void seedCurrentUser(final Context context) {
@@ -52,6 +54,12 @@ public final class UserUtil { currentUser = MusicServiceFactory.getMusicService(context).getUser(false, getCurrentUsername(context), context, null);
return null;
}
+
+ @Override
+ protected void error(Throwable error) {
+ // Don't do anything, supposed to be background pull
+ Log.e(TAG, "Failed to seed user information");
+ }
}.execute();
}
|