OSDN Git Service

onDropChild() always marks the cell as occupied.
authorTony Wickham <twickham@google.com>
Thu, 17 Sep 2015 18:08:27 +0000 (11:08 -0700)
committerTony Wickham <twickham@google.com>
Thu, 17 Sep 2015 19:48:08 +0000 (19:48 +0000)
Bug: 24164487
Change-Id: I11ef638a56b638ee82c3cd748340995970fc7e32

src/com/android/launcher3/CellLayout.java

index c018341..d488737 100644 (file)
@@ -2667,6 +2667,7 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
             LayoutParams lp = (LayoutParams) child.getLayoutParams();
             lp.dropped = true;
             child.requestLayout();
+            markCellsAsOccupiedForView(child);
         }
     }