Merge "Let launcher clean-up shell transition leashes" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3cbbacebc8
@@ -17,8 +17,6 @@ package com.android.quickstep;
|
|||||||
|
|
||||||
import static android.view.WindowManager.LayoutParams.TYPE_NAVIGATION_BAR;
|
import static android.view.WindowManager.LayoutParams.TYPE_NAVIGATION_BAR;
|
||||||
|
|
||||||
import static com.android.quickstep.TaskAnimationManager.ENABLE_SHELL_TRANSITIONS;
|
|
||||||
|
|
||||||
import com.android.systemui.shared.system.RemoteAnimationTargetCompat;
|
import com.android.systemui.shared.system.RemoteAnimationTargetCompat;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@@ -114,10 +112,6 @@ public class RemoteAnimationTargets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void release() {
|
public void release() {
|
||||||
if (ENABLE_SHELL_TRANSITIONS) {
|
|
||||||
mReleaseChecks.clear();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (mReleased) {
|
if (mReleased) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user