Merge "Don't remove content URI shortcuts during restore" into ub-now-porkchop

This commit is contained in:
Sunny Goyal
2014-09-05 14:58:26 +00:00
committed by Android (Google) Code Review
@@ -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,