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

Commit 4cdd5b81 authored by Tom Giordano's avatar Tom Giordano Committed by Lalit Maganti
Browse files

surfaceflinger: allow 180 degree hardware rotation

Change-Id: Id6991021701b15f2ce1e5513474238a09d8862bf
parent a67e418e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2693,6 +2693,9 @@ void GraphicPlane::setDisplayHardware(DisplayHardware *hw)
        case 90:
            displayOrientation = ISurfaceComposer::eOrientation90;
            break;
        case 180:
            displayOrientation = ISurfaceComposer::eOrientation180;
            break;
        case 270:
            displayOrientation = ISurfaceComposer::eOrientation270;
            break;