mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Merge "Fix bug where realtimeReorder is called after views have been unbound." into ub-launcher3-rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f55ccf4350
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user