OSDN Git Service

android-x86/frameworks-base.git
13 years agoHook up remaining CookieManager methods
Steve Block [Thu, 28 Oct 2010 11:23:48 +0000 (12:23 +0100)]
Hook up remaining CookieManager methods

hasCookies(), removeExpiredCookie(), removeSessionCookie() and setCookie()

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76897

Bug: 3116410
Change-Id: I46603be60e2a6b0e8bac9ca506b56d78643a3658

13 years agoShow Subtype Icon properly in the system status bar
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

13 years agoam 5c0efef9: am 7d452f69: Merge "really fix [3118445] Transform * Transform does...
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

13 years agoam 7d452f69: Merge "really fix [3118445] Transform * Transform does not work as expec...
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

13 years agoam 70a68f95: (-s ours) am 025f78eb: Merge "DO NOT MERGE Fix auto connection with...
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

13 years agoMerge "really fix [3118445] Transform * Transform does not work as expected" into...
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

13 years agoam 025f78eb: Merge "DO NOT MERGE Fix auto connection with headsets which don\'t send...
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

13 years agoMerge "DO NOT MERGE Fix auto connection with headsets which don't send incoming conne...
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

13 years agomake notifications appear during downloading AND after completion
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

13 years agoresolved conflicts for merge of df3cccf3 to master
Jeff Brown [Thu, 28 Oct 2010 05:18:43 +0000 (22:18 -0700)]
resolved conflicts for merge of df3cccf3 to master

Change-Id: I425496a9fc4e9cbc50ad6938e9dccb14827d9558

13 years agoNew cut/copy/paste hdpi assets
Gilles Debunne [Thu, 28 Oct 2010 03:08:10 +0000 (20:08 -0700)]
New cut/copy/paste hdpi assets

Change-Id: I64d019e83bf8047e32dae8674fbf3f31a100c987

13 years agoam 120a4594: Drop all dispatcher state when dispatcher is disabled.
Jeff Brown [Thu, 28 Oct 2010 02:31:24 +0000 (19:31 -0700)]
am 120a4594: Drop all dispatcher state when dispatcher is disabled.

13 years agoMerge "Implement reminder power dialog and invalid charger dialog."
Joe Onorato [Thu, 28 Oct 2010 02:28:03 +0000 (19:28 -0700)]
Merge "Implement reminder power dialog and invalid charger dialog."

13 years agoMerge "Tapping outside the system panel shouldn't open the recent panel"
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"

13 years agoImplement reminder power dialog and invalid charger dialog.
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

13 years agoDrop all dispatcher state when dispatcher is disabled.
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

13 years agoreally fix [3118445] Transform * Transform does not work as expected
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

13 years agoAdd facility for broadcasts receives to do work asynchronously.
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

13 years agoDO NOT MERGE Fix auto connection with headsets which don't send incoming
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

13 years agoMerge "No animation when tapping on current header in a preference screen."
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."

13 years agoNo 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

13 years agoMerge "Bluetooth OBEX timeout problem."
Jaikumar Ganesh [Wed, 27 Oct 2010 23:18:07 +0000 (16:18 -0700)]
Merge "Bluetooth OBEX timeout problem."

13 years agoBluetooth 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

13 years agoTrace glUniformXXv and glUniformMatrixXfv calls.
Jack Palevich [Wed, 27 Oct 2010 22:34:11 +0000 (15:34 -0700)]
Trace glUniformXXv and glUniformMatrixXfv calls.

Change-Id: I653021d2174fa1a7343d10b0fd2c29b3e5147be6

13 years agoMerge "Import revised translations."
Eric Fischer [Wed, 27 Oct 2010 22:15:34 +0000 (15:15 -0700)]
Merge "Import revised translations."

13 years agoam 96abb48d: am aa93bcd6: Fix issue #3138926: App\'s preferences can be lost after...
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()

13 years agoam 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()

13 years agoMerge "Better support for MP4A-LATM RTP disassembly. This used to fail if mNumSubFram...
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."

13 years agoMerge "Text selection can be started with a double tap in TextView"
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"

