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

Issue 1614833003: [Cast,Android] Fix the RuntimeException crasher (Closed)

Created:
4 years, 11 months ago by whywhat
Modified:
4 years, 11 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, media-router+watch_chromium.org, 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

[Cast,Android] Fix the RuntimeException crasher Seems like throwing a RuntimeException is quite an overkill. In particular, we still seem to get onResult() callback even if the GMS core connection is suspended. Replaced the exception with a warning message in a cherrypickable way (the crash happens in M48). BUG=579718 Committed: https://crrev.com/54894bc428bc5cc7b036cf2d20221e45468a4349 Cr-Commit-Position: refs/heads/master@{#370687}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Only change behavior of one method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CreateRouteRequest.java View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
whywhat
PTaL
4 years, 11 months ago (2016-01-21 11:16:09 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614833003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614833003/1
4 years, 11 months ago (2016-01-21 11:27:46 UTC) #4
mlamouri (slow - plz ping)
https://codereview.chromium.org/1614833003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CreateRouteRequest.java File chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CreateRouteRequest.java (right): https://codereview.chromium.org/1614833003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CreateRouteRequest.java#newcode220 chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CreateRouteRequest.java:220: Log.w(TAG, "Invalid state: %d", mState); I think it would ...
4 years, 11 months ago (2016-01-21 12:07:30 UTC) #5
whywhat
Only change behavior of one method
4 years, 11 months ago (2016-01-21 12:09:01 UTC) #6
whywhat
PTAL Technically speaking, it doesn't seem to be an invalid state anymore since it can ...
4 years, 11 months ago (2016-01-21 12:10:15 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614833003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614833003/20001
4 years, 11 months ago (2016-01-21 12:20:02 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-21 13:01:30 UTC) #11
mlamouri (slow - plz ping)
lgtm
4 years, 11 months ago (2016-01-21 13:41:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614833003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614833003/20001
4 years, 11 months ago (2016-01-21 13:42:03 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-21 13:46:35 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 13:47:27 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/54894bc428bc5cc7b036cf2d20221e45468a4349
Cr-Commit-Position: refs/heads/master@{#370687}

Powered by Google App Engine
This is Rietveld 408576698