Update animation timing for split dismiss animation
* We weren't specifying an animation duration for the dismiss placeholder animation, and it wasn't inheriting from the animatorSet since that didn't have any duration set on it. * Now we explicitly set a duration (usually matching that of the current launcher state config) to the timings line up well Test: Repro steps don't show bug. Also tested on large screen dismissing contextual split from overview and home, seems fine Fixes: 314860754 Change-Id: I701e4f88c1ddd92561da4fb76715a859f587c91e
This commit is contained in:
1 parent
0b32b7a9cb
commit
9c29c1e1c4
6 files changed
+23
-18
No files matched your search
@@ -112,7 +112,8 @@ public abstract class BaseRecentsViewStateController<T extends RecentsView>
|
||||
boolean exitingOverview = !FeatureFlags.enableSplitContextually() && !toState.overviewUi;
|
||||
if (mRecentsView.isSplitSelectionActive() && exitingOverview) {
|
||||
setter.add(mRecentsView.getSplitSelectController().getSplitAnimationController()
|
||||
.createPlaceholderDismissAnim(mLauncher, LAUNCHER_SPLIT_SELECTION_EXIT_HOME));
|
||||
.createPlaceholderDismissAnim(mLauncher, LAUNCHER_SPLIT_SELECTION_EXIT_HOME,
|
||||
setter.getDuration()));
|
||||
setter.setViewAlpha(
|
||||
mRecentsView.getSplitInstructionsView(),
|
||||
0,
|
||||
|
||||
Reference in new issue
Block a user