mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
Use the existing TAG
constant in AudioManagerCompat
This also addresses the `Private field 'TAG' is never used` warning.
This commit is contained in:
parent
d4ea3ad932
commit
14b4a9ff32
@ -220,10 +220,7 @@ public final class AudioManagerCompat {
|
||||
try {
|
||||
return audioManager.getStreamVolume(streamType);
|
||||
} catch (RuntimeException e) {
|
||||
Log.w(
|
||||
"AudioManagerCompat",
|
||||
"Could not retrieve stream volume for stream type " + streamType,
|
||||
e);
|
||||
Log.w(TAG, "Could not retrieve stream volume for stream type " + streamType, e);
|
||||
return audioManager.getStreamMaxVolume(streamType);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user