summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
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-02-15 10:21:02 -0800
commit1b8e847a8711e4cef316962543faeff7fc4b9180 (patch)
tree81f9e647fbb978d47ef61f09bd80c29786f694f6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb688dd18aba3b0edcebaf789ec5f7e904228801c (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. Bug: 34972898 Test: Charging notification should not show for pixel-c chargers. Change-Id: I8dddcd7727b6af973bd173d2c6e325aa4be2ca3a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions