Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10ce2f10 authored by linkai's avatar linkai
Browse files

Fix judgment logic of DisplayDeviceConfig#loadSdrHdrRatioMap.



Bug: none
Test: reboot

Change-Id: I4aa9e2d723ed0ccd8b4ae1a2f7e12242005b3c66
Signed-off-by: default avatarlinkai <linkai@xiaomi.com>
parent 3270054d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1940,7 +1940,7 @@ public class DisplayDeviceConfig {

        final List<SdrHdrRatioPoint> points = sdrHdrRatioMap.getPoint();
        final int size = points.size();
        if (size <= 0) {
        if (size == 0) {
            return null;
        }