diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2020-11-16 09:34:52 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2020-11-18 17:10:11 +0900 |
commit | 945b512d4d89f85fe6f5c0ebad951194b9aaf56c (patch) | |
tree | 728cf199352c5b72ace23b43bd7bcd7078cbc94d /rs/java/android/renderscript/ProgramStore.java | |
parent | a637f2771d278dfa082221f0385f62e3c6781e50 (diff) |
Minor fixes to NetworkCapabilities#toString.
1. The current code only prints the array of administrator UIDs
if it's empty. This is clearly an oversight. Print it only if
it's non-empty.
2. Only print requestor UID and package name if they are set.
This makes output shorter in the common case that they are
unset.
3. Reorder the output at the end: group all UIDs together, and
place SSID and private DNS broken bit after that.
4. Make the private DNS broken indication a single word instead
of a sentence. This saves space and makes it easier to write
regexps.
New format:
... SignalStrength: -72 OwnerUid: 1000 AdminUids: [1000] SSID: ...
... Uid: 1000 RequestorUid: 1000 RequestorPkg: android ...
Test: manual
Change-Id: I2f5ccc1d9e4af6ddacc4d193185a17723822972b
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions