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

Commit 2f581b79 authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "TaskbarViewController should only translate on rotation if icon is...

Merge "TaskbarViewController should only translate on rotation if icon is aligned with hotseat" into tm-qpr-dev
parents e6e3de84 adbbc2f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -428,8 +428,8 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
    }

    public void onRotationChanged(DeviceProfile deviceProfile) {
        if (mControllers.taskbarStashController.isInApp()) {
            // We only translate on rotation when on home
        if (!mControllers.uiController.isIconAlignedWithHotseat()) {
            // We only translate on rotation when icon is aligned with hotseat
            return;
        }
        mActivity.setTaskbarWindowHeight(