summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/LinkAddressTest.java
diff options
context:
space:
mode:
authorAaron Huang <huangaaron@google.com>2021-01-21 15:47:41 +0800
committerAaron Huang <huangaaron@google.com>2021-03-03 15:43:30 +0800
commit959d36435bd187f3e80d5759a6e2ab91675ef096 (patch)
tree3d31d7b560dfafa229c1cb70bea7940c67705f6b /tests/common/java/android/net/LinkAddressTest.java
parentdf25b4e59161091af36e0d3da661807a22e9cb28 (diff)
Remove PersistableBundle(Bundle) usage from ConnectivityService
Because the constuctor PersistableBundle(Bundle) is a hidden API which is not visible to connectivity mainline module. Currently, EVENT_NETWORK_TESTED and EVENT_DATA_STALL_SUSPECTED are two events sent by ConnectivityService so they can build a PersistableBundle directly and send PersistableBundle instead of setting Bundle in the data field of the Message. For EVENT_NETWORK_TESTED, add a new PersistableBundle member in ConnectivityReportEvent so that the PersistableBundle can be passed with ConnectivityReportEvent. For EVENT_DATA_STALL_SUSPECTED, create a Pair<Long, PersistableBundle> and put this in .obj of the Message, then the PersistableBundle can be sent with timestampMillis together. Bug: 177865050 Test: FrameworksNetTests Change-Id: Ia2220f33f000e7c9439d97617cc08014dc4478a3
Diffstat (limited to 'tests/common/java/android/net/LinkAddressTest.java')
0 files changed, 0 insertions, 0 deletions