OSDN Git Service
Kenny Root [Thu, 28 Oct 2010 21:47:01 +0000 (14:47 -0700)]
Add path to get different DPI drawables
Allow a caller to request a different density than their current display
allows. This can mean a device displaying mdpi can get a resource that's
in hdpi and have it pretend to be in mdpi resolution. If a drawable
that's returned is not in the requested density, it will set it at the
appropriate density to be scaled up later on.
The API for this is hidden currently.
Bug:
3134688
Change-Id: I6c3908cbdef4907b8d3f1576df9e3b0e7af1755a
Xavier Ducrohet [Thu, 28 Oct 2010 18:15:49 +0000 (11:15 -0700)]
Merge changes I22755f38,Id3462218
* changes:
Fix the layoutlib_bridge .classpath to not use the full layoutlib
Move layoutlib typeface implementation to delegate.
Jaikumar Ganesh [Thu, 28 Oct 2010 18:09:43 +0000 (11:09 -0700)]
Merge "Fix incoming connection problem"
Jaikumar Ganesh [Wed, 27 Oct 2010 22:57:23 +0000 (15:57 -0700)]
Fix incoming connection problem
This fixes the incoming auto connection of profiles with certain remote devices.
Bug:
3136095
Change-Id: If26b5aa91403c0c7bd547e2970ee5bf2ac381416
Shimeng (Simon) Wang [Wed, 27 Oct 2010 20:37:08 +0000 (13:37 -0700)]
Fixes "open pages in overview" option.
This option was disabled when doing fixed viewport.
This is fixed with the intention to show at least overview scale,
which will be also fine with phone.
issue:
3131279
Change-Id: I2e65d40a90a04f2ca72882fec8096dd8a0d81cb0
Justin Ho [Thu, 28 Oct 2010 17:34:27 +0000 (10:34 -0700)]
am
f3b87c2e: (-s ours) am
9112b8eb: DO NOT MERGE - Ringtone bugfixes (round 1)
* commit '
f3b87c2ebd69f96969659a4ab7f2eb55fa90189d':
DO NOT MERGE - Ringtone bugfixes (round 1)
Alex Sakhartchouk [Thu, 28 Oct 2010 17:32:12 +0000 (10:32 -0700)]
Merge "Adding nvidia extension for limited npot support. Updating a3d loading to be async."
Justin Ho [Thu, 28 Oct 2010 17:30:10 +0000 (10:30 -0700)]
am
9112b8eb: DO NOT MERGE - Ringtone bugfixes (round 1)
* commit '
9112b8ebd22ce5c83081066bea8a424eda8bda9d':
DO NOT MERGE - Ringtone bugfixes (round 1)
Justin Ho [Thu, 28 Oct 2010 17:23:33 +0000 (10:23 -0700)]
DO NOT MERGE - Ringtone bugfixes (round 1)
Change-Id: Idb72659b9cb00ec141b1229f42951e0a6e0b9a9a
Mike Lockwood [Thu, 28 Oct 2010 15:32:31 +0000 (08:32 -0700)]
Merge "PowerManagerService: Avoid paralysis when light events are reported frequently."
Jim Rodovich [Thu, 2 Sep 2010 17:30:49 +0000 (12:30 -0500)]
PowerManagerService: Avoid paralysis when light events are reported frequently.
Avoid resetting the debounce timer for automatic brightness if a new light event
is received that agrees with the direction of change of the previous event(s).
Change-Id: Id4d71f6db46ded46b24eb44cb8de9b2cfedb3f06
Signed-off-by: Mike Lockwood <lockwood@google.com>
Derek Sollenberger [Thu, 28 Oct 2010 13:33:47 +0000 (09:33 -0400)]
Rename some variable to make it clear what data is being stored.
The object that carries drawing data between WebViewCore and WebView
uses ambiguous variable names that do not fully convey the meaning
of the values. This change updates those names to make it clear to
the reader what the intention of those values is.
Change-Id: I5a403d44881e1fad366f3ec9930ee59134eccd88
satok [Mon, 25 Oct 2010 13:20:12 +0000 (22:20 +0900)]
Show Subtype Icon properly in the system status bar
- Added API for getting the current subtype
- Added functions for show/hide status icon
Change-Id: Ifcaad00f7f4c658cdb3af367387476bbf316eb19
Mathias Agopian [Thu, 28 Oct 2010 06:48:26 +0000 (23:48 -0700)]
am
5c0efef9: am
7d452f69: Merge "really fix [
3118445] Transform * Transform does not work as expected" into gingerbread
Mathias Agopian [Thu, 28 Oct 2010 06:46:25 +0000 (23:46 -0700)]
am
7d452f69: Merge "really fix [
3118445] Transform * Transform does not work as expected" into gingerbread
Jaikumar Ganesh [Thu, 28 Oct 2010 06:45:55 +0000 (23:45 -0700)]
am
70a68f95: (-s ours) am
025f78eb: Merge "DO NOT MERGE Fix auto connection with headsets which don\'t send incoming connections for all profiles." into gingerbread
Mathias Agopian [Thu, 28 Oct 2010 06:44:07 +0000 (23:44 -0700)]
Merge "really fix [
3118445] Transform * Transform does not work as expected" into gingerbread
Jaikumar Ganesh [Thu, 28 Oct 2010 06:44:02 +0000 (23:44 -0700)]
am
025f78eb: Merge "DO NOT MERGE Fix auto connection with headsets which don\'t send incoming connections for all profiles." into gingerbread
Jaikumar Ganesh [Thu, 28 Oct 2010 06:42:43 +0000 (23:42 -0700)]
Merge "DO NOT MERGE Fix auto connection with headsets which don't send incoming connections for all profiles." into gingerbread
Vasu Nori [Wed, 27 Oct 2010 00:00:16 +0000 (17:00 -0700)]
make notifications appear during downloading AND after completion
bug:
3132773
Change-Id: I012859fa86055f322069d5120b110c4c8887fb61
Jeff Brown [Thu, 28 Oct 2010 05:18:43 +0000 (22:18 -0700)]
resolved conflicts for merge of
df3cccf3 to master
Change-Id: I425496a9fc4e9cbc50ad6938e9dccb14827d9558
Gilles Debunne [Thu, 28 Oct 2010 03:08:10 +0000 (20:08 -0700)]
New cut/copy/paste hdpi assets
Change-Id: I64d019e83bf8047e32dae8674fbf3f31a100c987
Jeff Brown [Thu, 28 Oct 2010 02:31:24 +0000 (19:31 -0700)]
am
120a4594: Drop all dispatcher state when dispatcher is disabled.
Joe Onorato [Thu, 28 Oct 2010 02:28:03 +0000 (19:28 -0700)]
Merge "Implement reminder power dialog and invalid charger dialog."
Joe Onorato [Thu, 28 Oct 2010 02:27:12 +0000 (19:27 -0700)]
Merge "Tapping outside the system panel shouldn't open the recent panel"
Joe Onorato [Wed, 27 Oct 2010 22:32:23 +0000 (15:32 -0700)]
Implement reminder power dialog and invalid charger dialog.
Bug:
2510318
Bug:
2974431
Change-Id: I92eb419eeffb657e5572a35a490735a96b303d6b
Jeff Brown [Thu, 28 Oct 2010 01:43:51 +0000 (18:43 -0700)]
Drop all dispatcher state when dispatcher is disabled.
This patch makes the dispatcher drop all of its state when it is
disabled (when the screen turns off). This ensures that the dispatcher
does not get stuck thinking a pointer is still down if the screen
turned off while the user was touching the display (such as a fat touch
while hitting the power button).
Bug:
3098344
Change-Id: If50ef5804870aa1acd3179fd4b40e3cda58dd39d
Xavier Ducrohet [Thu, 28 Oct 2010 01:22:03 +0000 (18:22 -0700)]
Fix the layoutlib_bridge .classpath to not use the full layoutlib
Instead this uses the actual output of layoutlib_create, which is
all the modified classes before the content of the bridge is added
to form layoutlib.
Change-Id: I22755f38800cd69206834ff9594a99cb0c1d2139
Xavier Ducrohet [Wed, 27 Oct 2010 23:45:38 +0000 (16:45 -0700)]
Move layoutlib typeface implementation to delegate.
Also move BridgeContentProvider to its own class to make it
less messy in BridgeContentResolver.
Change-Id: Id3462218b500d43d4c9b20b25326ad24e4106fa5
Mathias Agopian [Tue, 26 Oct 2010 01:29:35 +0000 (18:29 -0700)]
really fix [
3118445] Transform * Transform does not work as expected
Two bugs were counter acting each other.
- rotation matrices are on the left-hand side of multiplies
- the transform of the overlay is applied before that of the layer
Change-Id: Ia79bd368e9b719235c89ecf244ea263f01ce906a
Dianne Hackborn [Wed, 27 Oct 2010 00:44:01 +0000 (17:44 -0700)]
Add facility for broadcasts receives to do work asynchronously.
You can now call goAsync() and move your work to a background thread.
If you are that kind of receiver. You weirdo.
Also allows SharedPreferences.apply() to be committed off the main
thread after returning from onReceive().
Change-Id: I27f975910e28f230ababcaeb551eb9a78ec4fc76
Jaikumar Ganesh [Wed, 27 Oct 2010 22:57:23 +0000 (15:57 -0700)]
DO NOT MERGE Fix auto connection with headsets which don't send incoming
connections for all profiles.
Bug:
3136095
Change-Id: I48f36b99f3f7619a6a18c6adc2057c9d6d23c3e3
Amith Yamasani [Wed, 27 Oct 2010 23:34:42 +0000 (16:34 -0700)]
Merge "No animation when tapping on current header in a preference screen."
Amith Yamasani [Wed, 27 Oct 2010 23:14:20 +0000 (16:14 -0700)]
No animation when tapping on current header in a preference screen.
Bug:
3125427
Jaikumar Ganesh [Wed, 27 Oct 2010 23:18:07 +0000 (16:18 -0700)]
Merge "Bluetooth OBEX timeout problem."
Anders Petersson [Wed, 27 Oct 2010 06:38:30 +0000 (08:38 +0200)]
Bluetooth OBEX timeout problem.
Long time to show notification of file transfer failed after
canceling transfer via remote part.
Device A is in contact with our device, B. When device A Cancel
a transfer operation, it sends OBEX_OPCODE_DISCONNECT HeaderID
and the length of package to B. B use the length of package to
read remainder bytes from A. If the bytes B read do not meet the
received length it will block and wait for remainder bytes from A.
But when B compute the remainder bytes it forgets to subtract
the three bytes it has already read through HeaderID and the length
of the package. So the operation was blocked until the operation
timeout.
Change-Id: I0f8bf62d3119e081b5c01af9fc05fe586fd4fabc
Jack Palevich [Wed, 27 Oct 2010 22:34:11 +0000 (15:34 -0700)]
Trace glUniformXXv and glUniformMatrixXfv calls.
Change-Id: I653021d2174fa1a7343d10b0fd2c29b3e5147be6
Eric Fischer [Wed, 27 Oct 2010 22:15:34 +0000 (15:15 -0700)]
Merge "Import revised translations."
Dianne Hackborn [Wed, 27 Oct 2010 22:02:44 +0000 (15:02 -0700)]
am
96abb48d: am
aa93bcd6: Fix issue #
3138926: App\'s preferences can be lost after onPause()
Dianne Hackborn [Wed, 27 Oct 2010 21:59:28 +0000 (14:59 -0700)]
am
aa93bcd6: Fix issue #
3138926: App\'s preferences can be lost after onPause()
Andreas Huber [Wed, 27 Oct 2010 21:58:42 +0000 (14:58 -0700)]
Merge "Better support for MP4A-LATM RTP disassembly. This used to fail if mNumSubFrames > 1 and the sub frames did not align with RTP packet boundaries."
Gilles Debunne [Wed, 27 Oct 2010 21:56:22 +0000 (14:56 -0700)]
Merge "Text selection can be started with a double tap in TextView"
Kristian Monsen [Wed, 27 Oct 2010 21:56:10 +0000 (14:56 -0700)]
Merge "Fix for simulator build"
Chet Haase [Wed, 27 Oct 2010 21:51:32 +0000 (14:51 -0700)]
Merge "Use ThreadLocal for static Animator variables."
Kristian Monsen [Wed, 27 Oct 2010 16:59:09 +0000 (17:59 +0100)]
Fix for simulator build
The code looks correct, but causes an internal compiler error on
simulator builds on mine (an other) gLucid desktops.
Change-Id: Iaf0d8120778ec1c6fc739ef13e6eaaac53e3bcc8
Andreas Huber [Wed, 27 Oct 2010 20:59:59 +0000 (13:59 -0700)]
Better support for MP4A-LATM RTP disassembly. This used to fail if mNumSubFrames > 1 and the sub frames did not align with RTP packet boundaries.
Change-Id: I20e3b86f52b7f0f41663ffe8bc1f4db92280e884
Joe Onorato [Wed, 27 Oct 2010 21:32:28 +0000 (14:32 -0700)]
Tapping outside the system panel shouldn't open the recent panel
Change-Id: Iec784cbe08f61f14a345f81e1cf374ee095beaf5
Gilles Debunne [Wed, 27 Oct 2010 21:22:35 +0000 (14:22 -0700)]
Text selection can be started with a double tap in TextView
Cherry picked from CL 73484 in GB.
Change-Id: Ieb6ee5b4bf85226a8c488f78f5ff00a57fc031b8
Eric Fischer [Wed, 27 Oct 2010 21:28:17 +0000 (14:28 -0700)]
Import revised translations.
Change-Id: I2ce0fd4da5c8ac33e90909d49f46cd29565de276
Alex Sakhartchouk [Wed, 27 Oct 2010 21:10:07 +0000 (14:10 -0700)]
Adding nvidia extension for limited npot support.
Updating a3d loading to be async.
Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
Amith Yamasani [Wed, 27 Oct 2010 21:02:08 +0000 (14:02 -0700)]
Merge "Wallpaper transition changed to fade instead of translate/scale/fade."
Dianne Hackborn [Wed, 27 Oct 2010 20:57:00 +0000 (13:57 -0700)]
Fix issue #
3138926: App's preferences can be lost after onPause()
Change-Id: Icea3d37fab5e47c89c5cbc0adff7bbec898fa93e
Chet Haase [Wed, 27 Oct 2010 20:18:54 +0000 (13:18 -0700)]
Use ThreadLocal for static Animator variables.
Certain fields in Animator are statics, like the list of current animations and the
main handler. However, since there may be >1 UI thread per process, these should really
be ThreadLocal variables, so that they are local to each UI thread. For example,
most animators will cause an invalidation in the view hierarchy, which can only
happen in the UI thread for that view.
Change-Id: I42be61c781ffac97b527f78ce1ffc2e0cdc42999
Amith Yamasani [Tue, 26 Oct 2010 20:42:13 +0000 (13:42 -0700)]
Wallpaper transition changed to fade instead of translate/scale/fade.
This is mainly to have a quick transition into QSB so that it feels light-weight.
Bug:
3132162
Andy McFadden [Wed, 27 Oct 2010 20:28:17 +0000 (13:28 -0700)]
am
e3e8642c: am
001c7d12: Merge "Set capabilities sooner." into gingerbread
Andy McFadden [Wed, 27 Oct 2010 20:25:29 +0000 (13:25 -0700)]
am
001c7d12: Merge "Set capabilities sooner." into gingerbread
Andy McFadden [Wed, 27 Oct 2010 20:22:50 +0000 (13:22 -0700)]
Merge "Set capabilities sooner." into gingerbread
Joe Onorato [Wed, 27 Oct 2010 20:19:47 +0000 (13:19 -0700)]
getRingtone is causing an anr. Turn it off for now.
Change-Id: Ia002c9be1cd203e5e989f2a9e49c49b97778ec1b
Gil Dobjanschi [Wed, 27 Oct 2010 19:37:34 +0000 (12:37 -0700)]
Merge "Waveform member variables must be private"
Joe Onorato [Wed, 27 Oct 2010 19:29:32 +0000 (12:29 -0700)]
Merge "Make the low battery dialog work again."
Joe Onorato [Wed, 27 Oct 2010 19:29:12 +0000 (12:29 -0700)]
Merge "Move the battery LED code over to the battery service from the notification service (!)"
Steve Block [Wed, 27 Oct 2010 19:29:03 +0000 (12:29 -0700)]
Merge "Hook up CookieManager.getCookie() for Chromium HTTP stack"
Gil Dobjanschi [Wed, 27 Oct 2010 19:26:54 +0000 (12:26 -0700)]
Waveform member variables must be private
Change-Id: I8e61dbe5ad51b455377e39a0918ac82d138d8228
Eric Rowe [Wed, 27 Oct 2010 19:07:44 +0000 (12:07 -0700)]
Merge "Modify bluetooth test cases GB for new HC APIs"
Xavier Ducrohet [Wed, 27 Oct 2010 18:59:05 +0000 (11:59 -0700)]
am
57f7ccc4: am
63e5d07e: Merge "Fix issue with project resources overriding framework resources." into gingerbread
Yu Shan Emily Lau [Wed, 27 Oct 2010 18:58:58 +0000 (11:58 -0700)]
am
751cc424: am
8b023a2e: Merge "Add the mediaplayer release in the test validation. This is to ensure the media player release properly." into gingerbread
Steve Block [Wed, 27 Oct 2010 18:47:45 +0000 (11:47 -0700)]
Merge "Hook up CookieManager.acceptCookie() and setAcceptCookie() for the Chromium HTTP stack"
Jack Palevich [Wed, 27 Oct 2010 18:37:23 +0000 (11:37 -0700)]
Preserve the render mode when recreating the render thread.
Change-Id: I67a12a9598d3ef099bef8727411891614b1bc3f7
Andy McFadden [Wed, 27 Oct 2010 18:26:05 +0000 (11:26 -0700)]
Set capabilities sooner.
Bug
3135433.
Change-Id: I4e34b60c0a01b85ce0d80eb96ff3510604a68c71
Joe Onorato [Mon, 25 Oct 2010 17:42:46 +0000 (10:42 -0700)]
Make the low battery dialog work again.
Change-Id: I97232a3645e6a817c9c5f5f90b88a7e925d36d13
Joe Onorato [Tue, 26 Oct 2010 03:36:47 +0000 (20:36 -0700)]
Move the battery LED code over to the battery service from the notification service (!)
Change-Id: I12d7994ae245a36b8b2c3272fcbe173881caebd0
Xavier Ducrohet [Wed, 27 Oct 2010 18:23:58 +0000 (11:23 -0700)]
am
63e5d07e: Merge "Fix issue with project resources overriding framework resources." into gingerbread
Xavier Ducrohet [Wed, 27 Oct 2010 18:22:22 +0000 (11:22 -0700)]
Merge "Fix issue with project resources overriding framework resources." into gingerbread
Xavier Ducrohet [Wed, 27 Oct 2010 18:18:02 +0000 (11:18 -0700)]
Merge "Reimplement the native matrix method using the new delegate way."
Yu Shan Emily Lau [Wed, 27 Oct 2010 18:14:36 +0000 (11:14 -0700)]
am
8b023a2e: Merge "Add the mediaplayer release in the test validation. This is to ensure the media player release properly." into gingerbread
Yu Shan Emily Lau [Wed, 27 Oct 2010 18:12:58 +0000 (11:12 -0700)]
Merge "Add the mediaplayer release in the test validation. This is to ensure the media player release properly." into gingerbread
Marco Nelissen [Wed, 27 Oct 2010 18:11:19 +0000 (11:11 -0700)]
am
cd08ada7: am
67c7a4ae: Merge "Fix off-by-two and other bugs in the visualization code. b/
3137511" into gingerbread
Marco Nelissen [Wed, 27 Oct 2010 18:08:14 +0000 (11:08 -0700)]
am
67c7a4ae: Merge "Fix off-by-two and other bugs in the visualization code. b/
3137511" into gingerbread
Marco Nelissen [Wed, 27 Oct 2010 18:06:39 +0000 (11:06 -0700)]
Merge "Fix off-by-two and other bugs in the visualization code. b/
3137511" into gingerbread
Amith Yamasani [Wed, 27 Oct 2010 18:04:43 +0000 (11:04 -0700)]
Merge "Fix sub-header height to follow drawable. Floating panels for Preference screens."
Amith Yamasani [Mon, 25 Oct 2010 16:25:38 +0000 (09:25 -0700)]
Fix sub-header height to follow drawable. Floating panels for Preference screens.
Andreas Huber [Wed, 27 Oct 2010 17:58:31 +0000 (10:58 -0700)]
Merge "Remove annoying warning during mpeg4 extraction."
Gil Dobjanschi [Wed, 27 Oct 2010 17:50:28 +0000 (10:50 -0700)]
Merge "Added waveform data support"
Nick Pelly [Wed, 27 Oct 2010 17:46:23 +0000 (10:46 -0700)]
am
222f489f: am
6d55e134: Make best effort attempt to recover NFC service when it dies.
Nick Pelly [Wed, 27 Oct 2010 17:43:19 +0000 (10:43 -0700)]
am
6d55e134: Make best effort attempt to recover NFC service when it dies.
Andreas Huber [Wed, 27 Oct 2010 17:39:57 +0000 (10:39 -0700)]
Merge "FileSource may fail to open a file in which case subsequent code dereferences a NULL pointer. This fixes this recently introduced problem."
Gil Dobjanschi [Wed, 27 Oct 2010 17:35:29 +0000 (10:35 -0700)]
Added waveform data support
Change-Id: I28e922e0d6588ffe13da7e814dae61f17446b1e9
Andreas Huber [Wed, 27 Oct 2010 17:33:04 +0000 (10:33 -0700)]
FileSource may fail to open a file in which case subsequent code dereferences a NULL pointer. This fixes this recently introduced problem.
Change-Id: I60dd9532b694a1b488743b71f43e107c778d6683
Andreas Huber [Wed, 27 Oct 2010 17:25:44 +0000 (10:25 -0700)]
Remove annoying warning during mpeg4 extraction.
Change-Id: Iffadeefb43bab6da1299b0a0582d6c6990156c32
related-to-bug:
3093774
Marco Nelissen [Wed, 27 Oct 2010 16:06:01 +0000 (09:06 -0700)]
Fix off-by-two and other bugs in the visualization code.
b/
3137511
Change-Id: Ic431701e93c025bc417c9742e9af6bb2350c7dd6
Kristian Monsen [Wed, 27 Oct 2010 17:07:58 +0000 (10:07 -0700)]
Merge "Fix for simulator build break"
Xavier Ducrohet [Fri, 22 Oct 2010 21:48:17 +0000 (14:48 -0700)]
Reimplement the native matrix method using the new delegate way.
Instead of renaming the old Matrix class into _Original_Matrix
and have layoutlib provide a full new implementation of Matrix,
we keep the old one by only modifying it to implement the native
methods which calls out to a new Matrix_Delegate class.
The goal is to not have to maintain the java portion in
sync between the framework and the layoutlib version.
Change-Id: I3e1aefffbae45e91b75331c0c6ff2260323deacd
Kristian Monsen [Wed, 27 Oct 2010 16:51:29 +0000 (17:51 +0100)]
Fix for simulator build break
strrchr returns a const char* in c++ if you give in a const char*
Change-Id: I15ac2ae9e1d41d7737193146c526fcbddccae27c
Steve Block [Wed, 27 Oct 2010 16:13:48 +0000 (17:13 +0100)]
Hook up CookieManager.getCookie() for Chromium HTTP stack
Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76603
Bug:
3116410
Change-Id: Id0cd5871fd13f952d4f2aa963576a4e610459a18
Leon Scroggins [Tue, 26 Oct 2010 20:35:57 +0000 (16:35 -0400)]
Make sure nativeMotionUp is called.
If someone sets mLogEvent to false to prevent logging,
nativeMotionUp will not be called, so touches to WebView
will no longer work. Make sure this does not happen.
Change-Id: Ie79ccc68677cea2f686f7c7da734bf719910f583
Steve Block [Mon, 25 Oct 2010 11:23:20 +0000 (12:23 +0100)]
Hook up CookieManager.acceptCookie() and setAcceptCookie() for the Chromium HTTP stack
Also requires a change to external/webkit ...
https://android-git.corp.google.com/g/76066
Bug:
3116410
Change-Id: If8562468708e7d68c5be53db3860647687ebf3bd
Steve Block [Wed, 27 Oct 2010 10:29:42 +0000 (11:29 +0100)]
Update Chromium HTTP stack to get database and cache paths from CookieSyncManager
Currently these paths are obtained from the BrowserFrame via JNI.
However, the paths are not synced to the BrowserFrame until the
WebCore thread has started up. This means that if the
WebRequestContext is created on the IO thread, the paths may not be
available.
This change moves the paths from BrowserFrame to CookieSyncManager to
avoid the need to wait for the WebCore thread.
Note that the new methods may be called on either the UI or WebCore
threads, so are synchronised.
Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76579
Change-Id: I8e910ee209c570e90181bd308a78d1987b4d120c
Iain Merrick [Wed, 27 Oct 2010 11:33:09 +0000 (12:33 +0100)]
Strip off MIME types when loading content URLs.
Matching behaviour that has been in ContentLoader.java since
approximately day 0. Without this, we can't load Gmail attachments
with the Chrome HTTP stack because of permission errors -- we have
to load exactly the URL Gmail tells us.
See http://b/issue?id=
3125650
Change-Id: I764036efd428299b2fcd611b62dc046a40d80a55
Iain Merrick [Wed, 27 Oct 2010 10:31:01 +0000 (03:31 -0700)]
Merge "Only AV formats should be handled by MediaPlayer (Java side)"
Iain Merrick [Wed, 27 Oct 2010 09:15:14 +0000 (10:15 +0100)]
Only AV formats should be handled by MediaPlayer (Java side)
Must be submitted with corresponding C++ change (I50da7599).
When opening a text file in the browser, WebKit was attempting to
display it as a movie. This is because the media player now reports
that it can handle various document formats, including plain text.
See http://b/issue?id=
3132917
This CL updates WebViewCore.supportsMimeType() to explicitly check
for audio and video formats only. This is called from WebKit via
JNI, and doesn't seem to be used elsewhere, so it should be a safe
change to make. Renamed to isSupportedMediaMimeType() for clarity.
Test: push a text file to /sdcard/foo.txt, and open it in the
browser (as file:///sdcard/foo.txt).
Change-Id: Id39b770b05ced7c976d8043649845f26115b24c9