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
add more stubs to make exoplayer not crash
This commit is contained in:
@@ -1,4 +1,19 @@
|
||||
package android.media;
|
||||
|
||||
public class AudioAttributes {
|
||||
|
||||
public int getFlags() {return 0;}
|
||||
|
||||
public int getUsage() {return 0;}
|
||||
|
||||
public class Builder {
|
||||
|
||||
public Builder setUsage(int usage) {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AudioAttributes build() {
|
||||
return new AudioAttributes();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user