diff options
author | David Su <dysu@google.com> | 2020-02-03 16:57:42 -0800 |
---|---|---|
committer | David Su <dysu@google.com> | 2020-02-03 16:57:42 -0800 |
commit | 859331aa11d978c3935ceb955922029e11686df4 (patch) | |
tree | 8d39bb0fc645e5223e2b30355516061d1bd10041 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | eb765283e3958ddd720bca1357a9dbc0d5084467 (diff) |
Register RttManager correctly
RttManager is an exception in that the
service name (Context.WIFI_RTT_SERVICE)
it is published under is different from its
binder name (Context.WIFI_RTT_RANGING_SERVICE).
When
`SystemServiceRegistry.registerContextAwareService()`
tries to get the binder of Context.WIFI_RTT_SERVICE,
it won't find anything since there is no binder
published under that name. Thus, the registration
will fail.
Instead, delegate RttManager construction to
WifiRttManager construction.
Bug: 148817663
Test: atest android.net.wifi.rtt.cts.WifiRttTest
Change-Id: I94e505583689f3fd3836dba2f7feb0e7f0ab1378
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions