diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2014-06-04 12:20:06 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2014-06-04 12:20:06 +0900 |
commit | 4077acbeccd2483e78e83abff874757302388fbe (patch) | |
tree | dd55e06d9988852f940828c10bca583ff11edb1f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 07bfc4ba2ed4abb7432e64c228b4fe622f6db264 (diff) |
Make requests for restricted networks not require unrestricted access.
Currently, calling startUsingNetworkFeature for a restricted APN
type (e.g., IMS or FOTA) will create a request that requires
NET_CAPABILITY_NOT_RESTRICTED. Because these APNs are restricted,
when we bring them up we conclude that it does not match the
unrestricted requirement, and we tear them down.
1. Clear the NET_CAPABILITY_NOT_RESTRICTED capability when
creating requests in startUsingNetworkFeature.
2. Refactor the code to a common function so this cannot happen
again.
Bug: 15191336
Change-Id: Id1ec79c58ff79b1a83457ffaecc57d50b61ed4e4
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions