summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2023-04-11 16:57:04 +0800
committer Joanne Chung <joannechung@google.com> 2023-04-11 17:19:02 +0800
commit98221155d3c81612a5ea7c5b5252390082b77817 (patch)
tree2e8b5d00551c03ffa6c83eb97415c5f565eee008 /api/api.go
parentee20f05fe63ddbfe6a1e648fb386f9054e6487b3 (diff)
Improve translation debugging logging not work
The debug flag is set as a static variable, it only be reset after the process restarted. We receive many bugs that the debug flag is not enabled correctly, it's hard to guide users to do the correct set up. To improve this, we check isLoggable before logging it. This should improve the debug process with lab. Bug: 253558603 Bug: 230018939 Test: adb shell setprop log.tag.UiTranslation DEBUG and start the chat apps. The debug log can be printed Change-Id: I5b3cb1c2761641346ac800b1a19fd961f88a1886
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions