diff options
Diffstat (limited to 'src/com/android/launcher3/ItemInfo.java')
-rw-r--r-- | src/com/android/launcher3/ItemInfo.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/launcher3/ItemInfo.java b/src/com/android/launcher3/ItemInfo.java index 74f16e325..fe030171b 100644 --- a/src/com/android/launcher3/ItemInfo.java +++ b/src/com/android/launcher3/ItemInfo.java @@ -108,6 +108,11 @@ public class ItemInfo { CharSequence title; /** + * Content description of the item. + */ + String contentDescription; + + /** * The position of the item in a drag-and-drop operation. */ int[] dropPos = null; @@ -115,6 +120,7 @@ public class ItemInfo { UserHandleCompat user; ItemInfo() { + user = UserHandleCompat.myUserHandle(); } ItemInfo(ItemInfo info) { @@ -127,6 +133,7 @@ public class ItemInfo { itemType = info.itemType; container = info.container; user = info.user; + contentDescription = info.contentDescription; // tempdebug: LauncherModel.checkItemInfo(this); } |