Merge change Ie7096ebb into eclair

* changes:
  Add logging of headset events to help debug issue.
This commit is contained in:
Android (Google) Code Review
2009-11-23 13:20:46 -08:00

View File

@@ -35,7 +35,7 @@ import java.io.FileNotFoundException;
*/
class HeadsetObserver extends UEventObserver {
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_STATE_PATH = "/sys/class/switch/h2w/state";