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

Commit e78129e3 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Don't crash if we've already been educated about Bubbles.

Let people apply their new knowledge.

Test: manual
Fixes: 158695768
Change-Id: I95db75f81ca95ebd1aa0d18539e04b42cb3f1dee
parent ab6c4a76
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1975,9 +1975,12 @@ public class BubbleStackView extends FrameLayout
    @Override
    public void subtractObscuredTouchableRegion(Region touchableRegion, View view) {
        // If the notification shade is expanded, or the manage menu is open, or we are showing
        // manage bubbles user education, we shouldn't let the
        // ActivityView steal any touch events from any location.
        if (!mIsExpanded || mShowingManage || mManageEducationView.getVisibility() == VISIBLE) {
        // manage bubbles user education, we shouldn't let the ActivityView steal any touch events
        // from any location.
        if (!mIsExpanded
                || mShowingManage
                || (mManageEducationView != null
                    && mManageEducationView.getVisibility() == VISIBLE)) {
            touchableRegion.setEmpty();
        }
    }