mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Merge "Fix bug where realtimeReorder is called after views have been unbound." into ub-launcher3-rvc-qpr-dev am: f55ccf4350
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12196208 Change-Id: I5cd9dd385457a223c4a2553b1857f3e3a2c00e9d
This commit is contained in:
@@ -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