am a0b4d0ce
: Merge "Avoid duplication of AppWindowToken in created Task"
* commit 'a0b4d0ce471cf10888bac4d4ec5b97fd562ad756': Avoid duplication of AppWindowToken in created Task
This commit is contained in:
@ -3480,10 +3480,11 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
Task newTask = mTaskIdToTask.get(groupId);
|
||||
if (newTask == null) {
|
||||
newTask = createTask(groupId, oldTask.mStack.mStackId, oldTask.mUserId, atoken);
|
||||
}
|
||||
} else {
|
||||
newTask.mAppTokens.add(atoken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int getOrientationFromWindowsLocked() {
|
||||
if (mDisplayFrozen || mOpeningApps.size() > 0 || mClosingApps.size() > 0) {
|
||||
|
Reference in New Issue
Block a user