commit | 5b179afb19a00e03f1bed0f7eb6af9b0462f2f02 | [log] [tgz] |
---|---|---|
author | RoboErik <epastern@google.com> | Wed Feb 11 21:14:40 2015 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Feb 11 21:14:41 2015 +0000 |
tree | 080c09c7ad0ecf0d65b826d5986c25dfc6ffb9de | |
parent | 05ecfd308d983755bc7cab39ba99a37c321f176b [diff] | |
parent | e7b3c5e3caaefa29e29b9690d0d2b0a71492bcae [diff] |
Merge "Add extra logging for media button events"
diff --git a/services/core/java/com/android/server/media/MediaSessionService.java b/services/core/java/com/android/server/media/MediaSessionService.java index 4f6b8f2..1a0f81d 100644 --- a/services/core/java/com/android/server/media/MediaSessionService.java +++ b/services/core/java/com/android/server/media/MediaSessionService.java
@@ -742,6 +742,10 @@ 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) {