forked from LeddaZ/frameworks_base
68d5cc3941
On USB HIDL devices (qcom) and barely-implemented AIDL (older Pixels) the power brick connection status is always POWER_BRICK_STATUS_UNKNOWN, leading to charging notification showing up even while charging with a wall charger. Properly implemented USB AIDL [1] should report POWER_BRICK_STATUS_DISCONNECTED when charging with anything other than a wall charger (i.e SDP/PD), hence use this as the check instead. [1]: |
||
---|---|---|
.. | ||
accessibility | ||
api | ||
appfunctions | ||
appprediction | ||
appwidget | ||
autofill | ||
backup | ||
cloudsearch | ||
companion | ||
contentcapture | ||
contentsuggestions | ||
contextualsearch | ||
core | ||
coverage | ||
credentials | ||
devicepolicy | ||
fakes | ||
flags | ||
foldables/devicestateprovider | ||
incremental | ||
java/com/android/server | ||
midi | ||
musicrecognition | ||
net | ||
people | ||
permission | ||
profcollect | ||
restrictions | ||
robotests | ||
searchui | ||
smartspace | ||
startop | ||
supervision | ||
systemcaptions | ||
tests | ||
texttospeech | ||
translation | ||
usage | ||
usb | ||
voiceinteraction | ||
wallpapereffectsgeneration | ||
wifi | ||
Android.bp | ||
OWNERS | ||
art-profile | ||
art-profile-boot | ||
art-wear-profile | ||
lint-baseline.xml | ||
manifest_services.xml | ||
manifest_services_android.frameworks.vibrator.xml | ||
proguard.flags | ||
proguard_permission.flags |