diff options
| author | Hongguang <hgchen@google.com> | 2021-09-07 10:39:08 -0700 |
|---|---|---|
| committer | Hongguang <hgchen@google.com> | 2021-09-11 11:03:45 -0700 |
| commit | 12b5dedfe6d5b7e37e22b969d78f0f9399d7ed42 (patch) | |
| tree | b18106e4f24e99e7e3eaeda319d68c0b72119890 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 82bf2153415f02e741619af4309c22303dc1b636 (diff) | |
Detect extcon device type from cable name.
Kernel modified the extcon device name to extcon[X] for sysfs instead of
separate device name. Follow that kernel change, the new
ExtconUEventObserver will retrieve extcon device type from
/sys/class/extcon/extcon[X]/cable.[Y]/name.
The target device needs to label the SoC's extcons to sysfs_extcon in
the device's vendor sepolicy to allow the system_server access.
Bug: 152245127
Bug: 193492798
Bug: 193114615
Test: presubmit and manual tests
Change-Id: I3468acc1ef7a273da7b81a223c884079bf465a9e
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
