summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Pablo Gamito <pablogamito@google.com> 2024-08-27 09:56:56 +0000
committer Pablo Gamito <pablogamito@google.com> 2024-08-27 10:49:56 +0000
commit0c940236eab0f7d33d235c2e4d9ce116a0744d01 (patch)
tree1acb21b7e8bdf5865f6e4e1e9962078aad536959 /api/api_test.go
parent8f5c9d287777ec76c93d98badd9b029f1cdda2bc (diff)
Initialize ProtoLog in SystemServer process
If ProtoLog is not initialized before it is used in the process we will get RuntimeExceptions. Previously all ProtoLog calls would be processed so the call would be re-written to use the generated ProtoLogImpl directly. However, we now support ProtoLogging from unprocessed files (Kotlin or Java files using new Java features) in which case the ProtoLog static class must be initailized since in those cases we don't go through the ProtoLogImpl generated class anymore. Test: boot test with ag/28322001 Bug: 358044587 Flag: EXEMPT bug fix Change-Id: Ief048131a374b51a5c535337edbe894571c2edbe
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions