summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppInfo.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-09-01 10:55:20 -0700
committerSunny Goyal <sunnygoyal@google.com>2016-09-01 10:55:45 -0700
commit1edab71d010f3efdde212b96aa1a44ab7a5b4ee5 (patch)
tree48d0d361a74755b77488ba588f3974653801a814 /src/com/android/launcher3/AppInfo.java
parent35908f9e67b9cdae917385ef9e67e168cb0c93b3 (diff)
downloadpackages_apps_Trebuchet-1edab71d010f3efdde212b96aa1a44ab7a5b4ee5.tar.gz
packages_apps_Trebuchet-1edab71d010f3efdde212b96aa1a44ab7a5b4ee5.tar.bz2
packages_apps_Trebuchet-1edab71d010f3efdde212b96aa1a44ab7a5b4ee5.zip
Unifying toString() method for various ItemInfo subclasses
Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
Diffstat (limited to 'src/com/android/launcher3/AppInfo.java')
-rw-r--r--src/com/android/launcher3/AppInfo.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/launcher3/AppInfo.java b/src/com/android/launcher3/AppInfo.java
index e0694f3cf..604b16463 100644
--- a/src/com/android/launcher3/AppInfo.java
+++ b/src/com/android/launcher3/AppInfo.java
@@ -125,11 +125,8 @@ public class AppInfo extends ItemInfo {
}
@Override
- public String toString() {
- return "ApplicationInfo(title=" + title + " id=" + this.id
- + " type=" + this.itemType + " container=" + this.container
- + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY
- + " spanX=" + spanX + " spanY=" + spanY + " user=" + user + ")";
+ protected String dumpProperties() {
+ return super.dumpProperties() + " componentName=" + componentName;
}
/**