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

Commit 6dc7f1e0 authored by Jon Miranda's avatar Jon Miranda
Browse files

Close all open views when binding the Launcher.

This fixes a bug where a work profile remains opened even
after the work profile is removed from the device. This can
occur when the work profile is removed with the Folder still opened.

Bug: 35627777
Change-Id: I8d5b4bd9931cad2316b6b8786501d6b3780b7aca
parent 232f6a38
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3209,6 +3209,9 @@ public class Launcher extends BaseActivity
        if (LauncherAppState.PROFILE_STARTUP) {
            Trace.beginSection("Starting page bind");
        }

        AbstractFloatingView.closeAllOpenViews(this);

        setWorkspaceLoading(true);

        // Clear the workspace because it's going to be rebound