Skip to content

Commit

Permalink
Fix android_webview_apk lint warnings
Browse files Browse the repository at this point in the history
The video poster icon is from Honeycomb. The vector asset has been
lost in the sands of time. Replace it with a modern play icon from
www.google.com/design/icons.

Also remove the unused drawable/resource_icon.png.

BUG=241521

Review URL: https://codereview.chromium.org/1159883006

Cr-Commit-Position: refs/heads/master@{#333286}
  • Loading branch information
paulmiller authored and Commit bot committed Jun 8, 2015
1 parent fe338e9 commit c44ea28
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1165,10 +1165,10 @@ public Bitmap getDefaultVideoPoster() {
result = mWebChromeClient.getDefaultVideoPoster();
}
if (result == null) {
// The ic_media_video_poster icon is transparent so we need to draw it on a gray
// background.
// The ic_play_circle_outline_black_48dp icon is transparent so we need to draw it
// on a gray background.
Bitmap poster = BitmapFactory.decodeResource(
mContext.getResources(), R.drawable.ic_media_video_poster);
mContext.getResources(), R.drawable.ic_play_circle_outline_black_48dp);
result = Bitmap.createBitmap(
poster.getWidth(), poster.getHeight(), poster.getConfig());
result.eraseColor(Color.GRAY);
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit c44ea28

Please sign in to comment.