OSDN Git Service

DO NOT MERGE: Revert: use legacy way to get tcp packet count
authorjunyulai <junyulai@google.com>
Wed, 9 Jan 2019 02:23:20 +0000 (10:23 +0800)
committerjunyulai <junyulai@google.com>
Wed, 9 Jan 2019 02:38:32 +0000 (10:38 +0800)
commit2deb1e87844863624ee3b4134fc109251d7c0c47
tree3eb64d40bf5197e7bc5346fc8a2b6686a9a823c3
parentffb51ba0f002bfc952c2ff7154887f0d11b6efcc
DO NOT MERGE: Revert: use legacy way to get tcp packet count

In Q, legacy way to get tcp packet count is not planned to be
supported. Users who use this unsupported API e.g., data stall
detection are also planned to be removed.

Thus, this change reverts a5c3fb10f2576 which is the short term
solution in P.

Bug: 110443385
Test: atest FrameworksNetTests
Change-Id: Ia09f908edbf194b9aa873a3bdd5aee7b6fcb16bc
services/core/java/com/android/server/net/NetworkStatsService.java