diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-09-23 22:11:25 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-09-23 22:11:25 -0700 |
commit | 01e5812356a918da1f526b8476a5775608f3750c (patch) | |
tree | 571b94bd19ca53bd762703a36623edc3aba787a4 /app/src/main/java/github/daneren2005/dsub/util/compat/CastCompat.java | |
parent | 72751eafc2f9485d4720bbed9ec3b75726f92c9d (diff) | |
download | dsub-01e5812356a918da1f526b8476a5775608f3750c.tar.gz dsub-01e5812356a918da1f526b8476a5775608f3750c.tar.bz2 dsub-01e5812356a918da1f526b8476a5775608f3750c.zip |
Move cast id over to EnvironmentVariables
Diffstat (limited to 'app/src/main/java/github/daneren2005/dsub/util/compat/CastCompat.java')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/util/compat/CastCompat.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/compat/CastCompat.java b/app/src/main/java/github/daneren2005/dsub/util/compat/CastCompat.java index ab64bca9..415106db 100644 --- a/app/src/main/java/github/daneren2005/dsub/util/compat/CastCompat.java +++ b/app/src/main/java/github/daneren2005/dsub/util/compat/CastCompat.java @@ -23,13 +23,9 @@ import com.google.android.gms.cast.CastMediaControlIntent; import github.daneren2005.dsub.service.ChromeCastController; import github.daneren2005.dsub.service.DownloadService; import github.daneren2005.dsub.service.RemoteController; +import github.daneren2005.dsub.util.EnvironmentVariables; -/** - * Created by owner on 2/9/14. - */ public final class CastCompat { - public static final String APPLICATION_ID = "5F85EBEB"; - static { try { Class.forName("com.google.android.gms.cast.CastDevice"); @@ -52,6 +48,6 @@ public final class CastCompat { } public static String getCastControlCategory() { - return CastMediaControlIntent.categoryForCast(APPLICATION_ID); + return CastMediaControlIntent.categoryForCast(EnvironmentVariables.CAST_APPLICATION_ID); } } |