Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99298431 authored by Beverly's avatar Beverly
Browse files

Hide previous toast from pkg before updating

Bug: 73338244
Test: manual
Change-Id: Id9c3a60f002573ba27b043235ddd9c60f7dd5243
parent 97661735
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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();