Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d7ddce1 authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android (Google) Code Review
Browse files

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

parents 9c4012b3 49eab2a8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -31,7 +31,8 @@ class ViewStateSerializer {

    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)
            throws IOException {