CleanSpec: Trebuchet

Change-Id: Ib62491ac46bdc0b63d4d9b6fa069315f42c0af66
ShortcutInfo: Don't assume all stringified items have a title

Changes to some activities (some removals due to missing apps
or layout changes, for instance) result in icon updates for
items without a title. Attempting to stringify the item object
in order to log the update and assuming a title was present
was resulting in a NPE

Change-Id: I414bbb7feaf41d13a82c630a5652a3833b12a2fc
Reload launcher on expanded desktop

Change-Id: Ia8a1e61de79e3fa6dbadad826b0bc2844368c86b
PagedView: Prevent NPE

Change-Id: Ic8f0e1b5a5800c6da13feda2255b79b3ece852e6
Revert "Reload launcher on expanded desktop"

This reverts commit 0bb77f2a72957e29f8542154971996293f8e55ae.
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Trebuchet: fix uninstall app from shortcut

When uninstalling an app from a shortcut, there are 2 incorrect cases:

1.- If the user proceeds with the uninstall process, all the shortcuts references are removed
from the workspace, except the one used to start that process, because the shortcut is
removed from the workspace, but not from the favorites database. A reboot of the device
will restore the shortcut into the workspace again.

2.- If the user cancels the uninstall process, the shortcut used is not restored, because
it was removed in the drag&drop process.

This change restore the shortcut prior to start the uninstall process. For restoring the
shortcuts the patchset verifies 3 conditions:

1.- If the shortcut was in the desktop, the shortcut is restored in the same position.

2.- If the shortcut was contained by a folder with one or two shortcuts, then the folder
is removed in the darg&drop, so the folder is recreated in the same location, and all its
shortcuts are restored

3.- If the shortcut was contained by a folder with more than 2 shortcuts, the shortcut is
restored in the same folder.

If the user proceeds with the uninstall process then as the shortcut is present in the
workspace, the shortcut will be removed.

Change-Id: I95e2684d01cabd0d5a04f17c896c72cad2b14d38
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Fix NPE when uninstalling app