Merge "Fix bug where realtimeReorder is called after views have been unbound." into ub-launcher3-rvc-qpr-dev

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2020-07-20 23:01:30 +00:00
commit f55ccf4350
1 file changed
+3
@@ -500,6 +500,9 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> {
* Reorders the items such that the {@param empty} spot moves to {@param target}
*/
public void realTimeReorder(int empty, int target) {
if (!mViewsBound) {
return;
}
completePendingPageChanges();
int delay = 0;
float delayAmount = START_VIEW_REORDER_DELAY;