add more stubs to make exoplayer not crash

This commit is contained in:
Julian Winkler
2023-09-21 22:49:36 +02:00
parent c830abc5f3
commit b88707592a
37 changed files with 482 additions and 47 deletions

View File

@@ -32,4 +32,12 @@ public class AudioManager {
public int getStreamVolume(int streamType) {
return 0; // arbitrary, shouldn't matter too much?
}
public int getStreamMaxVolume(int streamType) {
return 100;
}
public int requestAudioFocus(OnAudioFocusChangeListener listener, int streamType, int durationHint) {
return /*AUDIOFOCUS_REQUEST_GRANTED*/1;
}
}