Zyan Wu
b7550aa09a
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.
Use mainCertificate since it handles the logic already.
Test: TestAppMissingCertificateAllowMissingDependencies
Bug: 283102635
Change-Id: I8b27f65aa7d071041171ad45ac52bf47fa31bf2b
2023-05-18 15:46:31 +08:00
..
2023-04-06 18:34:32 +00:00
2023-04-03 23:42:08 +00:00
2022-09-23 19:11:11 +02:00
2022-08-02 16:12:06 -04:00
2023-05-10 15:33:10 +00:00
2023-04-28 16:23:53 +00:00
2021-12-07 09:41:49 -05:00
2023-05-11 18:24:44 +01:00
2022-10-04 03:26:05 +00:00
2023-05-17 19:07:16 +00:00
2022-09-23 19:11:11 +02:00
2023-05-04 12:38:24 -07:00
2023-05-04 12:38:24 -07:00
2023-03-21 08:13:25 -07:00
2023-03-21 08:13:25 -07:00
2023-05-18 15:46:31 +08:00
2023-05-18 15:46:31 +08:00
2023-04-06 18:34:32 +00:00
2021-06-22 14:55:30 +01:00
2022-09-16 18:24:49 +00:00
2023-05-11 19:04:17 +01:00
2022-05-11 15:20:37 +00:00
2023-04-25 15:04:58 -07:00
2022-08-17 10:43:13 -07:00
2023-03-23 19:38:56 +00:00
2023-04-11 21:05:48 -04:00
2023-05-08 21:29:23 +01:00
2023-05-12 12:30:07 +02:00
2023-05-11 19:04:17 +01:00
2021-12-21 12:51:36 +00:00
2023-03-16 08:46:29 +00:00
2023-05-11 19:04:17 +01:00
2023-05-11 19:04:17 +01:00
2023-05-11 18:24:44 +01:00
2023-05-08 21:29:23 +01:00
2021-03-30 20:03:22 +01:00
2023-03-23 19:38:56 +00:00
2023-02-04 00:29:33 +00:00
2023-02-04 00:29:33 +00:00
2023-05-17 19:07:16 +00:00
2023-05-17 19:07:16 +00:00
2022-08-25 14:47:41 -04:00
2022-01-21 17:50:40 +00:00
2022-08-17 10:43:13 -07:00
2023-04-06 18:34:32 +00:00
2021-08-06 13:40:34 +01:00
2023-05-11 18:24:44 +01:00
2021-05-27 17:23:16 +00:00
2023-03-22 20:15:45 +00:00
2021-06-30 14:29:49 -04:00
2022-09-09 16:50:38 -04:00
2022-05-10 14:32:52 +00:00
2023-05-11 18:24:44 +01:00
2023-05-17 19:07:16 +00:00
2023-01-11 13:26:04 +09:00
2023-01-20 17:05:14 -05:00
2022-06-28 16:06:16 -07:00
2023-04-06 18:34:32 +00:00
2023-03-09 14:11:47 +00:00
2023-02-28 21:18:17 -08:00
2023-03-22 17:52:56 +00:00
2023-05-11 18:24:44 +01:00
2023-05-11 19:04:17 +01:00
2021-03-22 19:13:40 +00:00
2022-12-12 17:33:06 +00:00
2021-07-20 12:46:48 -07:00
2022-11-15 20:01:29 +00:00
2022-09-21 11:51:21 +00:00
2023-05-10 18:23:51 +00:00
2022-02-07 22:39:38 +00:00
2023-04-11 21:05:48 -04:00
2022-09-28 09:46:35 -07:00
2022-09-23 19:11:11 +02:00
2023-02-15 03:18:55 +08:00
2022-10-07 18:21:34 +00:00
2023-03-23 19:38:56 +00:00
2022-08-17 10:43:13 -07:00
2023-02-07 18:45:38 +00:00
2023-03-30 00:34:36 +00:00
2021-11-03 16:58:29 +00:00
2023-04-03 23:42:08 +00:00
2021-03-31 16:03:59 +01:00
2022-12-12 17:33:06 +00:00
2021-11-30 10:51:10 +00:00
2022-12-12 17:33:06 +00:00
2023-05-11 18:25:18 +01:00