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

Commit 74d374ba authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't use physical orientation to compute area for screenshot"

parents fed12334 387aff58
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -26,8 +26,7 @@ RenderArea::RotationFlags applyDeviceOrientation(bool useIdentityTransform,
        return RenderArea::RotationFlags::ROT_0;
    }

    const ui::Rotation orientation = display.getPhysicalOrientation() + display.getOrientation();
    return ui::Transform::toRotationFlags(orientation);
    return ui::Transform::toRotationFlags(display.getOrientation());
}

} // namespace