diff options
| author | 2023-02-17 23:17:52 +0000 | |
|---|---|---|
| committer | 2023-02-18 02:53:30 +0000 | |
| commit | 490f761ff01ad07da4e9a62d9d7add1cc064adcc (patch) | |
| 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
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/AlertingNotificationManager.java | 4 |
1 files changed, 1 insertions, 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 1e4f5bbe17c0..84b40e05d808 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); |