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

Commit a4636922 authored by Brian Isganitis's avatar Brian Isganitis Committed by Android (Google) Code Review
Browse files

Merge "Add doc clarifying Taskabr icon alpha consumer purpose." into tm-qpr-dev

parents 2886ff08 dc643f9b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -95,6 +95,10 @@ import java.util.function.Supplier;
    private boolean mCanSyncViews;

    private final Consumer<Float> mIconAlphaForHomeConsumer = alpha -> {
        /*
         * Hide Launcher Hotseat icons when Taskbar icons have opacity. Both icon sets
         * should not be visible at the same time.
         */
        mLauncher.getHotseat().setIconsAlpha(alpha > 0 ? 0 : 1);
        mLauncher.getHotseat().setQsbAlpha(
                mLauncher.getDeviceProfile().isQsbInline && alpha > 0 ? 0 : 1);