Merge "Remove Taskbar WindowToken upon onDisplayRemoved" into main

This commit is contained in:
Sukesh Ram authored and Android (Google) Code Review committed 2025-03-13 10:45:40 -07:00
commit bf31635e25
1 file changed
+3 -3
@@ -988,12 +988,12 @@ public class TaskbarManager {
displayId);
removeAndUnregisterComponentCallbacks(displayId);
debugTaskbarManager("onDisplayRemoved: destroying Taskbar!", displayId);
destroyTaskbarForDisplay(displayId);
debugTaskbarManager("onDisplayRemoved: removing DeviceProfile from map!", displayId);
removeDeviceProfileFromMap(displayId);
debugTaskbarManager("onDisplayRemoved: destroying Taskbar!", displayId);
destroyTaskbarForDisplay(displayId);
debugTaskbarManager("onDisplayRemoved: removing WindowContext from map!", displayId);
removeWindowContextFromMap(displayId);