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) { switch (displayMode) {
default: default:
Log.e("VanillaMusic", "Invalid display mode given. Defaulting to overlap"); Log.w("VanillaMusic", "Invalid display mode given. Defaulting to overlap.");
// fall through // fall through
case DISPLAY_INFO_OVERLAP: case DISPLAY_INFO_OVERLAP:
coverStyle = CoverBitmap.STYLE_OVERLAPPING_BOX; coverStyle = CoverBitmap.STYLE_OVERLAPPING_BOX;

View File

@ -96,10 +96,7 @@ public class SongNotification extends Notification {
contentIntent = PendingIntent.getActivity(context, 0, intent, 0); contentIntent = PendingIntent.getActivity(context, 0, intent, 0);
break; break;
default: default:
Log.w("VanillaMusic", "Unknown value for notification_action: " + action + ". Resetting to 0."); Log.w("VanillaMusic", "Unknown value for notification_action. Defaulting to 0.");
SharedPreferences.Editor editor = prefs.edit();
editor.putString("notification_action", "0");
editor.commit();
// fall through // fall through
case ACTION_MAIN_ACTIVITY: case ACTION_MAIN_ACTIVITY:
intent = new Intent(context, LaunchActivity.class); intent = new Intent(context, LaunchActivity.class);