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

Commit e19b065c authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Remove progress != mFullscreenProgress optimization" into ub-launcher3-rvc-dev

parents aef8b86b 6a8ba169
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -947,9 +947,6 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable {
     */
     */
    public void setFullscreenProgress(float progress) {
    public void setFullscreenProgress(float progress) {
        progress = Utilities.boundToRange(progress, 0, 1);
        progress = Utilities.boundToRange(progress, 0, 1);
        if (progress == mFullscreenProgress) {
            return;
        }
        mFullscreenProgress = progress;
        mFullscreenProgress = progress;
        boolean isFullscreen = mFullscreenProgress > 0;
        boolean isFullscreen = mFullscreenProgress > 0;
        mIconView.setVisibility(progress < 1 ? VISIBLE : INVISIBLE);
        mIconView.setVisibility(progress < 1 ? VISIBLE : INVISIBLE);