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

Commit aa871b0f authored by Jeff Brown's avatar Jeff Brown
Browse files

Fix build.

Change-Id: Ife2fd58447205407e41ce3d27e28a705b744bede
parent fa25bf53
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ public final class DisplayManager {
     * @param displayId The logical display id.
     * @param outInfo A structure to populate with the display info.
     * @return True if the logical display exists, false otherwise.
     * @hide
     */
    public boolean getDisplayInfo(int displayId, DisplayInfo outInfo) {
        try {
+0 −11
Original line number Diff line number Diff line
@@ -70,17 +70,6 @@ public class BridgeWindowManager implements IWindowManager {
        return mRotation;
    }

    @Override
    public void getDisplayInfo(int arg0, DisplayInfo arg1) throws RemoteException {
        arg1.appWidth = mMetrics.widthPixels;
        arg1.appHeight = mMetrics.heightPixels;
        arg1.logicalWidth = mMetrics.widthPixels;
        arg1.logicalHeight = mMetrics.heightPixels;
        arg1.logicalDensity = mMetrics.density;
        arg1.physicalXDpi = mMetrics.xdpi;
        arg1.physicalYDpi = mMetrics.ydpi;
    }

    // ---- unused implementation of IWindowManager ----

    @Override