Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastRouteController.java

Issue 1532193002: [Cast, Android, Presentation API] Implement ReceiverAction messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMediaRouteProvider.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastRouteController.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastRouteController.java b/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastRouteController.java
index 9f96b57891f69d02812b9aee82e17f42dc26a3bc..953e29f76017fa686d0c58d4e49a059c2593b301 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastRouteController.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastRouteController.java
@@ -331,7 +331,7 @@ public class CastRouteController implements RouteController, MediaNotificationLi
@Override
public void onStop(int actionSource) {
- stopApplication();
+ mRouteDelegate.onSessionStopAction();
}
@@ -869,7 +869,7 @@ public class CastRouteController implements RouteController, MediaNotificationLi
buildInternalMessage(type, message, clientId, sequenceNumber));
}
- private JSONArray getCapabilities(CastDevice device) {
+ static JSONArray getCapabilities(CastDevice device) {
JSONArray jsonCapabilities = new JSONArray();
if (device.hasCapability(CastDevice.CAPABILITY_AUDIO_IN)) {
jsonCapabilities.put("audio_in");
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMediaRouteProvider.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698