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

Skip to content
Commit ad102082 authored by Sal Savage's avatar Sal Savage
Browse files

Don't return from inside log tag enforced blocks

A few places in our code have return statements guarded by whether or
not DEBUG or VERBOSE logging is enabled. This is very dangerous and
allows for logic to be determined by log level settings. These are
certainly not intended and the return statements should be moved _out_
of the blocks, and be based on the conditions that caused that log.

Tag: #stability
Flag: EXEMPT, logical no-op, as logging flags were defaulted to true
Bug: 319446509
Test: atest HeadsetClientStateMachineTest.java
Test: atest LeAudioServiceTest.java
Change-Id: I2ae4e0a4c8042c7792460358ae98af367a65195a
parent 6144da32
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