commit | 490f761ff01ad07da4e9a62d9d7add1cc064adcc | [log] [tgz] |
---|---|---|
author | Lyn <lynhan@google.com> | Fri Feb 17 23:17:52 2023 +0000 |
committer | Lyn <lynhan@google.com> | Sat Feb 18 02:53:30 2023 +0000 |
tree | 6647747a201b606eee5480fa71caaf3892129804 | |
parent | f79a7cebfa2a6be86bf3fa812a4a67e3fde4b424 [diff] |
Hide sticky FSI HUN when dismissed Fixes: 269562296 Test: send incoming call HUN, hang up => HUN hides Change-Id: Idbcc0287457968d1b6b323b598e530741d9db363
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/AlertingNotificationManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/AlertingNotificationManager.java index 1e4f5bb..84b40e0 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 @@ 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);