fix(android): revert previous fix not compatible with old java version (#3828)
This commit is contained in:
parent
563b27a166
commit
69bde447b8
@ -1686,7 +1686,8 @@ public class ReactExoplayerView extends FrameLayout implements
|
||||
}
|
||||
TimedMetadata timedMetadata = new TimedMetadata(frame.id, value);
|
||||
metadataArray.add(timedMetadata);
|
||||
} else if (entry instanceof EventMessage eventMessage) {
|
||||
} else if (entry instanceof EventMessage) {
|
||||
EventMessage eventMessage = (EventMessage) entry;
|
||||
TimedMetadata timedMetadata = new TimedMetadata(eventMessage.schemeIdUri, eventMessage.value);
|
||||
metadataArray.add(timedMetadata);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user