diff options
author | Michael Jurka <mikejurka@google.com> | 2013-04-18 16:43:53 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-04-18 16:43:54 +0000 |
commit | 199d541c8d5a62551e7d78559824a52270e8cb13 (patch) | |
tree | 6b480e97a29a81b9e82a26a0b9f22302b796fca6 /src | |
parent | ac9cf013a57a673189253f03ace51481a930bf9a (diff) | |
parent | 74f053757701bcb897fb2ec11f8e2aa2d11491e6 (diff) | |
download | android_packages_apps_Trebuchet-199d541c8d5a62551e7d78559824a52270e8cb13.tar.gz android_packages_apps_Trebuchet-199d541c8d5a62551e7d78559824a52270e8cb13.tar.bz2 android_packages_apps_Trebuchet-199d541c8d5a62551e7d78559824a52270e8cb13.zip |
Merge "Trim widget names" into jb-mr2-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/launcher2/AppsCustomizePagedView.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java index a4a9ea9da..5601169b8 100644 --- a/src/com/android/launcher2/AppsCustomizePagedView.java +++ b/src/com/android/launcher2/AppsCustomizePagedView.java @@ -448,6 +448,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen Intent shortcutsIntent = new Intent(Intent.ACTION_CREATE_SHORTCUT); List<ResolveInfo> shortcuts = mPackageManager.queryIntentActivities(shortcutsIntent, 0); for (AppWidgetProviderInfo widget : widgets) { + widget.label = widget.label.trim(); if (widget.minWidth > 0 && widget.minHeight > 0) { // Ensure that all widgets we show can be added on a workspace of this size int[] spanXY = Launcher.getSpanForWidget(mLauncher, widget); |