Change some log messages; remove SongNotification pref reset

This commit is contained in:
Christopher Eby 2011-09-25 02:49:30 -05:00
parent 086596b230
commit 20a1ff1ae7
2 changed files with 2 additions and 5 deletions

View File

@ -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;

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);