Loading
Move REQUIRE_PROTOLOG check into LogcatOnlyProtoLogImpl
We were checking this condition in the static block of ProtoLog but this would be called on the first use of the ProtoLog class. So if we wanted to set ProtoLog.REQUIRE_PROTOLOGTOOL to false, this static block would execute before toggling REQUIRE_PROTOLOGTOOL. This was causing crashes in the initalization of SysUI which doesn't always pre-process the code. Bug: 351458758 Flag: EXEMPT bug fix Test: build a next target and boot the device Change-Id: If5fe3d3d5738ed09c87aafdfabb8b6e427957c1c