diff options
author | Eric Olsen <eolsen@android.com> | 2009-11-23 13:06:07 -0800 |
---|---|---|
committer | Eric Olsen <eolsen@android.com> | 2009-11-23 13:06:07 -0800 |
commit | e7096ebba1f188871d0c5f04055d21c6153b9907 (patch) | |
tree | 009a7e28128a1eca78d4018f36085e91cabb6b1e | |
parent | a0f9a4f73579c2afa4dd82499a69abce94a3f23f (diff) | |
download | frameworks_base-e7096ebba1f188871d0c5f04055d21c6153b9907.zip frameworks_base-e7096ebba1f188871d0c5f04055d21c6153b9907.tar.gz frameworks_base-e7096ebba1f188871d0c5f04055d21c6153b9907.tar.bz2 |
Add logging of headset events to help debug issue.
Signed-off-by: Eric Olsen <eolsen@android.com>
-rw-r--r-- | services/java/com/android/server/HeadsetObserver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/HeadsetObserver.java b/services/java/com/android/server/HeadsetObserver.java index 38ccde0..43de36b 100644 --- a/services/java/com/android/server/HeadsetObserver.java +++ b/services/java/com/android/server/HeadsetObserver.java @@ -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"; |