diff options
author | Ben Murdoch <benm@google.com> | 2011-02-18 12:34:35 +0000 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-02-18 14:37:15 +0000 |
commit | 42509799f261c844bf6be66ce630c47bdee620f3 (patch) | |
tree | c9d7ad324554d8e56abe6b94910c0bcd4af80f6a /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7a2222b2605b52fc24baf6c7df509979cbec8d9b (diff) |
Fix crash downloading posters for HTML5 video.
We use the apache HTTP stack to download the poster images
for HTML5 video. This will crash if there is no host to use
as the "Host" header when making the request. Limit the java
poster downloader to just http or https for now. WebKit seems
able to display posters over other schemes like file://, but
doesn't always get the dimensions right. This fix just stops
us crashing.
Bug: 3180037
Change-Id: Idf51efda5b9ca1f2fe373c1fdb9c6bb7d5e254c8
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions