Commit 702f9bf7 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Kenny Root
Browse files

Preserve original encoded certificate bytes.

Sadly, the publicly visible android.content.pm.Signature object needs
to return the untouched bytes from the parsed APK certificate.  Since
some CertificateFactory implementations may try re-encoding the
certificate, we defensively keep around the original encoded bytes
and return them when asked.

(cherry-pick of commit 0c990ab4)

Bug: 18206852, 18228011
Change-Id: I6016eaea23a7f43cf9249ec43cfde1f8ed4ff841
parent 9ed62cd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment