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-13 17:44:05 -0800
commit8b0807c789b6c29ee71123c020b680636e9d7d85 (patch)
tree14e4cb32ee68700af0ee3a102855b422b44582b3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5de3e5ab36e5cd21deaab68be2a662a15aaf0053 (diff)
Fix handling usb dialog for wall chargers. [DO NOT MERGE]
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