Copy minSpanX & minSpanY when copying from an existing ItemInfo
Test: Drop Gmail widget to home screen and configure it. Then, drop the widget to a home screen that doesn't have sufficient space to accommodate it. The gmail widget can't be dropped to that home page and is returned to its original position. Fix: 190582606 Change-Id: I177c09562d059b658e835cbb7fdde0d7bc6565d2
This commit is contained in:
parent
dd19a24769
commit
7b27e7d061
|
@ -168,6 +168,8 @@ public class ItemInfo {
|
|||
cellY = info.cellY;
|
||||
spanX = info.spanX;
|
||||
spanY = info.spanY;
|
||||
minSpanX = info.minSpanX;
|
||||
minSpanY = info.minSpanY;
|
||||
rank = info.rank;
|
||||
screenId = info.screenId;
|
||||
itemType = info.itemType;
|
||||
|
|
Loading…
Reference in New Issue