summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-08-24 22:35:10 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-09-27 13:03:10 +0900
commit7bbe3eee52c08ee92a81b7bed395ca5499554cc4 (patch)
tree5a523013f10c2c419b3b50ac7ac4a97e7d11f43e /rs/java/android/renderscript/ProgramRaster.java
parenta7bf2a21d99b5044af3262d806509153899777e5 (diff)
Declare support for Ethernet if the service is running.
On some devices, support for TYPE_ETHERNET is not specified in the networkAttributes config resource, even though the device is capable of supporting Ethernet (e.g., via USB host adapters). This leads to Ethernet working but various connectivity APIs behaving as if it was not - for example, no CONNECTIVITY_ACTION broadcasts will be issues when it connects or disconnects. Ensure that ConnectivityService always treats Ethernet as available if the service is running. Currently the service is started if the device supports FEATURE_ETHERNET or FEATURE_USB_HOST. Bug: 37359230 Test: bullhead builds, boots Test: ConnectivityServiceTest passes Test: Ethernet is available even if removed from networkAttributes resource Test: ConnectivityManagerTest CTS test passes Change-Id: I58801bf4f0bbdc3ff6345ec6bfdc911ce045c8ab
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions