diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/com/android/launcher3/DecoderRing.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/com/android/launcher3/DecoderRing.java b/util/com/android/launcher3/DecoderRing.java index cde845e33..b7349fef7 100644 --- a/util/com/android/launcher3/DecoderRing.java +++ b/util/com/android/launcher3/DecoderRing.java @@ -100,7 +100,7 @@ class DecoderRing { if (type == Key.class) { Key key = new Key(); try { - MessageNano.mergeFrom(key, byteStream.toByteArray()); + key = Key.parseFrom(byteStream.toByteArray()); } catch (InvalidProtocolBufferNanoException e) { System.err.println("failed to parse proto: " + e); System.exit(1); |