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

Commit e9000d5e 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...

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

Change-Id: If80740e6bf5c0609053e2b3cf8c24c7367a42ba6
parents ddaadc95 e3c4b34e
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -1105,6 +1105,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
    }

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

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