13 years agoMerge "Fix for simulator build"
Kristian Monsen [Wed, 27 Oct 2010 21:56:10 +0000 (14:56 -0700)]
Merge "Fix for simulator build"

13 years agoMerge "Use ThreadLocal for static Animator variables."
Chet Haase [Wed, 27 Oct 2010 21:51:32 +0000 (14:51 -0700)]
Merge "Use ThreadLocal for static Animator variables."

13 years agoFix for simulator build
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

13 years agoBetter support for MP4A-LATM RTP disassembly. This used to fail if mNumSubFrames...
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

13 years agoTapping outside the system panel shouldn't open the recent panel
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

13 years agoText selection can be started with a double tap in TextView
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

13 years agoImport revised translations.
Eric Fischer [Wed, 27 Oct 2010 21:28:17 +0000 (14:28 -0700)]
Import revised translations.

Change-Id: I2ce0fd4da5c8ac33e90909d49f46cd29565de276

13 years agoMerge "Wallpaper transition changed to fade instead of translate/scale/fade."
Amith Yamasani [Wed, 27 Oct 2010 21:02:08 +0000 (14:02 -0700)]
Merge "Wallpaper transition changed to fade instead of translate/scale/fade."

13 years agoFix issue #3138926: App's preferences can be lost after onPause()
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

13 years agoUse ThreadLocal for static Animator variables.
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

13 years agoWallpaper transition changed to fade instead of translate/scale/fade.
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

13 years agoam e3e8642c: am 001c7d12: Merge "Set capabilities sooner." into gingerbread
Andy McFadden [Wed, 27 Oct 2010 20:28:17 +0000 (13:28 -0700)]
am e3e8642c: am 001c7d12: Merge "Set capabilities sooner." into gingerbread

13 years agoam 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

13 years agoMerge "Set capabilities sooner." into gingerbread
Andy McFadden [Wed, 27 Oct 2010 20:22:50 +0000 (13:22 -0700)]
Merge "Set capabilities sooner." into gingerbread

13 years agogetRingtone is causing an anr. Turn it off for now.
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

13 years agoMerge "Waveform member variables must be private"
Gil Dobjanschi [Wed, 27 Oct 2010 19:37:34 +0000 (12:37 -0700)]
Merge "Waveform member variables must be private"

13 years agoMerge "Make the low battery dialog work again."
Joe Onorato [Wed, 27 Oct 2010 19:29:32 +0000 (12:29 -0700)]
Merge "Make the low battery dialog work again."

13 years agoMerge "Move the battery LED code over to the battery service from the notification...
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 (!)"

13 years agoMerge "Hook up CookieManager.getCookie() for Chromium HTTP stack"
Steve Block [Wed, 27 Oct 2010 19:29:03 +0000 (12:29 -0700)]
Merge "Hook up CookieManager.getCookie() for Chromium HTTP stack"

13 years agoWaveform member variables must be private
Gil Dobjanschi [Wed, 27 Oct 2010 19:26:54 +0000 (12:26 -0700)]
Waveform member variables must be private

Change-Id: I8e61dbe5ad51b455377e39a0918ac82d138d8228

13 years agoMerge "Modify bluetooth test cases GB for new HC APIs"
Eric Rowe [Wed, 27 Oct 2010 19:07:44 +0000 (12:07 -0700)]
Merge "Modify bluetooth test cases GB for new HC APIs"

13 years agoam 57f7ccc4: am 63e5d07e: Merge "Fix issue with project resources overriding framewor...
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

13 years agoam 751cc424: am 8b023a2e: Merge "Add the mediaplayer release in the test validation...
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

13 years agoMerge "Hook up CookieManager.acceptCookie() and setAcceptCookie() for the Chromium...
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"

13 years agoPreserve the render mode when recreating the render thread.
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

13 years agoSet capabilities sooner.
Andy McFadden [Wed, 27 Oct 2010 18:26:05 +0000 (11:26 -0700)]
Set capabilities sooner.

Bug 3135433.

Change-Id: I4e34b60c0a01b85ce0d80eb96ff3510604a68c71

