Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7096ebb authored by Eric Olsen's avatar Eric Olsen
Browse files

Add logging of headset events to help debug issue.



Signed-off-by: default avatarEric Olsen <eolsen@android.com>
parent a0f9a4f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";