Merge "Remove obsolute property persist.wm.disable_custom_task_animation"
This commit is contained in:
@@ -903,7 +903,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
|
||||
* container.
|
||||
*/
|
||||
boolean canCustomizeAppTransition() {
|
||||
return !WindowManagerService.sDisableCustomTaskAnimationProperty;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -394,21 +394,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