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

Issue 1822653002: Distingush between displayed and remote playback state. (Closed)

Created:
4 years, 9 months ago by aberent
Modified:
4 years, 9 months ago
Reviewers:
whywhat
CC:
whywhat, chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, mlamouri (slow - plz ping), posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Distingush between displayed and remote playback state. Fixes two of the problems causing bug 593669. distinguishes between the displayed playback state (which, for example swiches to paused as soon as the pause button is pressed) and the remote playback state. Hence avoids side effects when the only the displayed playback state changes. Also prevents pause being sent to Chromecast too early. BUG=593669 Committed: https://crrev.com/829655949350c19eea8231f2e2da34679bc42d21 Cr-Commit-Position: refs/heads/master@{#383082}

Patch Set 1 #

Patch Set 2 : Remove unnecessary logging #

Patch Set 3 : Fix junit tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -83 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java View 1 2 8 chunks +42 lines, -21 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/DefaultMediaRouteController.java View 1 6 chunks +8 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/ExpandedControllerActivity.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/MediaRouteController.java View 1 2 2 chunks +3 lines, -8 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java View 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java View 1 2 2 chunks +2 lines, -4 lines 1 comment Download
M chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastTestBase.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteControllerTest.java View 1 2 3 chunks +5 lines, -33 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
aberent
For information only at present. This fixes the immediate failure to switch videos (see the ...
4 years, 9 months ago (2016-03-21 10:40:13 UTC) #1
aberent
Now ready for review, the pauses are being fixed by https://codereview.chromium.org/1823983002/
4 years, 9 months ago (2016-03-22 15:53:30 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822653002/20001
4 years, 9 months ago (2016-03-22 16:59:20 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/41913)
4 years, 9 months ago (2016-03-22 18:33:33 UTC) #8
whywhat
lgtm
4 years, 9 months ago (2016-03-22 19:14:44 UTC) #9
aberent
On 2016/03/22 19:14:44, whywhat wrote: > lgtm PTAL - new changes added.
4 years, 9 months ago (2016-03-22 20:16:26 UTC) #10
aberent
https://codereview.chromium.org/1822653002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java File chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java (left): https://codereview.chromium.org/1822653002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java#oldcode186 chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java:186: if (controller.shouldResetState(player)) { I don't think this test has ...
4 years, 9 months ago (2016-03-22 20:16:45 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822653002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822653002/40001
4 years, 9 months ago (2016-03-22 20:17:02 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-22 21:03:43 UTC) #15
whywhat
lgtm
4 years, 9 months ago (2016-03-24 16:26:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822653002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822653002/40001
4 years, 9 months ago (2016-03-24 16:28:08 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-24 17:07:14 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 17:09:41 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/829655949350c19eea8231f2e2da34679bc42d21
Cr-Commit-Position: refs/heads/master@{#383082}

Powered by Google App Engine
This is Rietveld 408576698