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

Commit eea28a4b authored by liyong's avatar liyong Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Correct physical orientation am: d4d89976 am: 4d96e62e am: 9090d480

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1456317

Change-Id: I648788002880ee49e5f45152df3f262aaab58928
parents cc450d63 9090d480
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -313,7 +313,7 @@ private:
            logicalOrientation = ui::Rotation::Rotation90;
        }

        const ui::Rotation orientation = device->getPhysicalOrientation() + logicalOrientation;
        const ui::Rotation orientation = logicalOrientation;

        switch (orientation) {
            case ui::ROTATION_0: