Stop using what == 0 for messages.
This commit is contained in:
parent
71ef848ec3
commit
457deec4eb
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user