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

Commit 0281d742 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix physical display ratio incorrect" into tm-dev am: e266bac2

parents d44c1557 e266bac2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -899,8 +899,8 @@ public class ScreenDecorations extends CoreStartable implements Tunable , Dumpab
        final DisplayInfo displayInfo = new DisplayInfo();
        mContext.getDisplay().getDisplayInfo(displayInfo);
        return DisplayUtils.getPhysicalPixelDisplaySizeRatio(
                stableDisplaySize.x, stableDisplaySize.y, displayInfo.logicalWidth,
                displayInfo.logicalHeight);
                stableDisplaySize.x, stableDisplaySize.y, displayInfo.getNaturalWidth(),
                displayInfo.getNaturalHeight());
    }

    @Override