From 490f761ff01ad07da4e9a62d9d7add1cc064adcc Mon Sep 17 00:00:00 2001 From: Lyn Date: Fri, 17 Feb 2023 23:17:52 +0000 Subject: [PATCH] Hide sticky FSI HUN when dismissed Fixes: 269562296 Test: send incoming call HUN, hang up => HUN hides Change-Id: Idbcc0287457968d1b6b323b598e530741d9db363 --- .../systemui/statusbar/AlertingNotificationManager.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/AlertingNotificationManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/AlertingNotificationManager.java index 1e4f5bbe17c0b..84b40e05d8085 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/AlertingNotificationManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/AlertingNotificationManager.java @@ -298,9 +298,7 @@ public abstract class AlertingNotificationManager { mLogger.logUpdateEntry(mEntry, updatePostTime); final long now = mClock.currentTimeMillis(); - mEarliestRemovaltime = isSticky() - ? mEntry.mCreationElapsedRealTime + mStickyDisplayTime - : now + mMinimumDisplayTime; + mEarliestRemovaltime = now + mMinimumDisplayTime; if (updatePostTime) { mPostTime = Math.max(mPostTime, now);