Do not trim folder title

Bug: 21297281
Change-Id: I633780f8207aabc8362f016e6b5a6e720cee1b86
This commit is contained in:
Sunny Goyal
2015-05-21 09:33:57 -07:00
parent c393b0765d
commit a508e4f804
2 changed files with 5 additions and 3 deletions

View File

@@ -968,7 +968,8 @@ public class LauncherModel extends BroadcastReceiver
break;
}
folderInfo.title = Utilities.trim(c.getString(titleIndex));
// Do not trim the folder label, as is was set by the user.
folderInfo.title = c.getString(titleIndex);
folderInfo.id = id;
folderInfo.container = c.getInt(containerIndex);
folderInfo.screenId = c.getInt(screenIndex);
@@ -2110,7 +2111,8 @@ public class LauncherModel extends BroadcastReceiver
id = c.getLong(idIndex);
FolderInfo folderInfo = findOrMakeFolder(sBgFolders, id);
folderInfo.title = Utilities.trim(c.getString(titleIndex));
// Do not trim the folder label, as is was set by the user.
folderInfo.title = c.getString(titleIndex);
folderInfo.id = id;
container = c.getInt(containerIndex);
folderInfo.container = container;