Merge "Message about audio stream deprecation as warning" into oc-dev
am: dd8a71f4a9
Change-Id: I35b530efc40eb025b5e1b0fe757ed2e4ed6a33ac
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user