Converting long item IDs to int
> Items ids were already being typecasted to int when being bound on the UI > Using a consistent type allow better use of platform data-structures > Adding IntArray and IntSet as a replacement for various Collection classes Change-Id: Id3c650ed2420c2bfca3bd7671d2b705b56112371
This commit is contained in:
1 parent
f307b6032e
commit
efb7e84242
39 files changed
+756
-403
No files matched your search
@@ -2063,7 +2063,7 @@ public class CellLayout extends ViewGroup {
|
||||
private void commitTempPlacement() {
|
||||
mTmpOccupied.copyTo(mOccupied);
|
||||
|
||||
long screenId = mLauncher.getWorkspace().getIdForScreen(this);
|
||||
int screenId = mLauncher.getWorkspace().getIdForScreen(this);
|
||||
int container = Favorites.CONTAINER_DESKTOP;
|
||||
|
||||
if (mContainerType == HOTSEAT) {
|
||||
@@ -2688,8 +2688,8 @@ public class CellLayout extends ViewGroup {
|
||||
// the CellLayout that was long clicked
|
||||
public static final class CellInfo extends CellAndSpan {
|
||||
public final View cell;
|
||||
final long screenId;
|
||||
final long container;
|
||||
final int screenId;
|
||||
final int container;
|
||||
|
||||
public CellInfo(View v, ItemInfo info) {
|
||||
cellX = info.cellX;
|
||||
|
||||
Reference in new issue
Block a user