Merge commit 'b2796da2ed4d0ef3bd94e187156c3d21e7e2a07f' into eclair-mr2-plus-aosp * commit 'b2796da2ed4d0ef3bd94e187156c3d21e7e2a07f': Add logging of headset events to help debug issue.
This commit is contained in:
@@ -35,7 +35,7 @@ import java.io.FileNotFoundException;
|
|||||||
*/
|
*/
|
||||||
class HeadsetObserver extends UEventObserver {
|
class HeadsetObserver extends UEventObserver {
|
||||||
private static final String TAG = HeadsetObserver.class.getSimpleName();
|
private static final String TAG = HeadsetObserver.class.getSimpleName();
|
||||||
private static final boolean LOG = false;
|
private static final boolean LOG = true;
|
||||||
|
|
||||||
private static final String HEADSET_UEVENT_MATCH = "DEVPATH=/devices/virtual/switch/h2w";
|
private static final String HEADSET_UEVENT_MATCH = "DEVPATH=/devices/virtual/switch/h2w";
|
||||||
private static final String HEADSET_STATE_PATH = "/sys/class/switch/h2w/state";
|
private static final String HEADSET_STATE_PATH = "/sys/class/switch/h2w/state";
|
||||||
|
|||||||
Reference in New Issue
Block a user