summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-01-30 19:55:30 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-03-17 22:29:37 +0900
commit751ce74a7de594abea56e388567cb7cec629bba7 (patch)
treede2dab2526f4c9be3931b5389598de8dde3899eb /tools/aapt2/java/JavaClassGenerator.cpp
parenta8661883bd719414bc8abcee840244d349c7ac87 (diff)
Shorten the output of NetworkAgentInfo#toString().
Currently, printing a NetworkAgentInfo results in a very long string. Make it a bit shorter by: - Not printing a number of fields in NetworkInfo that are no longer used. - Instead of printing flags regardless of whether they are true false, only print ones that are true. For example, this changes everCaptivePortalDetected{true} lastCaptivePortalDetected{false} captivePortalValidationPending{false} to: everCaptivePortalDetected - Only printing clat information if clatd is started. Also, put the long and variable-length fields lp and nc at the end of the output. Test: manual Change-Id: I3312286be307ef1762890cbc6b717f12ce5b2b92
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions