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