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

Issue 614463002: [Android] Fall back to unthemed resources when loading handle resources (Closed)

Created:
6 years, 2 months ago by jdduke (slow)
Modified:
6 years, 2 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Fall back to unthemed resources when loading handle resources Custom Android OS flavors often tailor themed resources, sometimes in a way that Chrome does not expect or cannot anticipate. As a fallback measure, acquire the selection handle resources from the unthemed context resources when themed resource loading fails. BUG=416081 Committed: https://crrev.com/f100da57e4dd2917943431c8b40db5ba0717e706 Cr-Commit-Position: refs/heads/master@{#297849}

Patch Set 1 #

Patch Set 2 : One more fallback... #

Total comments: 1

Patch Set 3 : Keep using app context #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M content/public/android/java/src/org/chromium/content/browser/input/HandleViewResources.java View 1 2 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 14 (4 generated)
jdduke (slow)
sievers@: PTAL, thanks. I'd still like to find a CyanogenMod build that's causing this problem ...
6 years, 2 months ago (2014-09-26 23:57:30 UTC) #2
no sievers
Maybe Ted or someone else should take a look at this instead.
6 years, 2 months ago (2014-09-29 19:01:48 UTC) #4
jdduke (slow)
https://codereview.chromium.org/614463002/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/HandleViewResources.java File content/public/android/java/src/org/chromium/content/browser/input/HandleViewResources.java (right): https://codereview.chromium.org/614463002/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/HandleViewResources.java#newcode90 content/public/android/java/src/org/chromium/content/browser/input/HandleViewResources.java:90: // Always prefer loading resources from the application context, ...
6 years, 2 months ago (2014-09-29 19:32:11 UTC) #5
jdduke (slow)
mkosiba@: PTAL. This is rather messy, so if you can think of a cleaner way ...
6 years, 2 months ago (2014-10-01 15:31:27 UTC) #7
mkosiba (inactive)
sigh.. no idea if there is a better way, LGTM. I too would prefer to ...
6 years, 2 months ago (2014-10-01 16:03:21 UTC) #8
jdduke (slow)
On 2014/10/01 16:03:21, mkosiba wrote: > sigh.. no idea if there is a better way, ...
6 years, 2 months ago (2014-10-02 15:47:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614463002/40001
6 years, 2 months ago (2014-10-02 15:49:05 UTC) #11
Ted C
On 2014/09/29 19:32:11, jdduke wrote: > https://codereview.chromium.org/614463002/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/HandleViewResources.java > File > content/public/android/java/src/org/chromium/content/browser/input/HandleViewResources.java > (right): > > ...
6 years, 2 months ago (2014-10-02 16:26:38 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001) as fbbb48e4ac4be2f393028bc2b8d0e0dccf997488
6 years, 2 months ago (2014-10-02 16:36:21 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 16:37:06 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f100da57e4dd2917943431c8b40db5ba0717e706
Cr-Commit-Position: refs/heads/master@{#297849}

Powered by Google App Engine
This is Rietveld 408576698