Allow to open speed settings with ExoPlayer
This commit is contained in:
parent
795952711e
commit
4b299fef41
|
@ -32,6 +32,7 @@ public class VariableSpeedDialog {
|
||||||
public static void showDialog(final Context context) {
|
public static void showDialog(final Context context) {
|
||||||
if (org.antennapod.audio.MediaPlayer.isPrestoLibraryInstalled(context)
|
if (org.antennapod.audio.MediaPlayer.isPrestoLibraryInstalled(context)
|
||||||
|| UserPreferences.useSonic()
|
|| UserPreferences.useSonic()
|
||||||
|
|| UserPreferences.useExoplayer()
|
||||||
|| Build.VERSION.SDK_INT >= 23) {
|
|| Build.VERSION.SDK_INT >= 23) {
|
||||||
showSpeedSelectorDialog(context);
|
showSpeedSelectorDialog(context);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue