mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00: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 afe3826d7c)
This commit is contained in:
parent
6946f49997
commit
d97ec132b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue