35842ecfa8
If your device detects headphone in 'getevent -l' like: On headphone insert: /dev/input/event8: EV_SW SW_HEADPHONE_INSERT 00000001 /dev/input/event8: EV_SW SW_MICROPHONE_INSERT 00000001 /dev/input/event8: EV_SW SW_JACK_PHYSICAL_INS 00000001 On headphone removal: /dev/input/event8: EV_SW SW_HEADPHONE_INSERT 00000000 /dev/input/event8: EV_SW SW_MICROPHONE_INSERT 00000000 /dev/input/event8: EV_SW SW_JACK_PHYSICAL_INS 00000000 but not in the android system, you should enable this to use /dev/input/event to detect the headphone/microphone jack. Change-Id: Ibb387c1624b66385515989bc543afdb9a9f5b67e |
||
---|---|---|
.. | ||
frameworks/base/core/res/res/values | ||
packages |