Merge "Fix bug where realtimeReorder is called after views have been unbound." into ub-launcher3-rvc-qpr-dev am: f55ccf4350 am: acecc0c3fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12196208 Change-Id: Id135a0d81cd6a37defe556058ffb51ddd475a7f7
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