Change some log messages; remove SongNotification pref reset
This commit is contained in:
parent
086596b230
commit
20a1ff1ae7
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user