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

Commit da1bc19e authored by Randy Pfohl's avatar Randy Pfohl
Browse files

Crash fix: ensuring we will always return surface, allowing it to relayer later instead of waiting

Flag: com.android.launcher3.enable_overview_on_connected_displays

Test: Reproduced crash locally, traced to cause of null.

Bug: 436998049

Change-Id: Ibc72daa0c336e73f48b197fd4f75571b789e1899
parent c975b673
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -675,7 +675,7 @@ public class ShellTaskOrganizer extends TaskOrganizer {
     */
    @Nullable
    public SurfaceControl getOverviewOverlayContainer(int displayId) {
        return mOverviewOverlayLeashes.get(displayId);
        return getOrCreateOverviewOverlayContainer(displayId);
    }

    /**