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

Commit 1b824ba3 authored by Josh Tsuji's avatar Josh Tsuji Committed by Android (Google) Code Review
Browse files

Merge "Null-check AV before checking its alpha." into rvc-dev

parents 5866d920 d0f3e941
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -495,12 +495,9 @@ public class BubbleExpandedView extends LinearLayout {
        }
        final float alpha = visibility ? 1f : 0f;

        if (alpha == mActivityView.getAlpha()) {
            return;
        }

        mPointerView.setAlpha(alpha);
        if (mActivityView != null) {

        if (mActivityView != null && alpha != mActivityView.getAlpha()) {
            mActivityView.setAlpha(alpha);
            mActivityView.bringToFront();
        }