Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0c940236 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

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
parent 8f5c9d28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment