Use equals rather than == for string equality

This commit is contained in:
Oliver Woodman 2015-10-28 13:42:40 +00:00
parent 4237e3d391
commit b9224160a3

View file

@ -325,7 +325,7 @@ public final class MediaFormat {
|| pixelWidthHeightRatio != other.pixelWidthHeightRatio
|| maxWidth != other.maxWidth || maxHeight != other.maxHeight
|| channelCount != other.channelCount || sampleRate != other.sampleRate
|| trackId != other.trackId || !Util.areEqual(language, other.language)
|| !Util.areEqual(trackId, other.trackId) || !Util.areEqual(language, other.language)
|| !Util.areEqual(mimeType, other.mimeType)
|| initializationData.size() != other.initializationData.size()) {
return false;