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

Commit 565ef9cc authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: fixing typo" into main

parents c17f5671 ae3611d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -379,7 +379,7 @@ std::vector<HWComposer::HWCDisplayMode> HWComposer::getModesFromLegacyDisplayCon
        const int32_t dpiX = getAttribute(hwcDisplayId, configId, hal::Attribute::DPI_X);
        const int32_t dpiY = getAttribute(hwcDisplayId, configId, hal::Attribute::DPI_Y);
        const DisplayConfiguration::Dpi hwcDpi =
                DisplayConfiguration::Dpi{dpiX == -1 ? dpiY : dpiX / 1000.f,
                DisplayConfiguration::Dpi{dpiX == -1 ? dpiX : dpiX / 1000.f,
                                          dpiY == -1 ? dpiY : dpiY / 1000.f};
        const DisplayConfiguration::Dpi estimatedDPI =
                getEstimatedDotsPerInchFromSize(hwcDisplayId, hwcMode);