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

Commit 20e61e72 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 am:...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18157811



Change-Id: I7ca008e376703287de57f4c1bc7ea7e7dba37a97
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1f69d522 a45fe071
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