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

Commit c84c7eb3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Hide previous toast from pkg before updating"

parents 394989a3 99298431
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -1836,6 +1836,10 @@ public class NotificationManagerService extends SystemService {
                    if (index >= 0) {
                    if (index >= 0) {
                        record = mToastQueue.get(index);
                        record = mToastQueue.get(index);
                        record.update(duration);
                        record.update(duration);
                        try {
                            record.callback.hide();
                        } catch (RemoteException e) {
                        }
                        record.update(callback);
                        record.update(callback);
                    } else {
                    } else {
                        Binder token = new Binder();
                        Binder token = new Binder();