NativeTombstoneManager: fix tombstone parsing.

For unclear reasons, this was silently succeeding on AOSP, and throwing
a ProtoParseException on internal.

Bug: http://b/159164105
Test: `adb shell crasher` on sc-vf-dev, sc-dev
Change-Id: I605e9db49e344bd57a4e33d32808ca2b5b6f4231
This commit is contained in:
Josh Gao
2021-02-19 16:25:47 -08:00
parent 5fea1d9a01
commit d6ed3cd9da

View File

@@ -425,7 +425,7 @@ public final class NativeTombstoneManager {
}
}
stream.end(token);
break;
case (int) Tombstone.SELINUX_LABEL:
selinuxLabel = stream.readString(Tombstone.SELINUX_LABEL);