commit | f33864e651d15aeca1322cb2ce375e918533299b | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Wed Nov 11 15:00:46 2020 -0800 |
committer | Nathan Harold <nharold@google.com> | Wed Nov 11 15:00:48 2020 -0800 |
tree | 6362a2e59513ad070f37318f21b134d3a61f8f94 | |
parent | ef2c66e72f90eff8beb01313ba1cf873f3c3de21 [diff] |
Kibosh the NrState Strings The toString() method of NetworkRegistrationInfo and ServiceState are being abused to get info that apps really should be using: becuase the info can be misleading. Instead, callers should use ServiceState#getCellBandwidths() and or the onLinkDownstreamBandwidthKbps() methods from Connectivity that are part of LinkProperties. Bug: 172999992 Test: wip Change-Id: Id4658acd30a50b35d55456ecca19bd92319eeba5