summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2019-01-25 20:21:48 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-01-25 20:21:48 +0000
commitdbff07d1b19f08063d3e1dd9ab956e667ed0ff96 (patch)
tree4b41512e1764f2e9f260766afcf411684b0ae660
parentf53d972ed131494d764a66ab11f7b1e2ae78e2df (diff)
parentb020b5e57b1b4b71dd3976e032ae20762dd63e91 (diff)
Merge "In NotificationRecord, clean out adjustments once they've been applied."
-rw-r--r--services/core/java/com/android/server/notification/NotificationRecord.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationRecord.java b/services/core/java/com/android/server/notification/NotificationRecord.java
index 02fc51f89e62..ac965faedd34 100644
--- a/services/core/java/com/android/server/notification/NotificationRecord.java
+++ b/services/core/java/com/android/server/notification/NotificationRecord.java
@@ -690,6 +690,8 @@ public final class NotificationRecord {
importance));
}
}
+ // We have now gotten all the information out of the adjustments and can forget them.
+ mAdjustments.clear();
}
}