Remove obsolute property persist.wm.disable_custom_task_animation
Bug: 204540636 Test: Existing tests pass. Change-Id: Ie06136d165fecb35b2e7802580010cf3a32a24e5
This commit is contained in:
@@ -906,7 +906,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
|
||||
* container.
|
||||
*/
|
||||
boolean canCustomizeAppTransition() {
|
||||
return !WindowManagerService.sDisableCustomTaskAnimationProperty;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -398,21 +398,6 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
|
||||
static final int LOGTAG_INPUT_FOCUS = 62001;
|
||||
|
||||
/**
|
||||
* Restrict ability of activities overriding transition animation in a way such that
|
||||
* an activity can do it only when the transition happens within a same task.
|
||||
*
|
||||
* @see android.app.Activity#overridePendingTransition(int, int)
|
||||
*/
|
||||
private static final String DISABLE_CUSTOM_TASK_ANIMATION_PROPERTY =
|
||||
"persist.wm.disable_custom_task_animation";
|
||||
|
||||
/**
|
||||
* @see #DISABLE_CUSTOM_TASK_ANIMATION_PROPERTY
|
||||
*/
|
||||
static boolean sDisableCustomTaskAnimationProperty =
|
||||
SystemProperties.getBoolean(DISABLE_CUSTOM_TASK_ANIMATION_PROPERTY, true);
|
||||
|
||||
/**
|
||||
* Use WMShell for app transition.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user