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

Commit 83b70a00 authored by Dan Sandler's avatar Dan Sandler
Browse files

Apply user sentiment on ranking update.

Bug: 63095540
Test: swipe away a notification four times in a row
Test: runtest systemui
Change-Id: Ie0c913b1c33a02f866819b80607ee0c6232bc8f9
parent d12ad363
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.systemui.statusbar;

import android.content.Context;
import android.content.res.Resources;
import android.service.notification.NotificationListenerService;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
@@ -338,6 +339,9 @@ public class NotificationViewHierarchyManager {
                    stack.push(notificationChildren.get(i));
                }
            }

            row.showBlockingHelper(entry.userSentiment ==
                    NotificationListenerService.Ranking.USER_SENTIMENT_NEGATIVE);
        }

        mPresenter.onUpdateRowStates();