Android 9.0.0 Release 0.39 (PPR1.181005.003.A1,marlin/sailfish)
charger: fix slower charging with NON-PD type-C charger

1. When charger type is detected as NON-PD type-C but usb icl is
   voted as 1500mA, it will cause wrong charging current.
   That is fixed by voting correct current.
2. NON-PD type-C charger with D+/D- open was detected as UNKNOWN charger.
   Fix it.

Bug: 112529920
Change-Id: I8818d632d64fd3ee82adb31043e68d0652c75003
Signed-off-by: Jack Wu <wjack@google.com>
2 files changed