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

Commit c903a889 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by android-build-merger
Browse files

Merge "Message about audio stream deprecation as warning" into oc-dev am: dd8a71f4

am: 86af1cd1

Change-Id: I8c3627d5756661115c66228187c2b0685a7145f3
parents d9c12f57 86af1cd1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -536,9 +536,9 @@ public abstract class PlayerBase {
            throw new IllegalArgumentException("Use of STREAM_ACCESSIBILITY is reserved for "
                    + "volume control");
        }
        Log.e(className, "Use of stream types is deprecated for operations other than " +
                "volume control.");
        Log.e(className, "See the documentation of " + opName + " for what to use instead with " +
        Log.w(className, "Use of stream types is deprecated for operations other than " +
                "volume control");
        Log.w(className, "See the documentation of " + opName + " for what to use instead with " +
                "android.media.AudioAttributes to qualify your playback use case");
    }
}