diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2018-09-28 11:31:55 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2018-10-01 12:05:42 +0900 |
commit | 2e31a7c0044bbb477bcd967f5b13b00b2da085f6 (patch) | |
tree | 8d51dcbc95aef3b3b117605b5f13ada5f63ab0b6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5604cc2516c788ab6242aef72f851e8771a31161 (diff) |
Make requestRouteToHost a no-op for system callers.
Everything in the system should now be using proper multinetwork
APIs instead of this insecure and error-prone API.
Make this method do nothing when called by the system. For now,
keep the code around for backwards compatibility for apps
targeting Android releases before M.
Bug: 25824776
Bug: 25876485
Test: FrameworksNetTests pass
Test: CtsNetTestCasesLegacyApi22 pass
Test: CtsNetTestCasesLegacyPermission22 pass
Test: android.net.cts.ConnectivityManagerTest passes
Change-Id: I9b3557faccccc95c7b954db6a13b853b4c7edea0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions