commit | 141cc35d6ccd5ee8e4e0c7530524c2b26658f3bf | [log] [tgz] |
---|---|---|
author | Jack Wu <[email protected]> | Sat May 13 22:44:15 2023 +0800 |
committer | Jack Wu <[email protected]> | Thu Jun 29 12:46:45 2023 +0000 |
tree | c22bcbe2402bd2d7e64f3af7a54e7d0f26a3743f | |
parent | 1122ac876708d260277714d0acd06daaf2c0d1fa [diff] |
google_charger: fix incorrect csi_type for dock_defend When dd_state is active and disable_pwrsrc is 1, buck_enabled will become 0 and set csi_type to CSI_TYPE_None. Consider csi_type connected and report CSI_TYPE_LongLife when dd_state is active. Bug: 278192441 Change-Id: I3528244cd91e0e14ce5cc436b72a4cd973efb632 Signed-off-by: Jack Wu <[email protected]> (cherry picked from commit 6c8b90f4a5df1dedfe3d83b4f97062a996fd53f1)