only backup widgets assets once

Bug: 10778984
Change-Id: I6736f8b699c7fc5669f966a8b25819ea380480ab
This commit is contained in:
Chris Wren
2013-10-03 15:43:58 -04:00
parent 5b4b6904ae
commit b1fd63b843

View File

@@ -567,6 +567,7 @@ public class LauncherBackupAgent extends BackupAgent {
previewLoader.setPreviewSize(spanX * profile.cellWidthPx,
spanY * profile.cellHeightPx, widgetSpacingLayout);
byte[] blob = packWidget(dpi, previewLoader, iconCache, provider);
keys.add(key);
writeRowToBackup(key, blob, out, data);
} else {