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

Commit 8e095ccb authored by Jonathan Miranda's avatar Jonathan Miranda Committed by Android (Google) Code Review
Browse files

Merge "Fix notification dot not always being up to date." into sc-dev

parents b68f4cdb f8441cc2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -96,6 +96,13 @@ public class PredictionRowView extends LinearLayout implements

    private void updateVisibility() {
        setVisibility(mPredictionsEnabled ? VISIBLE : GONE);
        if (mLauncher.getAppsView() != null) {
            if (mPredictionsEnabled) {
                mLauncher.getAppsView().getAppsStore().registerIconContainer(this);
            } else {
                mLauncher.getAppsView().getAppsStore().unregisterIconContainer(this);
            }
        }
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ public class AllAppsStore {
    }

    public void registerIconContainer(ViewGroup container) {
        if (container != null) {
        if (container != null && !mIconContainers.contains(container)) {
            mIconContainers.add(container);
        }
    }
+0 −5
Original line number Diff line number Diff line
@@ -580,11 +580,6 @@ public class FloatingIconView extends FrameLayout implements
                    if (originalView instanceof IconLabelDotView) {
                        setIconAndDotVisible(originalView, true);
                    }
                    if (originalView instanceof BubbleTextView) {
                        BubbleTextView btv = (BubbleTextView) originalView;
                        btv.setIconVisible(true);
                        btv.setForceHideDot(true);
                    }
                    view.finish(dragLayer);
                }
            } else {