Merge "Update version for serialized view (e.g. Saved Page)."

This commit is contained in:
Derek Sollenberger
2013-01-22 20:20:39 +00:00
committed by Android (Google) Code Review

View File

@@ -31,7 +31,8 @@ class ViewStateSerializer {
private static final int WORKING_STREAM_STORAGE = 16 * 1024; private static final int WORKING_STREAM_STORAGE = 16 * 1024;
static final int VERSION = 1; // VERSION = 1 was for pictures encoded using a previous copy of libskia
static final int VERSION = 2;
static boolean serializeViewState(OutputStream stream, DrawData draw) static boolean serializeViewState(OutputStream stream, DrawData draw)
throws IOException { throws IOException {