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

Commit 2dd693fc authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioService: remove debug messages

Remove debug messages on AudioService.getStreamVolume
and AudioSystem routing callback

Bug: 162448412
Test: adb logcat | grep "getDevicesForStream"
Change-Id: Ic0936b36adc811ff7747288f9748bed8122ced19
parent 583b2e50
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -741,8 +741,6 @@ public class AudioSystem
        synchronized (AudioSystem.class) {
            cb = sRoutingUpdateCallback;
        }
        //###
        Log.i(TAG, "#################### update");
        if (cb == null) {
            Log.e(TAG, "routing update from APM was not captured");
            return;
+0 −2
Original line number Diff line number Diff line
@@ -3467,8 +3467,6 @@ public class AudioService extends IAudioService.Stub
    /** @see AudioManager#getStreamVolume(int) */
    public int getStreamVolume(int streamType) {
        ensureValidStreamType(streamType);
        Log.e(TAG, "AudioSystem.getDevicesForStream In AudioService from u/pid"
                + Binder.getCallingUid() + "/" + Binder.getCallingPid());
        int device = getDeviceForStream(streamType);
        synchronized (VolumeStreamState.class) {
            int index = mStreamStates[streamType].getIndex(device);