commit | a7834574c1d7fa945ed61db4ea31f505d208764b | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Mar 23 17:24:07 2012 -0700 |
committer | The Android Automerger <android-build@android.com> | Tue Mar 27 16:06:38 2012 -0700 |
tree | 848be9011e68db50655010efd182c7de707109ed | |
parent | 1e280efe19eb73e15014d634d2feb2de488b5487 [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