Merge "Update version for serialized view (e.g. Saved Page)."
This commit is contained in:
committed by
Android (Google) Code Review
commit
0d7ddce178
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user