Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Launcher2
Commits
199d541c
Commit
199d541c
authored
12 years ago
by
Michael Jurka
Committed by
Android (Google) Code Review
12 years ago
Browse files
Options
Download
Plain Diff
Merge "Trim widget names" into jb-mr2-dev
parents
ac9cf013
74f05375
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/com/android/launcher2/AppsCustomizePagedView.java
src/com/android/launcher2/AppsCustomizePagedView.java
+1
-0
No files found.
src/com/android/launcher2/AppsCustomizePagedView.java
View file @
199d541c
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment