summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDomingos Lopes <domingos86lopes+github@gmail.com>2016-04-17 15:31:35 -0400
committerDomingos Lopes <domingos86lopes+github@gmail.com>2016-04-24 22:06:27 -0400
commit3aba2f9d4d1d2827d3baf73126050d2f0e09be90 (patch)
treee53fe0aeed1851435255f360df63b45fbe67badc /core
parentd47e4a93316e7025a200dae17537e9bc343756d9 (diff)
downloadAntennaPod-3aba2f9d4d1d2827d3baf73126050d2f0e09be90.zip
force remote cast application launch when not reconnecting
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/cast/CastManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/cast/CastManager.java b/core/src/main/java/de/danoeh/antennapod/core/cast/CastManager.java
index b68e98e89..547e89b3c 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/cast/CastManager.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/cast/CastManager.java
@@ -50,6 +50,7 @@ import org.json.JSONObject;
import java.io.IOException;
import java.util.List;
+import java.util.Locale;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.CopyOnWriteArraySet;
@@ -127,6 +128,7 @@ public class CastManager extends BaseCastManager implements OnFailedListener {
CastConfiguration castConfiguration = new CastConfiguration.Builder(CAST_APP_ID)
.enableDebug()
.enableAutoReconnect()
+ .setLaunchOptions(true, Locale.getDefault())
.build();
Log.d(TAG, "New instance of CastManager is created");
if (ConnectionResult.SUCCESS != GoogleApiAvailability.getInstance()