mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
Fix compilation error
Patterns in instanceof are not supported on Java 8. PiperOrigin-RevId: 750147834
This commit is contained in:
parent
4d9f47920a
commit
ba97999657
@ -340,9 +340,10 @@ public final class VideoEncoderSettings {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof VideoEncoderSettings that)) {
|
||||
if (!(o instanceof VideoEncoderSettings)) {
|
||||
return false;
|
||||
}
|
||||
VideoEncoderSettings that = (VideoEncoderSettings) o;
|
||||
return bitrate == that.bitrate
|
||||
&& bitrateMode == that.bitrateMode
|
||||
&& profile == that.profile
|
||||
|
Loading…
x
Reference in New Issue
Block a user