Skip to content

Commit 1ee030a

Browse files
copybara-githubtonihei
authored andcommitted
Merge pull request #2260 from MGaetan89:audiomanagercompat_log
PiperOrigin-RevId: 740752418 (cherry picked from commit 95fbecd)
1 parent ef8f72d commit 1ee030a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libraries/common/src/main/java/androidx/media3/common/audio/AudioManagerCompat.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,7 @@ public static int getStreamVolume(AudioManager audioManager, @C.StreamType int s
220220
try {
221221
return audioManager.getStreamVolume(streamType);
222222
} catch (RuntimeException e) {
223-
Log.w(
224-
"AudioManagerCompat",
225-
"Could not retrieve stream volume for stream type " + streamType,
226-
e);
223+
Log.w(TAG, "Could not retrieve stream volume for stream type " + streamType, e);
227224
return audioManager.getStreamMaxVolume(streamType);
228225
}
229226
}

0 commit comments

Comments
 (0)