summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <Badhri@google.com>2017-02-13 13:14:40 -0800
committerBadhri Jagan Sridharan <badhri@google.com>2017-03-09 23:17:23 +0000
commit843aba77452704837320b5951be819e2fc3dd24f (patch)
tree1c8e33c80eda8811c105e4911949154feddf9ec9 /docs/html/sdk/api_diff/24/changes
parenta2f8f4970ef852d4b0caf40d7828376e4a4890c2 (diff)
Fix handling usb dialog for wall chargers.
UsbPort.POWER_ROLE_SINK is orthogonal to the type of the charger attached. POWER_ROLE_SINK would be the case for AC charging and USB charging. Therefore query BatteryManager for the charger type. Cherry-pick: https://android-review.googlesource.com/#/c/338265/ Bug: 34972898 Test: Charging notification should not show for pixel-c chargers. Change-Id: I8dddcd7727b6af973bd173d2c6e325aa4be2ca3a
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions