Commit 646575a6 authored by Alex Klyubin's avatar Alex Klyubin
Browse files

Require actual certificates for testNoAddedCertificates.

Until now, this test required only SHA-1 fingerprints of OEM-added
certificates to be present. To ensure more transparency and future
extensibility this CL makes this test require full contents of
certificates.

P.S. The base class of this test was changed from AndroidTestCase to
InstrumentationTestCase because it now needs to access assets from
the test package. Assets contain permitted OEM-added certificates.

Bug: 11483665

(cherry picked from commit 49ae0bb4)

Change-Id: I03df26a9b4d7c8094dff1e91815298c1f103cb22
parent f6bf3177
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment