Only prolong animations for freeform
am: 7aea4f49de
* commit '7aea4f49dececb3accf09f55a2b7f218c16f5887':
Only prolong animations for freeform
This commit is contained in:
@@ -3741,7 +3741,8 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
}
|
||||
for (final WindowState win : mWindowMap.values()) {
|
||||
final Task task = win.getTask();
|
||||
if (task != null && mTmpTaskIds.get(task.mTaskId, -1) != -1) {
|
||||
if (task != null && mTmpTaskIds.get(task.mTaskId, -1) != -1
|
||||
&& task.inFreeformWorkspace()) {
|
||||
final AppWindowToken appToken = win.mAppToken;
|
||||
if (appToken != null && appToken.mAppAnimator != null) {
|
||||
appToken.mAppAnimator.startProlongAnimation(scaleUp ?
|
||||
|
||||
Reference in New Issue
Block a user