OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "rollback AFTER commit causes warning message from sqlite bug:2486731"
Vasu Nori [Mon, 8 Mar 2010 19:08:10 +0000 (11:08 -0800)]
Merge "rollback AFTER commit causes warning message from sqlite bug:2486731"

14 years agoMerge "Updates WebAddress to ignore the colon after the host component of a URL if...
Steve Block [Mon, 8 Mar 2010 18:43:38 +0000 (10:43 -0800)]
Merge "Updates WebAddress to ignore the colon after the host component of a URL if no port is specified"

14 years agoMerge "Pass keys to plugin while shift is held down."
Leon Scroggins [Mon, 8 Mar 2010 18:42:42 +0000 (10:42 -0800)]
Merge "Pass keys to plugin while shift is held down."

14 years agoMerge "If both cookies have null values, use the name difference."
Patrick Scott [Mon, 8 Mar 2010 17:54:08 +0000 (09:54 -0800)]
Merge "If both cookies have null values, use the name difference."

14 years agoUpdates WebAddress to ignore the colon after the host component of a URL if no port...
Steve Block [Mon, 8 Mar 2010 17:52:02 +0000 (17:52 +0000)]
Updates WebAddress to ignore the colon after the host component of a URL if no port is specified

Currently, the regex used to extract the port matches ':' followed by 1 or more
digits. This means that when passed a malformed URL of type <host>:<path>, no
match is made for the port and the ':' is matched as part of the path. Since the
handling of the path adds a leading '/' where absent (see http://b/1011602),
this leads to the URL being converted to <host>/:<path>.

This change updates the port regex to match ':' followed by zero or more digits.
This means that the ':' is always matched, so it does not leak into the path
and the result is <host><path>. This matches the behavior of desktop browsers.

Bug: 2494876
Change-Id: I34b47c8187cf03aa7674c14cd6593de53dce3169

14 years agoMerge "Adding support for passing HTTP headers to a Browser"
Mike LeBeau [Mon, 8 Mar 2010 17:41:10 +0000 (09:41 -0800)]
Merge "Adding support for passing HTTP headers to a Browser"

14 years agoMerge "Fix issue 2317760: Change the priority between wired headset and A2DP."
Eric Laurent [Mon, 8 Mar 2010 17:40:15 +0000 (09:40 -0800)]
Merge "Fix issue 2317760: Change the priority between wired headset and A2DP."

14 years agoIf both cookies have null values, use the name difference.
Patrick Scott [Mon, 8 Mar 2010 17:04:08 +0000 (12:04 -0500)]
If both cookies have null values, use the name difference.

Change-Id: Idee9763a14dd559f136ee8b1eea9abaf265d15a1

14 years agoMerge "dumpstate: Add secure container + mounted filesystems to bugreport"
San Mehat [Mon, 8 Mar 2010 17:05:44 +0000 (09:05 -0800)]
Merge "dumpstate: Add secure container + mounted filesystems to bugreport"

14 years agoPass keys to plugin while shift is held down.
Leon Scroggins [Fri, 5 Mar 2010 20:42:17 +0000 (15:42 -0500)]
Pass keys to plugin while shift is held down.

Fix for http://b/issue?id=2484986

Change-Id: Ie252527957958d977cec044a1d383c229d3a3268

14 years agoMerge "Fix a SettingsProvider test : 2377540"
Amith Yamasani [Mon, 8 Mar 2010 17:02:31 +0000 (09:02 -0800)]
Merge "Fix a SettingsProvider test : 2377540"

14 years agodumpstate: Add secure container + mounted filesystems to bugreport
San Mehat [Mon, 8 Mar 2010 16:58:03 +0000 (08:58 -0800)]
dumpstate: Add secure container + mounted filesystems to bugreport

Change-Id: I0cb465da86976f5cce3594c4bb846aa6510c52d6
Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "Cookies like "a=b" were broken due to my previous change."
Patrick Scott [Mon, 8 Mar 2010 16:22:59 +0000 (08:22 -0800)]
Merge "Cookies like "a=b" were broken due to my previous change."

14 years agoMerge "For synchronous loads, load file URLs in the WebCore thread, rather than in...
Steve Block [Mon, 8 Mar 2010 16:16:41 +0000 (08:16 -0800)]
Merge "For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread"

14 years agoAdding support for passing HTTP headers to a Browser
Valentin Kravtsov [Fri, 5 Mar 2010 20:39:47 +0000 (20:39 +0000)]
Adding support for passing HTTP headers to a Browser

It is a prt of the following bug fix: http://b/issue?id=2478548

The CL adds the ability to pass HTTP headers to the Browser

Change-Id: Ibf0ad8f678fc5aeef4ac098e5dfbcaed9ada8600

14 years agoMerge "Fixing: Position of right button edge is different for VS"
Bjorn Bringert [Mon, 8 Mar 2010 15:16:16 +0000 (07:16 -0800)]
Merge "Fixing: Position of right button edge is different for VS"

14 years agoFix issue 2317760: Change the priority between wired headset and A2DP.
Eric Laurent [Sat, 6 Mar 2010 23:46:31 +0000 (15:46 -0800)]
Fix issue 2317760: Change the priority between wired headset and A2DP.

Modified audio policy manager so that wired headset has precedence over A2DP headset.

14 years agoMerge "location: dump LocationProvider internal state"
Mike Lockwood [Mon, 8 Mar 2010 14:47:49 +0000 (06:47 -0800)]
Merge "location: dump LocationProvider internal state"

14 years agoscroll into view considers layers
Cary Clark [Fri, 5 Mar 2010 22:47:00 +0000 (17:47 -0500)]
scroll into view considers layers

Remove view metrics data, which is a duplicate of
an existing interface (calcOurContentVisibleRect)

companion fix in external/webkit

http://b/2485168

14 years agoMerge "hidden api sameAs() to compare the pixels of 2 bitmaps for equality"
Mike Reed [Mon, 8 Mar 2010 13:54:42 +0000 (05:54 -0800)]
Merge "hidden api sameAs() to compare the pixels of 2 bitmaps for equality"

14 years agohidden api sameAs() to compare the pixels of 2 bitmaps for equality
Mike Reed [Fri, 5 Mar 2010 22:42:30 +0000 (17:42 -0500)]
hidden api sameAs() to compare the pixels of 2 bitmaps for equality

14 years agoMerge "Hide Go button in browser when no text is entered"
Bjorn Bringert [Mon, 8 Mar 2010 13:45:42 +0000 (05:45 -0800)]
Merge "Hide Go button in browser when no text is entered"

14 years agoCookies like "a=b" were broken due to my previous change.
Patrick Scott [Fri, 5 Mar 2010 17:25:48 +0000 (12:25 -0500)]
Cookies like "a=b" were broken due to my previous change.

Update the cookie parser to correctly detect "a=b" cookies and add comments.
Also change the comparator to compare null values before the name so that all
cookies with null values come after cookies with values.

Also added a cts test in cts project.

Bug: 2487245

14 years agoMerge "Disable car mode should not require DISABLE_KEYGUARD permission"
Mike Lockwood [Mon, 8 Mar 2010 12:12:28 +0000 (04:12 -0800)]
Merge "Disable car mode should not require DISABLE_KEYGUARD permission"

14 years agoDisable car mode should not require DISABLE_KEYGUARD permission
Tobias Haamel [Mon, 8 Mar 2010 10:21:59 +0000 (11:21 +0100)]
Disable car mode should not require DISABLE_KEYGUARD permission

Only the system can enable the car mode and the system should
already have appropriate permissions.
But since we wanna allow all other apps to disable the car mode
again, we don't want to enforce them to specify the DISABLE_KEYGUARD
permission in their manifest.

Change-Id: I1ad244a98d65b7193ea9817bff8406cfc2bce6f3

14 years agokeystore: allow '\0's in keys and add guards for cplusplus.
Chia-chi Yeh [Mon, 8 Mar 2010 09:21:35 +0000 (17:21 +0800)]
keystore: allow '\0's in keys and add guards for cplusplus.

Change-Id: I0af6ed7c5d51ce4ca39cb837e475942800cf6e2d

14 years agoFix a SettingsProvider test : 2377540
Amith Yamasani [Mon, 8 Mar 2010 05:25:21 +0000 (21:25 -0800)]
Fix a SettingsProvider test : 2377540

14 years agoFix typo in log message in TTS SynthProxy.
Jean-Michel Trivi [Sun, 7 Mar 2010 22:29:58 +0000 (14:29 -0800)]
Fix typo in log message in TTS SynthProxy.

Change-Id: Ica7dbf6cb3db2e07958fadad476571b91bde2c24

14 years agoFix bug 2449814
Jean-Michel Trivi [Sun, 7 Mar 2010 21:05:52 +0000 (13:05 -0800)]
Fix bug 2449814
 Reduced the amount of filtering and amplification at the output
 of the Pico TTS engine v1.1.0.2

Change-Id: I89f577b5e94e171b4ed892faffb863f19428cc1a

14 years agolocation: dump LocationProvider internal state
Fred Fettinger [Mon, 4 Jan 2010 21:38:13 +0000 (15:38 -0600)]
location: dump LocationProvider internal state

For each location provider, call getInternalState() to see if it has any
state information to include in a bugreport. If the returned string is not
null, then print a header with the provided name followed by the returned
string.

Change-Id: I0a388d7fba14ac8cadcb80eda0a0ceb95032410b
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoClarify the default algorithm used to choose an EGLConfig.
Jack Palevich [Fri, 5 Mar 2010 02:12:44 +0000 (18:12 -0800)]
Clarify the default algorithm used to choose an EGLConfig.

Explicitly default to an RGB_565 android.view.Surface.

14 years agoMerge "ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator."
Raphael [Sat, 6 Mar 2010 18:45:36 +0000 (10:45 -0800)]
Merge "ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator."

14 years agoMerge "Fix inverted release-EGLContext-on-pause logic."
Jack Palevich [Sat, 6 Mar 2010 18:41:19 +0000 (10:41 -0800)]
Merge "Fix inverted release-EGLContext-on-pause logic."

14 years agoFix inverted release-EGLContext-on-pause logic.
Jack Palevich [Sat, 6 Mar 2010 18:39:27 +0000 (10:39 -0800)]
Fix inverted release-EGLContext-on-pause logic.

This works around a bug in the
"Q3Dimension MSM7500" driver. That driver only
supports a single active EGLContext, so we must
release and restore the EGLContext when pausing
and unpausing.

Unfortunately the test for deciding whether to
release the context was inverted. We were
releasing the context on every device besides
the MSM7500 devices, which was a performance
drain, and we were not releasing the context on
the MSM7500, which meant the underlying driver
bug was not worked around.

Now we release the EGL context when pausing only
on the devices that have the bug.

14 years agoADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator.
Raphael [Sat, 6 Mar 2010 18:09:54 +0000 (10:09 -0800)]
ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator.

SDK Bug 1588698

Change-Id: I47321a0e21a0761d20ed5e61a1a1db1024a141c5

14 years agorollback AFTER commit causes warning message from sqlite bug:2486731
Vasu Nori [Sat, 6 Mar 2010 06:12:51 +0000 (22:12 -0800)]
rollback AFTER commit causes warning message from sqlite bug:2486731

14 years agoMerge "Update keyboard key assets."
Amith Yamasani [Sat, 6 Mar 2010 05:40:23 +0000 (21:40 -0800)]
Merge "Update keyboard key assets."

14 years agoUpdate keyboard key assets.
Amith Yamasani [Sat, 6 Mar 2010 05:36:29 +0000 (21:36 -0800)]
Update keyboard key assets.

14 years agoMerge "Fixed a regression setting ListView selection mode without an adapter"
Adam Powell [Sat, 6 Mar 2010 03:57:09 +0000 (19:57 -0800)]
Merge "Fixed a regression setting ListView selection mode without an adapter"

14 years agoFixed a regression setting ListView selection mode without an adapter
Adam Powell [Sat, 6 Mar 2010 03:51:59 +0000 (19:51 -0800)]
Fixed a regression setting ListView selection mode without an adapter

14 years agoOne! More! Time!
Christopher Tate [Sat, 6 Mar 2010 02:58:14 +0000 (18:58 -0800)]
One! More! Time!

Change-Id: I9e29975542ff1030b636f4e21954610faa2d8ff7

14 years agoMerge "Fix for badly rebased current.xml"
Adam Powell [Sat, 6 Mar 2010 02:54:38 +0000 (18:54 -0800)]
Merge "Fix for badly rebased current.xml"

14 years agoFix for badly rebased current.xml
Adam Powell [Sat, 6 Mar 2010 02:52:28 +0000 (18:52 -0800)]
Fix for badly rebased current.xml

14 years agoRename cleanspec => CleanSpec to match the build rule
Christopher Tate [Sat, 6 Mar 2010 02:48:59 +0000 (18:48 -0800)]
Rename cleanspec => CleanSpec to match the build rule

Change-Id: I9cc9027ea82a90af5f369976823f0feb0a1eeda0

14 years agoMerge "Fix up missed refactoring in JNI reg and preloaded-classes"
Christopher Tate [Sat, 6 Mar 2010 02:27:37 +0000 (18:27 -0800)]
Merge "Fix up missed refactoring in JNI reg and preloaded-classes"

14 years agoFix up missed refactoring in JNI reg and preloaded-classes
Christopher Tate [Sat, 6 Mar 2010 02:03:22 +0000 (18:03 -0800)]
Fix up missed refactoring in JNI reg and preloaded-classes

Change-Id: I079bdf4edfb9083eba3e15d8e4dbf3b2bad9190c

14 years agoListView#getCheckItemIds() deprecated for ListView#getCheckedItemIds().
Adam Powell [Fri, 5 Mar 2010 23:13:56 +0000 (15:13 -0800)]
ListView#getCheckItemIds() deprecated for ListView#getCheckedItemIds().
ListView#getCheckedItemIds() now works more reliably.

14 years agoMerge "Correctly validate numbers when pasted in NumberPicker. Bug #2258525"
Romain Guy [Sat, 6 Mar 2010 01:34:10 +0000 (17:34 -0800)]
Merge "Correctly validate numbers when pasted in NumberPicker. Bug #2258525"

14 years agoCorrectly validate numbers when pasted in NumberPicker.
Romain Guy [Sat, 6 Mar 2010 01:33:20 +0000 (17:33 -0800)]
Correctly validate numbers when pasted in NumberPicker.
Bug #2258525

14 years agoMerge "Fix doc references to "android.backup" to the new "android.app.backup""
Christopher Tate [Sat, 6 Mar 2010 01:32:52 +0000 (17:32 -0800)]
Merge "Fix doc references to "android.backup" to the new "android.app.backup""

14 years agoFix doc references to "android.backup" to the new "android.app.backup"
Christopher Tate [Sat, 6 Mar 2010 01:30:42 +0000 (17:30 -0800)]
Fix doc references to "android.backup" to the new "android.app.backup"

Change-Id: Ia347590a374f7e0b8928b0673dc10d55fe785e73

14 years agoMerge "Still do dump() if we cannot get mServiceLock for a while."
Chih-Chung Chang [Sat, 6 Mar 2010 01:24:52 +0000 (17:24 -0800)]
Merge "Still do dump() if we cannot get mServiceLock for a while."

14 years agoMerge "Refactor android.backup => android.app.backup"
Christopher Tate [Sat, 6 Mar 2010 00:29:04 +0000 (16:29 -0800)]
Merge "Refactor android.backup => android.app.backup"

14 years agoRefactor android.backup => android.app.backup
Christopher Tate [Fri, 5 Mar 2010 23:46:30 +0000 (15:46 -0800)]
Refactor android.backup => android.app.backup

Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8

14 years agoMerge "Allow the configuration string to have quotes."
Wink Saville [Sat, 6 Mar 2010 00:22:55 +0000 (16:22 -0800)]
Merge "Allow the configuration string to have quotes."

14 years agoMerge "Logging to track down an elusive bug with Messaging app losing IME focus in...
Amith Yamasani [Sat, 6 Mar 2010 00:06:50 +0000 (16:06 -0800)]
Merge "Logging to track down an elusive bug with Messaging app losing IME focus in landscape."

14 years agoMerge "Fix issue 2428563: Camera rendered inoperable by voice call interruption."
Eric Laurent [Sat, 6 Mar 2010 00:01:47 +0000 (16:01 -0800)]
Merge "Fix issue 2428563: Camera rendered inoperable by voice call interruption."

14 years agoLogging to track down an elusive bug with Messaging app losing IME focus in landscape.
Amith Yamasani [Fri, 5 Mar 2010 23:41:31 +0000 (15:41 -0800)]
Logging to track down an elusive bug with Messaging app losing IME focus in landscape.

bug: 2200728

14 years agoStill do dump() if we cannot get mServiceLock for a while.
Chih-Chung Chang [Fri, 5 Mar 2010 19:33:03 +0000 (11:33 -0800)]
Still do dump() if we cannot get mServiceLock for a while.

14 years agoMerge "Added accessors for view overscroll modes"
Adam Powell [Fri, 5 Mar 2010 22:48:06 +0000 (14:48 -0800)]
Merge "Added accessors for view overscroll modes"

14 years agoMerge "Add null checks for strings"
Suchi Amalapurapu [Fri, 5 Mar 2010 21:24:06 +0000 (13:24 -0800)]
Merge "Add null checks for strings"

14 years agoAllow the configuration string to have quotes.
Wink Saville [Fri, 5 Mar 2010 21:23:06 +0000 (13:23 -0800)]
Allow the configuration string to have quotes.

This makes properties easier to read so from:
   ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000

to this:
   ro.cdma.data_retry_config="default_randomization=2000,0,0,120000,180000"

Change-Id: Ied2a7be0102512cd2ce528d566c19ed3a8e2f480

14 years agoMerge "don't assume Cursor.getExtras returns non-null"
Mark Wagner [Fri, 5 Mar 2010 21:08:13 +0000 (13:08 -0800)]
Merge "don't assume Cursor.getExtras returns non-null"

14 years agoMerge "Keep screen on when in car mode and the device is powered."
Mike Lockwood [Fri, 5 Mar 2010 21:07:10 +0000 (13:07 -0800)]
Merge "Keep screen on when in car mode and the device is powered."

14 years agoMerge "Adding over scroll to webview. We will always apply over scroll vertically...
Grace Kloba [Fri, 5 Mar 2010 21:06:15 +0000 (13:06 -0800)]
Merge "Adding over scroll to webview. We will always apply over scroll vertically. In horizontal direction, if the page can't be zoomed and the current content just fit, we will not do over scroll."

14 years agoKeep screen on when in car mode and the device is powered.
Mike Lockwood [Fri, 5 Mar 2010 18:45:51 +0000 (13:45 -0500)]
Keep screen on when in car mode and the device is powered.

BUG: 2477103

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge "Add "call" method on ContentProvider."
Brad Fitzpatrick [Fri, 5 Mar 2010 20:19:50 +0000 (12:19 -0800)]
Merge "Add "call" method on ContentProvider."

14 years agoAdd "call" method on ContentProvider.
Brad Fitzpatrick [Fri, 5 Mar 2010 01:48:13 +0000 (17:48 -0800)]
Add "call" method on ContentProvider.

This permits implementing interfaces which are faster than using
remote Cursors.  It then uses it for Settings & SettingProvider, which
together account for ~50% of total ContentProvider event loop stalls
across Froyo dogfooders.

For fetching Settings this looks like it should reduce average
Settings lookup from 10 ms to 0.4 ms on Sholes, once the
SettingsProvider serves most gets from in-memory cache.  Currently it
brings the Sholes average down from 10ms to 2.5 ms while still using
SQLite queries on each get.

14 years agoMerge "Disable the keyguard when in car mode"
Mike Lockwood [Fri, 5 Mar 2010 20:07:25 +0000 (12:07 -0800)]
Merge "Disable the keyguard when in car mode"

14 years agoDisable the keyguard when in car mode
Mike Lockwood [Fri, 5 Mar 2010 16:56:53 +0000 (11:56 -0500)]
Disable the keyguard when in car mode

BUG: 2367912

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge "Change an aapt "warning" from "*** " to "**** " (from three to four stars...
Ed Heyl [Fri, 5 Mar 2010 19:59:58 +0000 (11:59 -0800)]
Merge "Change an aapt "warning" from "*** " to "**** " (from three to four stars). "*** " (three stars and a space) is the 'magic make error string'; so this change makes it easier to find the real issues/errors in build logs.  Besides, other aapt messages are "**** "."

14 years agoFix issue 2428563: Camera rendered inoperable by voice call interruption.
Eric Laurent [Wed, 3 Mar 2010 02:38:06 +0000 (18:38 -0800)]
Fix issue 2428563: Camera rendered inoperable by voice call interruption.

The problem is that AudioRecord never exits read() when a timeout occurs while trying
to get new PCM data from audio hardware input buffer: it just keeps waiting and retrying until stop() is called.
In the same time, opencore AndroidAudioInput::audin_thread_func() loop cannot be exited when stuck
in AudioRecord::read() because the iExitAudioThread flag can only be sampled when AudioRecord::read()
returns. We remain stuck with the audio input thread running.

The fix consists in modifying AudioRecord behavior in case of timeout when getting new PCM samples.
We now wait only one timeout period and try to restart audio record, in case the problem is due to a media_server
process crash. If this fails, we exit read() with a number of bytes read equals to 0 so that
AndroidAudioInput::audin_thread_func() loop can exit.

Also modified Audioflinger::RecordThread() loop so that we attempt to recover from HAL read errors.
In case of read error, the input stream is forced to standby so that next read attempt does a
reconfiguration and restart of the audio input device.

14 years agoAdding over scroll to webview. We will always apply
Grace Kloba [Thu, 4 Mar 2010 19:46:12 +0000 (11:46 -0800)]
Adding over scroll to webview. We will always apply
over scroll vertically. In horizontal direction, if
the page can't be zoomed and the current content just
fit, we will not do over scroll.

Per UI request, only draw the shadow when title bar
is not visible.

14 years agoAdd null checks for strings
Suchi Amalapurapu [Fri, 5 Mar 2010 18:46:11 +0000 (10:46 -0800)]
Add null checks for strings

14 years agoAdded accessors for view overscroll modes
Adam Powell [Fri, 5 Mar 2010 18:50:38 +0000 (10:50 -0800)]
Added accessors for view overscroll modes

14 years agoChange an aapt "warning" from "*** " to "**** " (from three to four stars).
Ed Heyl [Fri, 5 Mar 2010 19:08:58 +0000 (11:08 -0800)]
Change an aapt "warning" from "*** " to "**** " (from three to four stars).
"*** " (three stars and a space) is the 'magic make error string'; so this change makes it
easier to find the real issues/errors in build logs.  Besides, other aapt messages are "**** ".

14 years agoMerge "Fix potential aapt crash when processing overlay."
Xavier Ducrohet [Fri, 5 Mar 2010 19:22:40 +0000 (11:22 -0800)]
Merge "Fix potential aapt crash when processing overlay."

14 years agoFixing: Position of right button edge is different for VS
Valentin Kravtsov [Fri, 5 Mar 2010 19:22:30 +0000 (19:22 +0000)]
Fixing: Position of right button edge is different for VS

bug fix for: http://b/issue?id=2491958

Position of right button edge is different for voice search and Go button in search dialog

STEPS TO REPRODUCE:
1. Open Browser (or Maps)
2. Press search button
3. Look at right edge of voice search button and type 'a'

EXPECTED RESULTS:
The edge of the button does not move

OBSERVED RESULTS:
The edge of the button moves slightly to the left when text is entered.

Change-Id: I92709c14faf1a88c40c5070a23b5e81e01bcff47

14 years agoFix potential aapt crash when processing overlay.
Xavier Ducrohet [Thu, 4 Mar 2010 23:21:59 +0000 (15:21 -0800)]
Fix potential aapt crash when processing overlay.

If an overlay has a type of resources that's not defined in
the main res pool, then aapt would crash.

This dynamically create new ResourceTypeSet when needed
when processing the overlays

Change-Id: I67bc3622281bde73cf42f37a0983798d3f658ce2

14 years agoMerge "Instead of allocating the decoder instances in response to a call to setDataSo...
Andreas Huber [Fri, 5 Mar 2010 19:00:36 +0000 (11:00 -0800)]
Merge "Instead of allocating the decoder instances in response to a call to setDataSource, postpone allocation to the preparation phase where it belongs."

14 years agoRefactor car mode.
Dianne Hackborn [Fri, 5 Mar 2010 02:41:49 +0000 (18:41 -0800)]
Refactor car mode.

Extract all UI behavior from dock observer and ACTION_DOCK_EVENT.

Also introduce a desk type to go along with the car type all through
the resource system, since we now need to have corresponding high-level
broadcasts for desk dock mode.  As part of that I also reworked some
of the logic for switching modes to all funnel through a single
update() call that looks all of the current state to decide what to
do next, and fixed various locking issues.

In addition I found there were bugs in the configuration change
handling causing us to only switch into the car mode config and
then never get out of it.  Unfortunately now that we are actually
changing the configuration for each mode change, the transitions
between them are really crummy as we restart all kinds of
activities. :(

14 years agoInstead of allocating the decoder instances in response to a call to setDataSource...
Andreas Huber [Fri, 5 Mar 2010 18:42:10 +0000 (10:42 -0800)]
Instead of allocating the decoder instances in response to a call to setDataSource, postpone allocation to the preparation phase where it belongs.

related-to-bug: 2492205

14 years agodon't assume Cursor.getExtras returns non-null
Mark Wagner [Fri, 5 Mar 2010 18:39:44 +0000 (10:39 -0800)]
don't assume Cursor.getExtras returns non-null

14 years agoFor synchronous loads, load file URLs in the WebCore thread, rather than in the new...
Steve Block [Fri, 5 Mar 2010 18:32:52 +0000 (18:32 +0000)]
For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread

This fixes the layout test failure in fast/xmlhttprequest/xmlhttprequest-html-response-encoding.html

Bug: 2218794
Change-Id: If86c5dbb72b21400bd0fb6981de1a6fdf9b40fe7

14 years agoMerge "Fix persisting flags for apps with data only Force gc's before deleting contai...
Suchi Amalapurapu [Fri, 5 Mar 2010 18:36:15 +0000 (10:36 -0800)]
Merge "Fix persisting flags for apps with data only Force gc's before deleting containers.:"

14 years agoMerge "Calculate bitmask array sizes correctly in the EventHub"
Christopher Tate [Fri, 5 Mar 2010 18:22:35 +0000 (10:22 -0800)]
Merge "Calculate bitmask array sizes correctly in the EventHub"

14 years agoMerge "Release mediaplayer if the current state is not suspending. Fix for bug 2480093."
Gloria Wang [Fri, 5 Mar 2010 18:22:04 +0000 (10:22 -0800)]
Merge "Release mediaplayer if the current state is not suspending. Fix for bug 2480093."

14 years agoRelease mediaplayer if the current state is not suspending. Fix for bug 2480093.
Gloria Wang [Fri, 5 Mar 2010 18:14:33 +0000 (10:14 -0800)]
Release mediaplayer if the current state is not suspending. Fix for bug 2480093.

14 years agoMerge "provide databasename to the logging func registration func"
Vasu Nori [Fri, 5 Mar 2010 18:06:48 +0000 (10:06 -0800)]
Merge "provide databasename to the logging func registration func"

14 years agoMerge "It is possible that we may get a call from WebCore that the first layout has...
Ben Murdoch [Fri, 5 Mar 2010 17:42:06 +0000 (09:42 -0800)]
Merge "It is possible that we may get a call from WebCore that the first layout has completed before we've successfully syncd the webview dimensions from Java to native and in this case, we end up syncing a height of 0 to WebKit. This causes hit detection to fail, as WebKit thinks we have a 0-height visible area. This patch fixes this scenario by syncing the height of the webview back to WebKit in the case that the first layout comes back before we've sent our dimensions."

14 years agoMerge "Squashed commit of the following:"
Shimeng (Simon) Wang [Fri, 5 Mar 2010 17:40:42 +0000 (09:40 -0800)]
Merge "Squashed commit of the following:"

14 years agoMerge "NPR's audio streams start with a 30sec segment whose mp3 headers are subtly...
Andreas Huber [Fri, 5 Mar 2010 17:33:29 +0000 (09:33 -0800)]
Merge "NPR's audio streams start with a 30sec segment whose mp3 headers are subtly different from those following. Allow certain bits to vary that were thought to be fixed before."

14 years agoIt is possible that we may get a call from WebCore that the first layout has
Ben Murdoch [Fri, 5 Mar 2010 11:30:07 +0000 (11:30 +0000)]
It is possible that we may get a call from WebCore that the first layout has
completed before we've successfully syncd the webview dimensions from Java to
native and in this case, we end up syncing a height of 0 to WebKit. This causes
hit detection to fail, as WebKit thinks we have a 0-height visible area. This
patch fixes this scenario by syncing the height of the webview back to WebKit
in the case that the first layout comes back before we've sent our dimensions.

Fix for b/2449863

Change-Id: Id72c37b17411f3409edc7104d83ca5ffd17ab09b

14 years agoUnhide reconnect() in Camera.
Chih-Chung Chang [Fri, 5 Mar 2010 05:55:50 +0000 (21:55 -0800)]
Unhide reconnect() in Camera.

14 years agoSquashed commit of the following:
Shimeng (Simon) Wang [Fri, 5 Mar 2010 02:06:49 +0000 (18:06 -0800)]
Squashed commit of the following:

commit 35ade1c72b5fe34c177712108ccbc070eab11a87
Author: Shimeng (Simon) Wang <swang@google.com>
Date:   Thu Mar 4 16:29:01 2010 -0800

    Alternative way to fix the history picture drawing issue.

    Disable zoom part for history picture mode.

    Bug: 2462039

commit 1a27acaa36c60546e5e6b2e1caf4ce5488dad14b
Author: Shimeng (Simon) Wang <swang@google.com>
Date:   Thu Mar 4 16:06:41 2010 -0800

    Use the screen width to derive the desired scale.

    This is to fix the history picture draw issue.  Since the mActualScale
    will be changed in some other places.

    Bug: 2462039

14 years agoHide Go button in browser when no text is entered
Bjorn Bringert [Fri, 5 Mar 2010 16:26:26 +0000 (16:26 +0000)]
Hide Go button in browser when no text is entered

Fixes http://b/issue?id=2485438

Change-Id: If3d6106eebb22d8b4a2d9aed8d3118c14fdbedde

14 years agoMerge "return false if any exception is thrown from savePicture"
Mike Reed [Fri, 5 Mar 2010 15:30:16 +0000 (07:30 -0800)]
Merge "return false if any exception is thrown from savePicture"

14 years agoMerge "fix NullPointerException if location is not set."
Mike Lockwood [Fri, 5 Mar 2010 15:23:06 +0000 (07:23 -0800)]
Merge "fix NullPointerException if location is not set."

14 years agoreturn false if any exception is thrown from savePicture
Mike Reed [Fri, 5 Mar 2010 15:12:29 +0000 (10:12 -0500)]
return false if any exception is thrown from savePicture

14 years agoNew artwork for audio settings on keyguard and power menu.
Daniel Sandler [Fri, 5 Mar 2010 14:32:50 +0000 (09:32 -0500)]
New artwork for audio settings on keyguard and power menu.

Introduces new vibe-mode icons for GlobalActions and makes
other icons (volume & silent) consistent on GlobalActions
and the keyguard.

Change-Id: Ic9a04bb8929343faf6c33f5db9894b0c8febaa2d