Trim all whitespace from titles and labels.
Bug: 20953160 Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
This commit is contained in:
@@ -105,7 +105,7 @@ public class AppInfo extends ItemInfo {
|
||||
public AppInfo(AppInfo info) {
|
||||
super(info);
|
||||
componentName = info.componentName;
|
||||
title = info.title.toString();
|
||||
title = Utilities.trim(info.title);
|
||||
intent = new Intent(info.intent);
|
||||
flags = info.flags;
|
||||
firstInstallTime = info.firstInstallTime;
|
||||
@@ -114,7 +114,7 @@ public class AppInfo extends ItemInfo {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ApplicationInfo(title=" + title.toString() + " id=" + this.id
|
||||
return "ApplicationInfo(title=" + title + " id=" + this.id
|
||||
+ " type=" + this.itemType + " container=" + this.container
|
||||
+ " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY
|
||||
+ " spanX=" + spanX + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos)
|
||||
|
||||
Reference in New Issue
Block a user