Loading src/com/android/launcher3/LauncherBackupHelper.java +6 −4 Original line number Diff line number Diff line Loading @@ -299,8 +299,9 @@ public class LauncherBackupHelper implements BackupHelper { final long updateTime = cursor.getLong(ID_MODIFIED); Key key = getKey(Key.FAVORITE, id); keys.add(key); currentIds.add(keyToBackupKey(key)); if (updateTime >= in.t) { final String backupKey = keyToBackupKey(key); currentIds.add(backupKey); if (!savedIds.contains(backupKey) || updateTime >= in.t) { byte[] blob = packFavorite(cursor); writeRowToBackup(key, blob, out, data); } Loading Loading @@ -367,8 +368,9 @@ public class LauncherBackupHelper implements BackupHelper { final long updateTime = cursor.getLong(ID_MODIFIED); Key key = getKey(Key.SCREEN, id); keys.add(key); currentIds.add(keyToBackupKey(key)); if (updateTime >= in.t) { final String backupKey = keyToBackupKey(key); currentIds.add(backupKey); if (!savedIds.contains(backupKey) || updateTime >= in.t) { byte[] blob = packScreen(cursor); writeRowToBackup(key, blob, out, data); } Loading Loading
src/com/android/launcher3/LauncherBackupHelper.java +6 −4 Original line number Diff line number Diff line Loading @@ -299,8 +299,9 @@ public class LauncherBackupHelper implements BackupHelper { final long updateTime = cursor.getLong(ID_MODIFIED); Key key = getKey(Key.FAVORITE, id); keys.add(key); currentIds.add(keyToBackupKey(key)); if (updateTime >= in.t) { final String backupKey = keyToBackupKey(key); currentIds.add(backupKey); if (!savedIds.contains(backupKey) || updateTime >= in.t) { byte[] blob = packFavorite(cursor); writeRowToBackup(key, blob, out, data); } Loading Loading @@ -367,8 +368,9 @@ public class LauncherBackupHelper implements BackupHelper { final long updateTime = cursor.getLong(ID_MODIFIED); Key key = getKey(Key.SCREEN, id); keys.add(key); currentIds.add(keyToBackupKey(key)); if (updateTime >= in.t) { final String backupKey = keyToBackupKey(key); currentIds.add(backupKey); if (!savedIds.contains(backupKey) || updateTime >= in.t) { byte[] blob = packScreen(cursor); writeRowToBackup(key, blob, out, data); } Loading