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
This commit is contained in:
Hyundo Moon
2019-04-08 16:43:03 +09:00
parent dd07ae579c
commit 4e602963a5

View File

@@ -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 {