diff options
| author | 2022-04-07 17:40:07 -0700 | |
|---|---|---|
| committer | 2022-04-11 11:50:34 -0700 | |
| commit | 412436f7fed2137591745ef597bb25e3a2d90d48 (patch) | |
| tree | affe93a4fecb987ea4a799774519623549650ec0 /java/kotlin.go | |
| parent | abc0dab4770b4fe27147388d90c9ef5f1f49feca (diff) | |
Don't panic if no certificates found
Getting the first certificate will panic if there are no certificates,
which can happen when AllowMissingDependencies is set and the
certificate property is a module reference to a missing module.
Only get the first certificate if the list is not nil.
Bug: 228379411
Test: TestAppMissingCertificateAllowMissingDependencies
Change-Id: I046d75dbbd4f21f4a2b6851f558e430e9879fcff
Diffstat (limited to 'java/kotlin.go')
0 files changed, 0 insertions, 0 deletions