13 years agoMake the low battery dialog work again.
Joe Onorato [Mon, 25 Oct 2010 17:42:46 +0000 (10:42 -0700)]
Make the low battery dialog work again.

Change-Id: I97232a3645e6a817c9c5f5f90b88a7e925d36d13

13 years agoMove the battery LED code over to the battery service from the notification service (!)
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

13 years agoam 63e5d07e: Merge "Fix issue with project resources overriding framework resources...
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

13 years agoMerge "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

13 years agoMerge "Reimplement the native matrix method using the new delegate way."
Xavier Ducrohet [Wed, 27 Oct 2010 18:18:02 +0000 (11:18 -0700)]
Merge "Reimplement the native matrix method using the new delegate way."

13 years agoam 8b023a2e: Merge "Add the mediaplayer release in the test validation. This is to...
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

13 years agoMerge "Add the mediaplayer release in the test validation. This is to ensure the...
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

13 years agoam cd08ada7: am 67c7a4ae: Merge "Fix off-by-two and other bugs in the visualization...
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

13 years agoam 67c7a4ae: Merge "Fix off-by-two and other bugs in the visualization code. b/313751...
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

13 years agoMerge "Fix off-by-two and other bugs in the visualization code. b/3137511" into ginge...
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

13 years agoMerge "Fix sub-header height to follow drawable. Floating panels for Preference screens."
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."

13 years agoFix 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.

13 years agoMerge "Remove annoying warning during mpeg4 extraction."
Andreas Huber [Wed, 27 Oct 2010 17:58:31 +0000 (10:58 -0700)]
Merge "Remove annoying warning during mpeg4 extraction."

13 years agoMerge "Added waveform data support"
Gil Dobjanschi [Wed, 27 Oct 2010 17:50:28 +0000 (10:50 -0700)]
Merge "Added waveform data support"

13 years agoam 222f489f: am 6d55e134: Make best effort attempt to recover NFC service when it...
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.

13 years agoam 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.

13 years agoMerge "FileSource may fail to open a file in which case subsequent code dereferences...
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."

13 years agoAdded waveform data support
Gil Dobjanschi [Wed, 27 Oct 2010 17:35:29 +0000 (10:35 -0700)]
Added waveform data support

Change-Id: I28e922e0d6588ffe13da7e814dae61f17446b1e9

13 years agoFileSource may fail to open a file in which case subsequent code dereferences a NULL...
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

13 years agoRemove annoying warning during mpeg4 extraction.
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

13 years agoFix off-by-two and other bugs in the visualization code.
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

13 years agoMerge "Fix for simulator build break"
Kristian Monsen [Wed, 27 Oct 2010 17:07:58 +0000 (10:07 -0700)]
Merge "Fix for simulator build break"

13 years agoReimplement the native matrix method using the new delegate way.
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

13 years agoFix for simulator build break
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

13 years agoHook up CookieManager.getCookie() for Chromium HTTP stack
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

13 years agoMake sure nativeMotionUp is called.
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

13 years agoHook up CookieManager.acceptCookie() and setAcceptCookie() for the Chromium HTTP...
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

13 years agoUpdate Chromium HTTP stack to get database and cache paths from CookieSyncManager
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

13 years agoStrip off MIME types when loading content URLs.
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

13 years agoMerge "Only AV formats should be handled by MediaPlayer (Java side)"
Iain Merrick [Wed, 27 Oct 2010 10:31:01 +0000 (03:31 -0700)]
Merge "Only AV formats should be handled by MediaPlayer (Java side)"

13 years agoOnly 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

13 years agoMake best effort attempt to recover NFC service when it dies.
Nick Pelly [Wed, 27 Oct 2010 08:14:43 +0000 (01:14 -0700)]
Make best effort attempt to recover NFC service when it dies.

Retrieve the service again from ServiceManager on RemoteException.

Change-Id: Ie227b52019e7deafeab712af1addd6d957f7a8ee
Signed-off-by: Nick Pelly <npelly@google.com>
13 years agoRemove InputMethodAndSubtypeEnabler and call intent of Settings.ACTION_INPUT_METHOD_A...
satok [Wed, 27 Oct 2010 05:11:03 +0000 (14:11 +0900)]
Remove InputMethodAndSubtypeEnabler and call intent of Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER

