summaryrefslogtreecommitdiff
path: root/keystore/java/android/security/KeyChain.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-11-25 20:28:50 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-11-27 11:46:19 +0900
commitdef4cb0c7d92143aa440d935c4d49783032249c5 (patch)
tree1f7919d0ddf38adf6f0ac07169479a7583c15247 /keystore/java/android/security/KeyChain.java
parent2c1a253f2297bf9682105924aee828a0c5897027 (diff)
Don't match network requests to legacy API requests.
Currently, we look at network requests that are created by the current requestNetwork API to see if they look like requests that could have been created using the legacy startUsingNetworkFeature API. This causes those networks to be added to LegacyTypeTracker, and so cause CONNECTIVITY_ACTION broadcasts, be accessible using getNetworkInfo(int type), etc. This was done in the L timeframe so that apps could request networks using the then-new requestNetwork APIs and still use them using legacy APIs such as requestRouteToHost. However, the resulting CONNECTIVITY_ACTION broadcasts are expensive. requestRouteToHost has been deprecated since L, and mixing the old and new APIs was never recommended, so it's time to delete this hack. Bug: 22513439 Bug: 23350688 Bug: 25295964 Change-Id: Id867058446e5ee44396743d126d26fa57da0c990
Diffstat (limited to 'keystore/java/android/security/KeyChain.java')
0 files changed, 0 insertions, 0 deletions