You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
AudioManager: add a stub for isWiredHeadsetOn
This commit is contained in:
@@ -44,4 +44,8 @@ public class AudioManager {
|
|||||||
public int abandonAudioFocus(OnAudioFocusChangeListener listener) {
|
public int abandonAudioFocus(OnAudioFocusChangeListener listener) {
|
||||||
return /*AUDIOFOCUS_REQUEST_GRANTED*/1;
|
return /*AUDIOFOCUS_REQUEST_GRANTED*/1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isWiredHeadsetOn() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user