summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/ItemInfo.java
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2014-06-30 12:30:31 +0100
committerKenny Guy <kennyguy@google.com>2014-06-30 12:30:31 +0100
commitc2bd8101b8e26b9ebb2c079ae6867229dad3f196 (patch)
treea959a1cb19ea9b5b1f2b606a0b4a70cff9f8ed8f /src/com/android/launcher3/ItemInfo.java
parent40c5ed303909c4df71037be3429aa1423e59585f (diff)
downloadandroid_packages_apps_Trebuchet-c2bd8101b8e26b9ebb2c079ae6867229dad3f196.tar.gz
android_packages_apps_Trebuchet-c2bd8101b8e26b9ebb2c079ae6867229dad3f196.tar.bz2
android_packages_apps_Trebuchet-c2bd8101b8e26b9ebb2c079ae6867229dad3f196.zip
Revert "Revert Cls stopping now-master running on googlefood"
This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
Diffstat (limited to 'src/com/android/launcher3/ItemInfo.java')
-rw-r--r--src/com/android/launcher3/ItemInfo.java7
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);
}