am 33f4c2df: first backup should save things from the beginning of time
* commit '33f4c2df28228f93d96e9b1d1bfad52d715d917b': first backup should save things from the beginning of time
This commit is contained in:
@@ -297,7 +297,7 @@ public class LauncherBackupHelper implements BackupHelper {
|
||||
Key key = getKey(Key.FAVORITE, id);
|
||||
keys.add(key);
|
||||
currentIds.add(keyToBackupKey(key));
|
||||
if (updateTime > in.t) {
|
||||
if (updateTime >= in.t) {
|
||||
byte[] blob = packFavorite(cursor);
|
||||
writeRowToBackup(key, blob, out, data);
|
||||
}
|
||||
@@ -365,7 +365,7 @@ public class LauncherBackupHelper implements BackupHelper {
|
||||
Key key = getKey(Key.SCREEN, id);
|
||||
keys.add(key);
|
||||
currentIds.add(keyToBackupKey(key));
|
||||
if (updateTime > in.t) {
|
||||
if (updateTime >= in.t) {
|
||||
byte[] blob = packScreen(cursor);
|
||||
writeRowToBackup(key, blob, out, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user