diff options
author | Selim Cinek <cinek@google.com> | 2015-07-29 19:09:03 -0700 |
---|---|---|
committer | Selim Cinek <cinek@google.com> | 2015-07-29 19:09:03 -0700 |
commit | acd0df65dd8be97aae5617c9a8346d4a4ab88abd (patch) | |
tree | 46b00f22c783b428142852ee88e6c2563c9e7265 /packages | |
parent | beb3185f01ce5d06f1503d37a4ed8f93b8bf76e0 (diff) | |
download | frameworks_base-acd0df65dd8be97aae5617c9a8346d4a4ab88abd.zip frameworks_base-acd0df65dd8be97aae5617c9a8346d4a4ab88abd.tar.gz frameworks_base-acd0df65dd8be97aae5617c9a8346d4a4ab88abd.tar.bz2 |
Fixed a heads up crash
Some references to notifications were still
kept around while timing out, leading to small
leaks and sometimes crashes.
Bug: 22819475
Change-Id: I1429b5669366521c6374efbcae6c26d6e407d8cc
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java index 63f5711..a81a962 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java @@ -452,8 +452,8 @@ public class HeadsUpManager implements ViewTreeObserver.OnComputeInternalInsetsL for (NotificationData.Entry entry : mEntriesToRemoveAfterExpand) { removeHeadsUpEntry(entry); } - mEntriesToRemoveAfterExpand.clear(); } + mEntriesToRemoveAfterExpand.clear(); } public void setTrackingHeadsUp(boolean trackingHeadsUp) { |