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

Commit 8b2e5256 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "ShellRoot: Hold lock during binder death." into rvc-dev am: dbc5e64b am: 63bf26ad

Change-Id: Ie5959dc36ddbac94b3c8aeb125105e6bd8f23e85
parents 6b5f4399 63bf26ad
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -1106,6 +1106,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
    }

    void removeShellRoot(int windowType) {
        synchronized(mWmService.mGlobalLock) {
            ShellRoot root = mShellRoots.get(windowType);
            if (root == null) {
                return;
@@ -1113,6 +1114,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
            root.clear();
            mShellRoots.remove(windowType);
        }
    }

    void setRemoteInsetsController(IDisplayWindowInsetsController controller) {
        if (mRemoteInsetsControlTarget != null) {