mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
This commit is contained in:
@@ -86,10 +86,16 @@ class ItemInfo {
|
||||
*/
|
||||
int[] dropPos = null;
|
||||
|
||||
ItemInfo() {
|
||||
/*
|
||||
* A tag to know where this item was created
|
||||
*/
|
||||
String whereCreated;
|
||||
|
||||
ItemInfo(String whereCreated) {
|
||||
this.whereCreated = whereCreated;
|
||||
}
|
||||
|
||||
ItemInfo(ItemInfo info) {
|
||||
ItemInfo(ItemInfo info, String whereCreated) {
|
||||
id = info.id;
|
||||
cellX = info.cellX;
|
||||
cellY = info.cellY;
|
||||
@@ -98,6 +104,7 @@ class ItemInfo {
|
||||
screen = info.screen;
|
||||
itemType = info.itemType;
|
||||
container = info.container;
|
||||
this.whereCreated = whereCreated;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user