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

Commit c9ac84dc authored by Kyrylo Mikos's avatar Kyrylo Mikos
Browse files

SystemUI: apply alpha value to all layouts.

Change-Id: I27d5a69eac50053ca34679bf7f6aed821245e132
parent 150bf578
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -93,11 +93,13 @@ public final class NavigationBarTransitions extends BarTransitions {
    }

    private void setKeyButtonViewQuiescentAlpha(ButtonInfo info, float alpha, boolean animate) {
        View button = mView.findViewWithTag(info);
        for (View v : mView.mRotatedViews) {
            View button = v == null ? null : v.findViewWithTag(info);
            if (button != null) {
                setKeyButtonViewQuiescentAlpha(button, alpha, animate);
            }
        }
    }

    private float alphaForMode(int mode) {
        final boolean isOpaque = mode == MODE_OPAQUE || mode == MODE_LIGHTS_OUT;