From 20a1ff1ae76c834f19ab5168df030aa2e5594087 Mon Sep 17 00:00:00 2001 From: Christopher Eby Date: Sun, 25 Sep 2011 02:49:30 -0500 Subject: [PATCH] Change some log messages; remove SongNotification pref reset --- src/org/kreed/vanilla/FullPlaybackActivity.java | 2 +- src/org/kreed/vanilla/SongNotification.java | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/org/kreed/vanilla/FullPlaybackActivity.java b/src/org/kreed/vanilla/FullPlaybackActivity.java index e9f11221..de8b8a6d 100644 --- a/src/org/kreed/vanilla/FullPlaybackActivity.java +++ b/src/org/kreed/vanilla/FullPlaybackActivity.java @@ -96,7 +96,7 @@ public class FullPlaybackActivity extends PlaybackActivity implements SeekBar.On switch (displayMode) { default: - Log.e("VanillaMusic", "Invalid display mode given. Defaulting to overlap"); + Log.w("VanillaMusic", "Invalid display mode given. Defaulting to overlap."); // fall through case DISPLAY_INFO_OVERLAP: coverStyle = CoverBitmap.STYLE_OVERLAPPING_BOX; diff --git a/src/org/kreed/vanilla/SongNotification.java b/src/org/kreed/vanilla/SongNotification.java index c6052714..3aa6ecf1 100644 --- a/src/org/kreed/vanilla/SongNotification.java +++ b/src/org/kreed/vanilla/SongNotification.java @@ -96,10 +96,7 @@ public class SongNotification extends Notification { contentIntent = PendingIntent.getActivity(context, 0, intent, 0); break; default: - Log.w("VanillaMusic", "Unknown value for notification_action: " + action + ". Resetting to 0."); - SharedPreferences.Editor editor = prefs.edit(); - editor.putString("notification_action", "0"); - editor.commit(); + Log.w("VanillaMusic", "Unknown value for notification_action. Defaulting to 0."); // fall through case ACTION_MAIN_ACTIVITY: intent = new Intent(context, LaunchActivity.class);