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

Skip to content
Commit 71d6737b authored by Pablo Gamito's avatar Pablo Gamito
Browse files

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
parent 0d98f3df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment