commit | 857d6c27f28066769ead37c4e88e88a5a321bc5f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Mar 23 17:24:07 2012 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Mar 23 17:32:37 2012 -0700 |
tree | 64508293697b896693dba3e50687c1af825b9e97 | |
parent | 2e842a58ebbc3a8a0599dfb0c19d7cda7ed21e5f [diff] |
Fixed headset detection broken on stingray commit 5e64321e broke the headset detection on stingray. This is because the name passed with the UEvent upon headset insertion/removal is different from the dev path (h2w). It actually indicates the type of headset connected. The fix consists in using the dev path received with the UEvent to find the corresponding entry in uEventInfo. Change-Id: I8481cfa17a7af3c8f5d83fc87d0f7c0d2c981098