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

Commit 3f18cc44 authored by Sreyas's avatar Sreyas
Browse files

Alpha correction.

mContentAlpha sometimes equals 0, changing to 1 ensures recents card always shows when supposed to

Change-Id: I27eda97b72b75263c0aac09e2355bca72daecc27
parent 35903d2c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -378,10 +378,10 @@ public class LauncherRecentsView extends RecentsView<Launcher> implements StateL
    }
    }


    @Override
    @Override
    public void resetTaskVisuals() {
    public void setContentAlpha(float alpha) {
        super.resetTaskVisuals();
        super.setContentAlpha(alpha);
        if (mRecentsExtraViewContainer != null) {
        if (mRecentsExtraViewContainer != null) {
            mRecentsExtraViewContainer.setAlpha(mContentAlpha);
            mRecentsExtraViewContainer.setAlpha(alpha);
        }
        }
    }
    }
}
}