summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-06-04 19:59:21 +0900
committerLorenzo Colitti <lorenzo@google.com>2014-06-04 20:04:38 +0900
commitea1984fd3bda53c85c5f789e3e36641145803704 (patch)
tree1eb10cb6e2911d4ce14aa78dce303efb779e4417 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd55c56b86e9ec7b15f5b9e715ed009aed6ba9bb1 (diff)
Call a network restricted only if all capabilities are restricted
When guessing whether a network is restricted or not (e.g., when constructing a NetworkCapabilities object from an APN type, or when constructing a request using startUsingNetworkFeature), only assume the network is restricted if all the capabilities it provides are typically provided by restricted networks (e.g., IMS, FOTA, etc.). Previous code would conclude a network was restricted even if it supported one "restricted" capability, so for example an APN that provides both Internet connectivity and FOTA was marked as restricted. This caused it to become ineligible to provide the default Internet connection, because that must be unrestricted. Also expand the list of restricted APN types a bit. Bug: 15417453 Change-Id: I8c385f2cc83c695449dc8cf943d918321716fe58
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions