blob: 916b13a3849f6b64c6c8d6425fdcfed532cb57f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package de.danoeh.antennapod.config;
import android.support.annotation.NonNull;
import android.support.v7.app.MediaRouteControllerDialogFragment;
import android.support.v7.app.MediaRouteDialogFactory;
import de.danoeh.antennapod.core.CastCallbacks;
import de.danoeh.antennapod.fragment.CustomMRControllerDialogFragment;
public class CastCallbackImpl implements CastCallbacks {
@Override
public MediaRouteDialogFactory getMediaRouterDialogFactory() {
return new MediaRouteDialogFactory() {
@NonNull
@Override
public MediaRouteControllerDialogFragment onCreateControllerDialogFragment() {
return new CustomMRControllerDialogFragment();
}
};
}
}
|