blob: f557bd31b163debb18566a45f96febafc6ab1b7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package github.daneren2005.dsub.util.compat;
import android.content.Context;
import androidx.mediarouter.media.MediaRouter;
import github.daneren2005.dsub.service.DownloadService;
import github.daneren2005.dsub.service.RemoteController;
// Provides stubs for Google-related functionality
public final class GoogleCompat {
public static boolean playServicesAvailable(Context context) {
return false;
}
public static void installProvider(Context context) throws Exception {
}
public static boolean castAvailable() {
return false;
}
public static RemoteController getController(DownloadService downloadService, MediaRouter.RouteInfo info) {
return null;
}
public static String getCastControlCategory() {
return null;
}
}
|