Loading services/core/java/com/android/server/notification/NotificationManagerService.java +1 −7 Original line number Diff line number Diff line Loading @@ -8718,13 +8718,7 @@ public class NotificationManagerService extends SystemService { ToastRecord lastToast = mToastQueue.remove(index); mWindowManagerInternal.removeWindowToken(lastToast.windowToken, false /* removeWindows */, lastToast.displayId); // We passed 'false' for 'removeWindows' so that the client has time to stop // rendering (as hide above is a one-way message), otherwise we could crash // a client which was actively using a surface made from the token. However // we need to schedule a timeout to make sure the token is eventually killed // one way or another. // We need to schedule a timeout to make sure the token is eventually killed scheduleKillTokenTimeout(lastToast); keepProcessAliveForToastIfNeededLocked(record.pid); Loading Loading
services/core/java/com/android/server/notification/NotificationManagerService.java +1 −7 Original line number Diff line number Diff line Loading @@ -8718,13 +8718,7 @@ public class NotificationManagerService extends SystemService { ToastRecord lastToast = mToastQueue.remove(index); mWindowManagerInternal.removeWindowToken(lastToast.windowToken, false /* removeWindows */, lastToast.displayId); // We passed 'false' for 'removeWindows' so that the client has time to stop // rendering (as hide above is a one-way message), otherwise we could crash // a client which was actively using a surface made from the token. However // we need to schedule a timeout to make sure the token is eventually killed // one way or another. // We need to schedule a timeout to make sure the token is eventually killed scheduleKillTokenTimeout(lastToast); keepProcessAliveForToastIfNeededLocked(record.pid); Loading