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

Commit 3e9d9b59 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix janky in transition doze -> lockscreen

Also fix some unnecessary layer creation for dismiss button.

Bug: 18238168
Change-Id: I71989f2a24162e4453781c07e50d6c25fb380089
parent 946863b6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -61,4 +61,9 @@ public class DismissViewImageButton extends ImageButton {
        outRect.top += translationY;
        outRect.bottom += translationY;
    }

    @Override
    public boolean hasOverlappingRendering() {
        return false;
    }
}
+0 −2
Original line number Diff line number Diff line
@@ -3071,8 +3071,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
            }
            else if (Intent.ACTION_SCREEN_ON.equals(action)) {
                mScreenOn = true;
                // work around problem where mDisplay.getRotation() is not stable while screen is off (bug 7086018)
                repositionNavigationBar();
                notifyNavigationBarScreenOn(true);
            }
            else if (ACTION_DEMO.equals(action)) {