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

Commit 44abe2cc authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioSystem: disable verbose volume logging

Test: adb shell dumpsys audio ; adb logcat
Change-Id: I79a7bb6f5547d1c0589ca0ce9d95830d60bfbe76
parent 54beaa6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -40,7 +40,7 @@ import java.util.Map;
 */
 */
public class AudioSystem
public class AudioSystem
{
{
    private static final boolean DEBUG_VOLUME = true;
    private static final boolean DEBUG_VOLUME = false;


    private static final String TAG = "AudioSystem";
    private static final String TAG = "AudioSystem";
    /* These values must be kept in sync with system/audio.h */
    /* These values must be kept in sync with system/audio.h */
+1 −1
Original line number Original line Diff line number Diff line
@@ -5787,7 +5787,7 @@ public class AudioService extends IAudioService.Stub
    // - wired: logged before onSetWiredDeviceConnectionState() is executed
    // - wired: logged before onSetWiredDeviceConnectionState() is executed
    // - A2DP: logged at reception of method call
    // - A2DP: logged at reception of method call
    /*package*/ static final AudioEventLogger sDeviceLogger = new AudioEventLogger(
    /*package*/ static final AudioEventLogger sDeviceLogger = new AudioEventLogger(
            LOG_NB_EVENTS_DEVICE_CONNECTION, "wired/A2DP/hearing aid device connection BLABLI");
            LOG_NB_EVENTS_DEVICE_CONNECTION, "wired/A2DP/hearing aid device connection");


    static final AudioEventLogger sForceUseLogger = new AudioEventLogger(
    static final AudioEventLogger sForceUseLogger = new AudioEventLogger(
            LOG_NB_EVENTS_FORCE_USE,
            LOG_NB_EVENTS_FORCE_USE,