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

Commit 7382ed7f authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Remove magic number usage in SurfaceFlinger

Test: Manual
Change-Id: I9d4c7e4ec8546314864e0625a832e9a0bb49e95b
parent 64f1fbf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2466,7 +2466,7 @@ bool HWC2On1Adapter::prepareAllDisplays()
        }
    }

    if (mHwc1DisplayMap.count(0) == 0) {
    if (mHwc1DisplayMap.count(HWC_DISPLAY_PRIMARY) == 0) {
        ALOGE("prepareAllDisplays: Unable to find primary HWC1 display");
        return false;
    }