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

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

Merge "Update arrow color after all notifications dismissed." into sc-v2-dev

parents 42b5b78b 1e34f653
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -495,7 +495,7 @@ public abstract class ArrowPopup<T extends Context & ActivityContext>
        mArrow.setPivotY(mIsAboveIcon ? mArrowHeight : 0);
    }

    private void updateArrowColor() {
    protected void updateArrowColor() {
        if (!Gravity.isVertical(mGravity)) {
            mArrow.setBackground(new RoundedArrowDrawable(
                    mArrowWidth, mArrowHeight, mArrowPointRadius,
+1 −0
Original line number Diff line number Diff line
@@ -593,6 +593,7 @@ public class PopupContainerWithArrow<T extends StatefulActivity<LauncherState>>
                mNotificationContainer.setVisibility(GONE);
                updateHiddenShortcuts();
                assignMarginsAndBackgrounds(PopupContainerWithArrow.this);
                updateArrowColor();
            } else {
                mNotificationContainer.trimNotifications(
                        NotificationKeyData.extractKeysOnly(dotInfo.getNotificationKeys()));