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

Commit 4e602963 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

MediaSessionService: Log more info on volume key event

For easier debugging on bugreport, this CL makes MediaSessionService
print more info on volume key event.

Bug: 130136711
Test: N/A
Change-Id: I45ccfead47453ee3b61d2a3e95d38ad4bfeea0ac
parent dd07ae57
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1490,8 +1490,10 @@ public class MediaSessionServiceImpl extends MediaSessionService.ServiceImpl {
            final long token = Binder.clearCallingIdentity();

            if (DEBUG_KEY_EVENT) {
                Log.d(TAG, "dispatchVolumeKeyEvent, pkg=" + packageName + ", pid=" + pid + ", uid="
                        + uid + ", asSystem=" + asSystemService + ", event=" + keyEvent);
                Log.d(TAG, "dispatchVolumeKeyEvent, pkg=" + packageName
                        + ", opPkg=" + opPackageName + ", pid=" + pid + ", uid=" + uid
                        + ", asSystem=" + asSystemService + ", event=" + keyEvent
                        + ", stream=" + stream + ", musicOnly=" + musicOnly);
            }

            try {