summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/notification/NotificationManagerService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java
index 3800017f0a08..548f15419798 100644
--- a/services/core/java/com/android/server/notification/NotificationManagerService.java
+++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -1836,6 +1836,10 @@ public class NotificationManagerService extends SystemService {
if (index >= 0) {
record = mToastQueue.get(index);
record.update(duration);
+ try {
+ record.callback.hide();
+ } catch (RemoteException e) {
+ }
record.update(callback);
} else {
Binder token = new Binder();