diff options
author | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-06-30 18:47:15 -0400 |
---|---|---|
committer | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-06-30 19:21:54 -0400 |
commit | 000163ad219b7ebb84b23dcd96e13868a2c919a7 (patch) | |
tree | fc5ca80b2fec0a7fade2633adbc8f5b3400723a5 /app/src/play/java/de/danoeh/antennapod/config | |
parent | a806d58966bca19cb89ca0b2b2d287f2611c3e36 (diff) | |
download | AntennaPod-000163ad219b7ebb84b23dcd96e13868a2c919a7.zip |
fix horizontal layout (MediaRouteControllerDialog)
Diffstat (limited to 'app/src/play/java/de/danoeh/antennapod/config')
-rw-r--r-- | app/src/play/java/de/danoeh/antennapod/config/CastCallbackImpl.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/app/src/play/java/de/danoeh/antennapod/config/CastCallbackImpl.java b/app/src/play/java/de/danoeh/antennapod/config/CastCallbackImpl.java index 02720e42e..916b13a38 100644 --- a/app/src/play/java/de/danoeh/antennapod/config/CastCallbackImpl.java +++ b/app/src/play/java/de/danoeh/antennapod/config/CastCallbackImpl.java @@ -1,14 +1,11 @@ package de.danoeh.antennapod.config; -import android.content.Context; -import android.os.Bundle; import android.support.annotation.NonNull; -import android.support.v7.app.MediaRouteControllerDialog; import android.support.v7.app.MediaRouteControllerDialogFragment; import android.support.v7.app.MediaRouteDialogFactory; -import de.danoeh.antennapod.dialog.CustomMRControllerDialog; import de.danoeh.antennapod.core.CastCallbacks; +import de.danoeh.antennapod.fragment.CustomMRControllerDialogFragment; public class CastCallbackImpl implements CastCallbacks { @Override @@ -17,12 +14,7 @@ public class CastCallbackImpl implements CastCallbacks { @NonNull @Override public MediaRouteControllerDialogFragment onCreateControllerDialogFragment() { - return new MediaRouteControllerDialogFragment() { - @Override - public MediaRouteControllerDialog onCreateControllerDialog(Context context, Bundle savedInstanceState) { - return new CustomMRControllerDialog(context); - } - }; + return new CustomMRControllerDialogFragment(); } }; } |