am 5bb4c94a: Merge "Don\'t remove content URI shortcuts during restore" into ub-now-porkchop

* commit '5bb4c94a175938dff8178d781a3a839cbdc142b1':
  Don't remove content URI shortcuts during restore
This commit is contained in:
Sunny Goyal
2014-09-05 15:34:42 +00:00
committed by Android Git Automerger
@@ -2035,6 +2035,10 @@ public class LauncherModel extends BroadcastReceiver
allowMissingTarget = true;
// Add the icon on the workspace anyway.
}
} else if (cn == null) {
// For shortcuts with no component, keep them as they are
restoredRows.add(id);
restored = false;
}
} catch (URISyntaxException e) {
Launcher.addDumpLog(TAG,