mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +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.
|
||||
|
||||
@SuppressWarnings("unchecked") // Casting message payload types.
|
||||
@SuppressWarnings({"unchecked", "WrongConstant"}) // Casting message payload types and IntDef.
|
||||
@Override
|
||||
public boolean handleMessage(Message msg) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user