Change-Id: I467cfba9644ec266f6a98f7aec0886ad205fef4f

13 years agoMerge "Removed the start and end transition types."
Gil Dobjanschi [Wed, 27 Oct 2010 01:57:57 +0000 (18:57 -0700)]
Merge "Removed the start and end transition types."

13 years agoMerge "convert one of the LOGE to LOG_WINDOW msg to reduce grief"
Vasu Nori [Wed, 27 Oct 2010 01:39:27 +0000 (18:39 -0700)]
Merge "convert one of the LOGE to LOG_WINDOW msg to reduce grief"

13 years agoMerge "OpenGL tracing."
Jack Palevich [Wed, 27 Oct 2010 01:37:10 +0000 (18:37 -0700)]
Merge "OpenGL tracing."

13 years agoMerge "Allow a GLSurfaceView to be reattached to a window."
Jack Palevich [Wed, 27 Oct 2010 01:25:56 +0000 (18:25 -0700)]
Merge "Allow a GLSurfaceView to be reattached to a window."

13 years agoAllow a GLSurfaceView to be reattached to a window.
Jack Palevich [Wed, 27 Oct 2010 01:19:14 +0000 (18:19 -0700)]
Allow a GLSurfaceView to be reattached to a window.

This approach is more backwards-compatible than the previous attempt.

The onDetachedFromWindow case is unchanged from the "classic"
GLSurfaceView behavior, except that we don't throw a NPE if the
renderer has never been set.

Change-Id: Ia8103a73366ddb13be44f16b789c929e75ddc792

13 years agoMerge "add method in MediaFile to determine if a file is a mediatype of not"
Vasu Nori [Wed, 27 Oct 2010 00:59:03 +0000 (17:59 -0700)]
Merge "add method in MediaFile to determine if a file is a mediatype of not"

13 years agoFix issue with project resources overriding framework resources.
Xavier Ducrohet [Tue, 26 Oct 2010 23:58:34 +0000 (16:58 -0700)]
Fix issue with project resources overriding framework resources.

Framework resources loaded through Drawable.createFromXml could
be overriden by project resources if there were loaded through
a  state list drawable where the final resource name was used
by a project resource (of the same type).

This ensures that the XML parser knows that it's a framework
resource being parsed and that the resource resolution uses
that information.

Change-Id: I39cf9eba755e55f1604b968637aeecff969a558d

13 years agoMerge "Fix rendering of digitalClock/Gallery in Eclipse editors."
Xavier Ducrohet [Tue, 26 Oct 2010 23:56:30 +0000 (16:56 -0700)]
Merge "Fix rendering of digitalClock/Gallery in Eclipse editors."

13 years agoconvert one of the LOGE to LOG_WINDOW msg to reduce grief
Vasu Nori [Tue, 26 Oct 2010 23:44:44 +0000 (16:44 -0700)]
convert one of the LOGE to LOG_WINDOW msg to reduce grief

grief from people who think this message is bad news.
but in reality, this message is really just an informational message
to aid in debugging

Change-Id: I1a2ab1666a27adb7d3fd210528b2c5218640d53d

13 years agoMerge "Remove unnecessary GL calls."
Romain Guy [Tue, 26 Oct 2010 23:31:31 +0000 (16:31 -0700)]
Merge "Remove unnecessary GL calls."

13 years agoRemove unnecessary GL calls.
Romain Guy [Tue, 26 Oct 2010 23:27:31 +0000 (16:27 -0700)]
Remove unnecessary GL calls.

This change batches calls to glScissor() and removes extra GL
queries and glActiveTexture() calls.

Change-Id: I1cd079d314f87cd9c088f95c8d4909c2f860f6aa

13 years agoam e1e82745: am 2088e371: Merge "Assume that all of the decoded vorbis audio data...
Andreas Huber [Tue, 26 Oct 2010 23:25:51 +0000 (16:25 -0700)]
am e1e82745: am 2088e371: Merge "Assume that all of the decoded vorbis audio data is valid unless the source indicates otherwise." into gingerbread