Fix Select mode problem with animation off
- Avoid calling resetTaskVisuals when entering Modal state with animation off, it should only be called when leaving Overview, to be consistent with animation on case - Use a separate property to control alpha for modalness, to avoid being overridden by other transition Fix: 320314839 Test: presubmit Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD Change-Id: I12a35682e25c3a70bc263afdc90a7895d6c56f11
This commit is contained in:
@@ -69,6 +69,7 @@ public final class RecentsViewStateController extends
|
||||
super.setState(state);
|
||||
if (state.overviewUi) {
|
||||
mRecentsView.updateEmptyMessage();
|
||||
} else {
|
||||
mRecentsView.resetTaskVisuals();
|
||||
}
|
||||
setAlphas(PropertySetter.NO_ANIM_PROPERTY_SETTER, new StateAnimationConfig(), state);
|
||||
|
||||
Reference in New Issue
Block a user