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

Commit 2da5b6a2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't crash when tapping twice on a notification" into ub-launcher3-dorval-polish

parents 8f2e8e16 cd688545
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.os.Bundle;
import android.service.notification.StatusBarNotification;
import android.view.View;

import com.android.launcher3.AbstractFloatingView;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherAppState;
import com.android.launcher3.graphics.IconPalette;
@@ -105,7 +106,8 @@ public class NotificationInfo implements View.OnClickListener {
        if (autoCancel) {
            launcher.getPopupDataProvider().cancelNotification(notificationKey);
        }
        PopupContainerWithArrow.getOpen(launcher).close(true);
        AbstractFloatingView.closeOpenContainer(launcher, AbstractFloatingView
                .TYPE_POPUP_CONTAINER_WITH_ARROW);
    }

    public Drawable getIconForBackground(Context context, int background) {