Merge "ShellRoot: Hold lock during binder death." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dbc5e64b68
@@ -1106,12 +1106,14 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
|
|||||||
}
|
}
|
||||||
|
|
||||||
void removeShellRoot(int windowType) {
|
void removeShellRoot(int windowType) {
|
||||||
ShellRoot root = mShellRoots.get(windowType);
|
synchronized(mWmService.mGlobalLock) {
|
||||||
if (root == null) {
|
ShellRoot root = mShellRoots.get(windowType);
|
||||||
return;
|
if (root == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
root.clear();
|
||||||
|
mShellRoots.remove(windowType);
|
||||||
}
|
}
|
||||||
root.clear();
|
|
||||||
mShellRoots.remove(windowType);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void setRemoteInsetsController(IDisplayWindowInsetsController controller) {
|
void setRemoteInsetsController(IDisplayWindowInsetsController controller) {
|
||||||
|
|||||||
Reference in New Issue
Block a user