summaryrefslogtreecommitdiff
path: root/Tethering/common/TetheringLib/src
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2021-11-01 12:01:59 +0900
committerRemi NGUYEN VAN <reminv@google.com>2021-11-01 13:23:27 +0900
commit5d99aa78f7d20bd34cf73e737b13a25e2c40a945 (patch)
tree047ecbec94a6686d73427d577b36c438e2a117f0 /Tethering/common/TetheringLib/src
parent65571769cd74cb5bcb3b6a4a88cf718cde1158b3 (diff)
Move fromStableParcelable to KeepaliveController
TcpKeepaliveController is the only user of KeepalivePacketDataUtil.fromStableParcelable. Because of fromStableParcelable, networkstack-client needs to depend on net-utils-framework-commonm, which pulls a lot of unnecessary classes. This is particularly problematic considering that networkstack-client may need to be redistributed as a prebuilt. Move the method to TcpKeepaliveController, simplifying dependencies. This also shows that fromStableParcelable could be removed altogether (or moved to tests) if TcpKeepaliveController built a TcpKeepalivePacketData class directly. Test: atest ConnectivityCoverageTests Change-Id: I554318f6bcd07c73d153598a0231e9fcaf912e90
Diffstat (limited to 'Tethering/common/TetheringLib/src')
0 files changed, 0 insertions, 0 deletions