summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Junyu Lai <junyulai@google.com> 2021-12-28 16:18:43 +0000
committer Junyu Lai <junyulai@google.com> 2022-01-17 13:54:06 +0000
commit6f4cedb5fd4f479930a48c6a1c1737a42e409598 (patch)
tree043d5bfd6166abedbbd7449336f999744dc147d8 /api/api.go
parenta5729ee2dcb40c8067cb02e986170393ebcc67b6 (diff)
[MS30] Remove ServiceManager#getService dependency
Since TrafficStats is moving into the mainline module, ServiceManager#getService can no longer be accessed. This change use reflection to access getService, since there is no offical way to get the service binder, and TrafficStats is a static utility that doesn't have the context to invoke Context#getSystemService. This change also fixes minor lint errors. Test: atest CtsNetTestCases:TrafficStatsTest Bug: 204830222 Change-Id: I5caec42a71431b39f747fc791b8511d92e5cf7cc
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions