commit | 7fa664b4ca94ee8a86ddc89d08107f26063ae732 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Apr 03 00:59:19 2019 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Apr 03 00:59:19 2019 +0000 |
tree | 2a37ad901f893253291d87a302cd7658ae9a9d2a | |
parent | 368ae7ff106b1ebf1c316383e3f037b214d8dfa5 [diff] | |
parent | 0e180ac084f72dd15e4f3b31f2a5080e08405d36 [diff] |
Merge "Fixed a memory leak"
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationWakeUpCoordinator.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationWakeUpCoordinator.kt index 3433fa8..1e506ad 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationWakeUpCoordinator.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationWakeUpCoordinator.kt
@@ -163,6 +163,7 @@ private fun handleAnimationFinished() { if (mLinearDozeAmount == 0.0f || mLinearVisibilityAmount == 0.0f) { mEntrySetToClearWhenFinished.forEach { it.setAmbientGoingAway(false) } + mEntrySetToClearWhenFinished.clear() } }