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

Issue 2584933002: Android ScreenCapture: fix crash on Nexus 5X (Closed)

Created:
4 years ago by braveyao
Modified:
4 years ago
Reviewers:
miu
CC:
chromium-reviews, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, agrieve+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android ScreenCapture: fix crash on Nexus 5X YUV420 is preferred but not supported on all devices. On Nexus 5X(7.1.1), instead of throwing an unsupported exception, it just crashes directly. So far RGBA_8888 works everywhere, then we still need to keep it as the default format for now. A feature request was already filed to support YUV420 in Android in the future. BUG=674989 Committed: https://crrev.com/27589f055c9f7b8198c86cf7b6a7fb16eb515534 Cr-Commit-Position: refs/heads/master@{#439288}

Patch Set 1 #

Total comments: 1

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -12 lines) Patch
M media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java View 1 2 chunks +13 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
braveyao
Hi miu@, please take a look!
4 years ago (2016-12-16 21:53:23 UTC) #6
miu
lgtm https://codereview.chromium.org/2584933002/diff/1/media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java File media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java (right): https://codereview.chromium.org/2584933002/diff/1/media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java#newcode302 media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java:302: // crash some devices. see https://crbug.com/674989 . A ...
4 years ago (2016-12-17 00:03:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2584933002/20001
4 years ago (2016-12-17 02:17:28 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-17 02:23:09 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-17 02:26:25 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/27589f055c9f7b8198c86cf7b6a7fb16eb515534
Cr-Commit-Position: refs/heads/master@{#439288}

Powered by Google App Engine
This is Rietveld 408576698