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

Commit 1a7b1e4e authored by Evan Rosky's avatar Evan Rosky Committed by Automerger Merge Worker
Browse files

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

Merge "Display-level relative display rotation should be 0" into tm-qpr-dev am: e0e646c4 am: b5fadd89

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



Change-Id: I20057cd1b2969e0e6d1423ec0ba24247cece2247
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 3eaad8d8 b5fadd89
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6807,4 +6807,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;
    }
}