Fix overview grid scroll problem
- This can be reproduced ocassionally without any obvious pattern, when this happen the page scroll and min/max scroll is messed up - When this happen, onLayout happens before the first setGridProgress call from animations - The fix is to request a relayout at the end of state transition Bug: 174464863 Test: manual Change-Id: I12683c49d7ed72349a4b9cb3b4d3871741e3e22e
This commit is contained in:
@@ -160,6 +160,8 @@ public class LauncherRecentsView extends RecentsView<BaseQuickstepLauncher>
|
||||
reset();
|
||||
}
|
||||
setOverlayEnabled(finalState == OVERVIEW || finalState == OVERVIEW_MODAL_TASK);
|
||||
setOverviewGridEnabled(finalState.displayOverviewTasksAsGrid(mActivity));
|
||||
setOverviewFullscreenEnabled(finalState.getOverviewFullscreenProgress() == 1);
|
||||
setFreezeViewVisibility(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user