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

Commit 39c79929 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make modal based UI changes in TaskView only if modalness changes."...

Merge "Make modal based UI changes in TaskView only if modalness changes." into ub-launcher3-rvc-qpr-dev
parents 7c39afec 3aca9210
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -319,6 +319,9 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable {
     * @param modalness [0, 1] 0 being in context with other tasks, 1 being shown on its own.
     */
    public void setModalness(float modalness) {
        if (mModalness == modalness) {
            return;
        }
        mModalness = modalness;
        mIconView.setAlpha(comp(modalness));
        if (mContextualChip != null) {
@@ -328,7 +331,6 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable {
        if (mContextualChipWrapper != null) {
            mContextualChipWrapper.setAlpha(comp(modalness));
        }

        updateFooterVerticalOffset(mFooterVerticalOffset);
    }