We actually allow restoring to the wrong size widget, since the backups are almost completely compatible. We ignore the widgetSize and widgetView values, that are used to layout the widget (and was breaking stuff if the wrong size widget was restored).
The net effect is that the restore works, but if they try restoring a size 10 widget to a size 4 widget then we show them a message saying some stocks could not be restored.
This is a better solution as it allows re-use of backups across widget types.
We actually allow restoring to the wrong size widget, since the backups are almost completely compatible. We ignore the widgetSize and widgetView values, that are used to layout the widget (and was breaking stuff if the wrong size widget was restored).
The net effect is that the restore works, but if they try restoring a size 10 widget to a size 4 widget then we show them a message saying some stocks could not be restored.
This is a better solution as it allows re-use of backups across widget types.