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

Skip to content
Commit ab77bd97 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Don't call 'getShortDescription' when tracing is not enabled

The call to 'getShortDescription' is expensive. Currently, it's called
even if tracing is not enabled, which slows down input processing. Move
this into an 'if' statement, which will ensure that it's only called if
tracing is enabled.

If we find that this is still too expensive (slows down input processing
too much when tracing is enabled), we should consider getting rid of
this trace completely.

Bug: 395115521
Flag: EXEMPT bugfix
Test: none
Change-Id: Icbf2ea32e6ebc4c944d214c953b11a5d7a7cdede
parent 1d883bc1
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