Commit 3395ec03 authored by John Lin's avatar John Lin
Browse files

Bug 1634170 - clear crypto info before reusing recycled sample....

Bug 1634170 - clear crypto info before reusing recycled sample. r=geckoview-reviewers,esawin a=pascalc

Differential Revision: https://phabricator.services.mozilla.com/D73989
parent d0159d76
...@@ -52,6 +52,7 @@ public final class Sample implements Parcelable { ...@@ -52,6 +52,7 @@ public final class Sample implements Parcelable {
private void readCrypto(final Parcel in) { private void readCrypto(final Parcel in) {
int hasCryptoInfo = in.readInt(); int hasCryptoInfo = in.readInt();
if (hasCryptoInfo == 0) { if (hasCryptoInfo == 0) {
cryptoInfo = null;
return; return;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment