Change some log messages; remove SongNotification pref reset

This commit is contained in:
Christopher Eby committed 2011-09-25 02:49:30 -05:00
1 parent 086596b230
commit 20a1ff1ae7
2 files changed
+2 -5

No files matched your search

@@ -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;
+1 -4
View File
@@ -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);