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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user