Stop using what == 0 for messages.

This commit is contained in:
Sergei Dryganets 2024-06-20 18:31:27 -07:00 committed by tonihei
parent 71ef848ec3
commit 457deec4eb
2 changed files with 6 additions and 6 deletions

View File

@ -326,10 +326,10 @@ public final class Loader implements LoaderErrorThrower {
private static final String TAG = "LoadTask";
private static final int MSG_START = 0;
private static final int MSG_FINISH = 1;
private static final int MSG_IO_EXCEPTION = 2;
private static final int MSG_FATAL_ERROR = 3;
private static final int MSG_START = 1;
private static final int MSG_FINISH = 2;
private static final int MSG_IO_EXCEPTION = 3;
private static final int MSG_FATAL_ERROR = 4;
public final int defaultMinRetryCount;

View File

@ -650,8 +650,8 @@ public class PlayerNotificationManager {
// Internal messages.
private static final int MSG_START_OR_UPDATE_NOTIFICATION = 0;
private static final int MSG_UPDATE_NOTIFICATION_BITMAP = 1;
private static final int MSG_START_OR_UPDATE_NOTIFICATION = 1;
private static final int MSG_UPDATE_NOTIFICATION_BITMAP = 2;
/**
* Visibility of notification on the lock screen. One of {@link