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

Commit 920c84de authored by Lyn's avatar Lyn Committed by Lyn Han
Browse files

Fix NPE in HeadsUpEntry.isSticky

Bug: 349054691
Test: treehugger
Flag: com.android.systemui.notification_avalanche_throttle_hun
Change-Id: Idee723d72382a2df7937a0c318422dde29575901
parent 5b40ba28
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -834,6 +834,7 @@ public abstract class BaseHeadsUpManager implements HeadsUpManager {
         * @return true if the notification is sticky
         */
        public boolean isSticky() {
            if (mEntry == null) return false;
            return (mEntry.isRowPinned() && mExpanded)
                    || mRemoteInputActive
                    || hasFullScreenIntent(mEntry);