diff options
| author | 2024-07-08 13:31:08 +0000 | |
|---|---|---|
| committer | 2024-07-08 13:35:44 +0000 | |
| commit | 71d6737b41f8804bf67fe71c62dc1f99ac94f050 (patch) | |
| tree | 813822428a0a865049ba876776a53a0d0d0dcbca /libs/androidfw/StringPool.cpp | |
| parent | 0d98f3df6eb6878713eabfc2577bc4d3b3cbe851 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions