Fix audio focus logging

Fix error in audio focus dispatching log: the message value (here
  MSSG_FOCUS_CHANGE, which is 0) was logged instead of the focus
  value being sent to the audio focus listener.

Bug 25790720

Change-Id: I534ce8d1059c09a52e56c51acd60405ef3c4cda1
This commit is contained in:
Jean-Michel Trivi
2016-03-30 12:06:22 -07:00
parent a85c273ca5
commit 449362e065

View File

@@ -2149,7 +2149,7 @@ public class AudioManager {
}
if (listener != null) {
Log.d(TAG, "AudioManager dispatching onAudioFocusChange("
+ msg.what + ") for " + msg.obj);
+ msg.arg1 + ") for " + msg.obj);
listener.onAudioFocusChange(msg.arg1);
}
break;