Merge "Compare supported modes in DisplayInfo.equals()"

This commit is contained in:
TreeHugger Robot
2020-12-17 14:19:11 +00:00
committed by Android (Google) Code Review

View File

@@ -325,6 +325,7 @@ public final class DisplayInfo implements Parcelable {
&& rotation == other.rotation
&& modeId == other.modeId
&& defaultModeId == other.defaultModeId
&& Arrays.equals(supportedModes, other.supportedModes)
&& colorMode == other.colorMode
&& Arrays.equals(supportedColorModes, other.supportedColorModes)
&& Objects.equals(hdrCapabilities, other.hdrCapabilities)