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

Commit e0e646c4 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Display-level relative display rotation should be 0" into tm-qpr-dev

parents baa507a5 657cc738
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6729,4 +6729,11 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
    DisplayContent asDisplayContent() {
        return this;
    }

    @Override
    @Surface.Rotation
    int getRelativeDisplayRotation() {
        // Display is the root, so it's not rotated relative to anything.
        return Surface.ROTATION_0;
    }
}