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

Commit 7d51b081 authored by Josh Tsuji's avatar Josh Tsuji Committed by Automerger Merge Worker
Browse files

Merge "Null-check AV before checking its alpha." into rvc-dev am: 1b824ba3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12010086

Change-Id: I4b76af36b4cbadef5b8698cf6d7dac67fd969dac
parents 38aa7bda 1b824ba3
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();
        }