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

Commit e7b3c5e3 authored by RoboErik's avatar RoboErik
Browse files

Add extra logging for media button events

Adds some conditional extra logging to help track down where key events
are coming from.

bug:19334464
Change-Id: I54e955a7e234bd1c45598e18a68cca4c83069487
parent 7d85bc4c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -742,6 +742,10 @@ public class MediaSessionService extends SystemService implements Monitor {
            final int pid = Binder.getCallingPid();
            final int uid = Binder.getCallingUid();
            final long token = Binder.clearCallingIdentity();
            if (DEBUG) {
                Log.d(TAG, "dispatchMediaKeyEvent, pid=" + pid + ", uid=" + uid + ", event="
                        + keyEvent);
            }

            try {
                synchronized (mLock) {