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) {
|
||||
ShellRoot root = mShellRoots.get(windowType);
|
||||
if (root == null) {
|
||||
return;
|
||||
synchronized(mWmService.mGlobalLock) {
|
||||
ShellRoot root = mShellRoots.get(windowType);
|
||||
if (root == null) {
|
||||
return;
|
||||
}
|
||||
root.clear();
|
||||
mShellRoots.remove(windowType);
|
||||
}
|
||||
root.clear();
|
||||
mShellRoots.remove(windowType);
|
||||
}
|
||||
|
||||
void setRemoteInsetsController(IDisplayWindowInsetsController controller) {
|
||||
|
||||
Reference in New Issue
Block a user