Merge "Fix build"

This commit is contained in:
Narayan Kamath
2013-12-10 21:23:58 +00:00
committed by Gerrit Code Review
@@ -188,7 +188,7 @@ public class LauncherBackupHelper implements BackupHelper {
Log.e(TAG, "launcher backup has failed", e); Log.e(TAG, "launcher backup has failed", e);
} }
out.key = keys.toArray(BackupProtos.Key.EMPTY_ARRAY); out.key = keys.toArray(BackupProtos.Key.emptyArray());
writeJournal(newState, out); writeJournal(newState, out);
Log.v(TAG, "onBackup: wrote " + out.bytes + "b in " + out.rows + " rows."); Log.v(TAG, "onBackup: wrote " + out.bytes + "b in " + out.rows + " rows.");
} }
@@ -260,7 +260,7 @@ public class LauncherBackupHelper implements BackupHelper {
// will catch any changes the restore process might have made // will catch any changes the restore process might have made
Journal out = new Journal(); Journal out = new Journal();
out.t = 0; out.t = 0;
out.key = mKeys.toArray(BackupProtos.Key.EMPTY_ARRAY); out.key = mKeys.toArray(BackupProtos.Key.emptyArray());
writeJournal(newState, out); writeJournal(newState, out);
Log.v(TAG, "onRestore: read " + mKeys.size() + " rows"); Log.v(TAG, "onRestore: read " + mKeys.size() + " rows");
mKeys.clear(); mKeys.clear();