mirror of
https://github.com/androidx/media.git
synced 2025-05-05 22:50:57 +08:00
Suppress the lint "WrongConstant" error
Lint somehow complains that the integer resulting from the bit-manipulation shouldn't be passed as an @IntDef parameter. #cherrypick PiperOrigin-RevId: 648687698 (cherry picked from commit afe3826d7c4b79acfe0fd165ac1940261a147040)
This commit is contained in:
parent
6946f49997
commit
d97ec132b9
@ -533,7 +533,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
|||||||
|
|
||||||
// Handler.Callback implementation.
|
// Handler.Callback implementation.
|
||||||
|
|
||||||
@SuppressWarnings("unchecked") // Casting message payload types.
|
@SuppressWarnings({"unchecked", "WrongConstant"}) // Casting message payload types and IntDef.
|
||||||
@Override
|
@Override
|
||||||
public boolean handleMessage(Message msg) {
|
public boolean handleMessage(Message msg) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user