Description[Android log] Promote using hardcoded string tags
This is to avoid static initializers that would make the code slower.
See the linked bug for discussion.
This patch deprecates Log#makeTag(String) and adds presubmit checks
to enforce at submit time what makeTag was trying to do: length and
naming rules
BUG=485772
Committed: https://crrev.com/aa68d5ec85d3d708557fe8004e6e6ad04416cd0d
Cr-Commit-Position: refs/heads/master@{#333710}
Patch Set 1 #Patch Set 2 : Add presubmit #Patch Set 3 : Add length check and test, remove java tag check #
Total comments: 1
Patch Set 4 : Rebased, renamed the android group check #
Messages
Total messages: 14 (5 generated)
|