diff options
2 files changed, 6 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt index 867db8ec8235..8eca16622084 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/AvalancheController.kt @@ -403,9 +403,11 @@ constructor( debugRunnableLabelMap.remove(r) } } - val dropList = listToDrop.joinToString("\n ") { getKey(it) } - headsUpManagerLogger.logDroppedHuns(dropList) } + + val dropListStr = listToDrop.joinToString("\n ") { getKey(it) } + headsUpManagerLogger.logDroppedHuns(dropListStr) + clearNext() showNow(headsUpEntryShowing!!, headsUpEntryShowingRunnableList) } diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/HeadsUpManagerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/HeadsUpManagerImpl.java index 87b9bf87c680..010f0806ef0e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/HeadsUpManagerImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/HeadsUpManagerImpl.java @@ -1385,7 +1385,8 @@ public class HeadsUpManagerImpl mPostTime = Math.max(mPostTime, now); } }; - mAvalancheController.update(this, runnable, "updateEntry (updatePostTime)"); + mAvalancheController.update(this, runnable, "updateEntry reason:" + + reason + " updatePostTime:" + updatePostTime); if (isSticky()) { cancelAutoRemovalCallbacks("updateEntry (sticky)"); |