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

Commit dbc5e64b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "ShellRoot: Hold lock during binder death." into rvc-dev

parents 57e977a5 1dc57293
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) {