summaryrefslogtreecommitdiff
path: root/src/com/android/launcher2/ItemInfo.java
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2014-06-18 16:15:53 +0100
committerKenny Guy <kennyguy@google.com>2014-06-19 15:31:51 +0100
commit4d3aca0989c48084c0c387d6010bd5b601c25668 (patch)
tree94d9cc944fa6cd2333bab99b51df2230ae7cd1dc /src/com/android/launcher2/ItemInfo.java
parent5ec6eca0ae6255a6773f7659dbf73dca02a48f28 (diff)
downloadLauncher2-4d3aca0989c48084c0c387d6010bd5b601c25668.tar.gz
Add content description for apps from profiles.
Add content description to apps so that apps from the managed profile are described differently to the same app in the personal profile. Bug: 15106236 Change-Id: I3fb151aadd947f48f85392cd9be8222c37b2dfcf
Diffstat (limited to 'src/com/android/launcher2/ItemInfo.java')
-rw-r--r--src/com/android/launcher2/ItemInfo.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher2/ItemInfo.java b/src/com/android/launcher2/ItemInfo.java
index dc5d3c71..fce2c2b6 100644
--- a/src/com/android/launcher2/ItemInfo.java
+++ b/src/com/android/launcher2/ItemInfo.java
@@ -106,6 +106,11 @@ class ItemInfo {
CharSequence title;
/**
+ * Content description for the item.
+ */
+ String contentDescription;
+
+ /**
* The position of the item in a drag-and-drop operation.
*/
int[] dropPos = null;
@@ -126,6 +131,7 @@ class ItemInfo {
itemType = info.itemType;
container = info.container;
user = info.user;
+ contentDescription = info.contentDescription;
// tempdebug:
LauncherModel.checkItemInfo(this);
}