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

Commit 449362e0 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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
parent a85c273c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;