Merge "Fix grid layout problem after going back from split select" into sc-v2-dev
This commit is contained in:
commit
226bd5b973
3 files changed
+9
-25
No files matched your search
@@ -90,8 +90,10 @@ public final class RecentsViewStateController extends
|
||||
LauncherState currentState = mLauncher.getStateManager().getState();
|
||||
if (isSplitSelectionState(toState) && !isSplitSelectionState(currentState)) {
|
||||
builder.add(mRecentsView.createSplitSelectInitAnimation().buildAnim());
|
||||
mRecentsView.applySplitPrimaryScrollOffset();
|
||||
} else if (!isSplitSelectionState(toState) && isSplitSelectionState(currentState)) {
|
||||
builder.add(mRecentsView.cancelSplitSelect(true).buildAnim());
|
||||
mRecentsView.resetSplitPrimaryScrollOffset();
|
||||
}
|
||||
|
||||
setAlphas(builder, config, toState);
|
||||
|
||||
Reference in new issue
Block a user