OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Do not detach headers and footers from the list view."
Romain Guy [Fri, 26 Feb 2010 22:15:42 +0000 (14:15 -0800)]
Merge "Do not detach headers and footers from the list view."

14 years agoDo not detach headers and footers from the list view.
Romain Guy [Fri, 26 Feb 2010 22:14:13 +0000 (14:14 -0800)]
Do not detach headers and footers from the list view.

14 years agoMerge "remove redundant @hides"
Fred Quintana [Fri, 26 Feb 2010 21:43:09 +0000 (13:43 -0800)]
Merge "remove redundant @hides"

14 years agoMerge "CdmaDataConnectionTracker: Add DUN to list of supported APN types."
Mike Lockwood [Fri, 26 Feb 2010 21:37:34 +0000 (13:37 -0800)]
Merge "CdmaDataConnectionTracker: Add DUN to list of supported APN types."

14 years agoMerge "When we're in the 'playback complete' state, don't consider pausing an error...
Marco Nelissen [Fri, 26 Feb 2010 21:30:27 +0000 (13:30 -0800)]
Merge "When we're in the 'playback complete' state, don't consider pausing an error. This makes 'playback complete' essentially equivalent to being paused at the end, and treats it the same as being paused at any other position."

14 years agoremove unused GoogleWebContentHelper resources
Doug Zongker [Fri, 26 Feb 2010 20:51:21 +0000 (12:51 -0800)]
remove unused GoogleWebContentHelper resources

GoogleWebContentHelper now builds against the SDK, so remove these
resources (which it can't use any more).

b/2408470 - google-common needs to build against the SDK

Change-Id: I48556937ebcb5682d02ad48050299ffd6deed9ae

14 years agoremove redundant @hides
Fred Quintana [Fri, 26 Feb 2010 21:19:18 +0000 (13:19 -0800)]
remove redundant @hides

14 years agoWhen we're in the 'playback complete' state, don't consider pausing
Marco Nelissen [Fri, 26 Feb 2010 21:16:23 +0000 (13:16 -0800)]
When we're in the 'playback complete' state, don't consider pausing
an error. This makes 'playback complete' essentially equivalent to
being paused at the end, and treats it the same as being paused at
any other position.

14 years agoMerge "Send cancel event to recycled views instead of an up. Bug #2309387"
Romain Guy [Fri, 26 Feb 2010 21:16:21 +0000 (13:16 -0800)]
Merge "Send cancel event to recycled views instead of an up. Bug #2309387"

14 years agoexpose some sync control methods
Fred Quintana [Fri, 26 Feb 2010 18:57:55 +0000 (10:57 -0800)]
expose some sync control methods
- ActiveSyncInfo
- ContentResolver.addStatusChangeListener
  - SYNC_OBSERVER_TYPE_SETTINGS
  - SYNC_OBSERVER_TYPE_PENDING
  - SYNC_OBSERVER_TYPE_ACTIVE
- make the ContentService resilient to nulls passed in to the
  status change listener registration and unregistration calls

bug http://b/issue?id=2337197

14 years agoMerge "Add single-package restore to Bmgr feature set"
Chris Tate [Fri, 26 Feb 2010 21:06:42 +0000 (13:06 -0800)]
Merge "Add single-package restore to Bmgr feature set"

14 years agoAdd dialog to display storage users when enabling/disabling ums
Suchi Amalapurapu [Fri, 26 Feb 2010 01:07:14 +0000 (17:07 -0800)]
Add dialog to display storage users when enabling/disabling ums

Some error dialogs and related strings
MountService changes to follow unmount path when enabling ums.

Please note that MountService api setUmsEnabled does not return
error codes for now. This is a known limitation.

14 years agoAdd single-package restore to Bmgr feature set
Christopher Tate [Fri, 26 Feb 2010 19:27:08 +0000 (11:27 -0800)]
Add single-package restore to Bmgr feature set

Also sanity-check the package name on the Backup Manager side, failing gracefully
if the given package is not a backup/restore participant.

Bug: 2293977

Change-Id: I3575046ffcaa3cf45c1c602824baeadd64082f70

14 years agofix the build.
Joe Onorato [Fri, 26 Feb 2010 20:35:55 +0000 (12:35 -0800)]
fix the build.

14 years agoCdmaDataConnectionTracker: Add DUN to list of supported APN types.
Mike Lockwood [Fri, 26 Feb 2010 20:16:52 +0000 (15:16 -0500)]
CdmaDataConnectionTracker: Add DUN to list of supported APN types.

Change-Id: I72549a761757f93cfeb9d16e2f64331134155156
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoSend cancel event to recycled views instead of an up.
Romain Guy [Fri, 26 Feb 2010 19:56:30 +0000 (11:56 -0800)]
Send cancel event to recycled views instead of an up.
Bug #2309387

This was a problem in lists with list items that would cause notifyDatasetChanged()
interleaved with a series of up/down motion events. This is a pretty rare case
but it's worth fixing it to avoid getting views in a weird state.

14 years agoMerge "in finalize() methods, log warnings if db lock is going to be held."
Vasu Nori [Fri, 26 Feb 2010 19:45:54 +0000 (11:45 -0800)]
Merge "in finalize() methods, log warnings if db lock is going to be held."

14 years agoMerge "New tests for ExpandableListView to exercice packed position with headers...
Gilles Debunne [Fri, 26 Feb 2010 19:37:40 +0000 (11:37 -0800)]
Merge "New tests for ExpandableListView to exercice packed position with headers/footers."

14 years agoRename Display.getOrientation() to Display.getRotation().
Dianne Hackborn [Fri, 26 Feb 2010 01:01:14 +0000 (17:01 -0800)]
Rename Display.getOrientation() to Display.getRotation().

Update various docs.

14 years agoSupport CharSequence lists+arrays in Bundle+Intent
Bjorn Bringert [Thu, 25 Feb 2010 11:16:22 +0000 (11:16 +0000)]
Support CharSequence lists+arrays in Bundle+Intent

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

Change-Id: Id82686f6ca8c9501f6db8a07018278a78ddacd05

14 years agoin finalize() methods, log warnings if db lock is going to be held.
Vasu Nori [Wed, 24 Feb 2010 20:54:20 +0000 (12:54 -0800)]
in finalize() methods, log warnings if db lock is going to be held.

this is to track bug:2463988 and bug:2457342

14 years agoMerge "The PV aac software decoder screws up if playing a mono-AACplus stream unless...
Andreas Huber [Fri, 26 Feb 2010 18:47:11 +0000 (10:47 -0800)]
Merge "The PV aac software decoder screws up if playing a mono-AACplus stream unless we output stereo data. Now we always output stereo data as the legacy OMX nodes did."

14 years agoMerge "Make AsyncPlayer.startSound catch all exceptions instead of only a few. Two...
Marco Nelissen [Fri, 26 Feb 2010 18:46:46 +0000 (10:46 -0800)]
Merge "Make AsyncPlayer.startSound catch all exceptions instead of only a few. Two reasons for this: - it's used in the system process - it's run in a separate thread, so the user of AsyncPlayer cannot catch these exceptions"

14 years agoMerge "deprecate SyncConstValue, since it is now only used by the deprecated Contacts...
Fred Quintana [Fri, 26 Feb 2010 17:50:18 +0000 (09:50 -0800)]
Merge "deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface"

14 years agoThe PV aac software decoder screws up if playing a mono-AACplus stream unless we...
Andreas Huber [Fri, 26 Feb 2010 17:47:28 +0000 (09:47 -0800)]
The PV aac software decoder screws up if playing a mono-AACplus stream unless we output stereo data. Now we always output stereo data as the legacy OMX nodes did.

related-to-bug: 2472545

14 years agoMake AsyncPlayer.startSound catch all exceptions instead of only a few.
Marco Nelissen [Fri, 26 Feb 2010 17:30:20 +0000 (09:30 -0800)]
Make AsyncPlayer.startSound catch all exceptions instead of only a few.
Two reasons for this:
- it's used in the system process
- it's run in a separate thread, so the user of AsyncPlayer cannot catch these exceptions

14 years agoMerge "Keep track of when the HTML5 database path has been set, so that we don't...
Ben Murdoch [Fri, 26 Feb 2010 10:11:18 +0000 (02:11 -0800)]
Merge "Keep track of when the HTML5 database path has been set, so that we don't inadvertantly sync it to the native side before it has been set by the client."

14 years agoFix SDK build.
Wu-cheng Li [Fri, 26 Feb 2010 07:04:55 +0000 (15:04 +0800)]
Fix SDK build.

14 years agoUnhide exposure compensation API.
Wu-cheng Li [Sat, 20 Feb 2010 09:47:04 +0000 (17:47 +0800)]
Unhide exposure compensation API.

bug:2375993

14 years agoMerge "Fix 2336057: Provide a way for the user to return to a call from LockScreen."
Jim Miller [Fri, 26 Feb 2010 05:03:17 +0000 (21:03 -0800)]
Merge "Fix 2336057: Provide a way for the user to return to a call from LockScreen."

14 years agoFix 2336057: Provide a way for the user to return to a call from LockScreen.
Jim Miller [Wed, 24 Feb 2010 23:35:05 +0000 (15:35 -0800)]
Fix 2336057: Provide a way for the user to return to a call from LockScreen.

This makes the "Emergency call" button dual-purpose. If there's a call in progress,
the button will show "Return to call" and take the user back to the call.

14 years agoMerge "Move auto pairing data to a file, add values dynamically."
Jaikumar Ganesh [Fri, 26 Feb 2010 03:39:58 +0000 (19:39 -0800)]
Merge "Move auto pairing data to a file, add values dynamically."

14 years agoNew tests for ExpandableListView to exercice packed position with headers/footers.
Gilles Debunne [Fri, 26 Feb 2010 00:22:27 +0000 (16:22 -0800)]
New tests for ExpandableListView to exercice packed position with headers/footers.

New tests for
- the different conversions between flat and packed positions.
- selectedPosition
- contextMenuInfo.

All these tests currently fail when list contains headers and/or footers.

Change-Id: Ifb8fcc5de4980221e2ff4ebd2b24bc4fa03c6aae

14 years agoMove auto pairing data to a file, add values dynamically.
Jaikumar Ganesh [Fri, 8 Jan 2010 04:22:44 +0000 (20:22 -0800)]
Move auto pairing data to a file, add values dynamically.

14 years agoMerge "Default the auto-restore setting to "enabled.""
Chris Tate [Fri, 26 Feb 2010 02:04:08 +0000 (18:04 -0800)]
Merge "Default the auto-restore setting to "enabled.""

14 years agoDefault the auto-restore setting to "enabled."
Christopher Tate [Fri, 26 Feb 2010 02:01:14 +0000 (18:01 -0800)]
Default the auto-restore setting to "enabled."

Change-Id: I7d8710466214a1b09aabdd71e77b9b34d3d62365

14 years agoDo not recyle headers and footers when measuring the ListView.
Romain Guy [Fri, 26 Feb 2010 01:32:54 +0000 (17:32 -0800)]
Do not recyle headers and footers when measuring the ListView.
Bug #2461893

This was causing headers and footers to be in a wrong state after the first
recycling pass, which would cause them to be detached from the window. This
was in turn preventing invalidate operations from performing successfully.

14 years agoMerge "Be sure to back up / restore some new settings"
Chris Tate [Fri, 26 Feb 2010 01:20:50 +0000 (17:20 -0800)]
Merge "Be sure to back up / restore some new settings"

14 years agoFix the build
Christopher Tate [Fri, 26 Feb 2010 01:13:28 +0000 (17:13 -0800)]
Fix the build

Change-Id: I41616afc75a3366ea7e9e79ac7ea4c46d1863d83

14 years agoMerge "Define the new lastSyncedAttendeeStatus column"
Marc Blank [Fri, 26 Feb 2010 00:59:54 +0000 (16:59 -0800)]
Merge "Define the new lastSyncedAttendeeStatus column"

14 years agoBe sure to back up / restore some new settings
Christopher Tate [Fri, 26 Feb 2010 00:49:44 +0000 (16:49 -0800)]
Be sure to back up / restore some new settings

Added in this CL:

   Power sounds enabled
   Dock sound enabled
   Lock/unlock sounds enabled
   Auto-restore app data on install

Change-Id: Ie1c3215e926282e7cac5b82cd6196636049f7f85

14 years agoMerge "Start respecting the auto-restore-at-install setting"
Chris Tate [Fri, 26 Feb 2010 00:52:08 +0000 (16:52 -0800)]
Merge "Start respecting the auto-restore-at-install setting"

14 years agodeprecate SyncConstValue, since it is now only used by the deprecated ContactsProvide...
Fred Quintana [Fri, 26 Feb 2010 00:52:05 +0000 (16:52 -0800)]
deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface

14 years agoDefine the new lastSyncedAttendeeStatus column
Marc Blank [Thu, 25 Feb 2010 20:53:16 +0000 (12:53 -0800)]
Define the new lastSyncedAttendeeStatus column

Change-Id: I567ca24770fb401ed5a2bdfce5709e77b6fb4202

14 years agoComment out the finalize() methods defined on the Activity,
Carl Shapiro [Wed, 24 Feb 2010 08:14:23 +0000 (00:14 -0800)]
Comment out the finalize() methods defined on the Activity,
ContextImpl, View and ViewRoot classes.  This allows instances of
subclasses to be collected without the additional latency of
finalization.

14 years agoMerge "HorizontalScrollView multitouch scroll and only grip on content AbsListView...
Adam Powell [Fri, 26 Feb 2010 00:29:42 +0000 (16:29 -0800)]
Merge "HorizontalScrollView multitouch scroll and only grip on content AbsListView multitouch scroll and only grip on content"

14 years agoMerge "Support vendor MPEG4 test content with apparently malformed chunks in them."
Andreas Huber [Fri, 26 Feb 2010 00:25:43 +0000 (16:25 -0800)]
Merge "Support vendor MPEG4 test content with apparently malformed chunks in them."

14 years agoSupport vendor MPEG4 test content with apparently malformed chunks in them.
Andreas Huber [Thu, 25 Feb 2010 23:59:24 +0000 (15:59 -0800)]
Support vendor MPEG4 test content with apparently malformed chunks in them.

related-to-bug: 2472211

14 years agoRenaming contact search snippet fields.
Dmitri Plotnikov [Fri, 26 Feb 2010 00:09:21 +0000 (16:09 -0800)]
Renaming contact search snippet fields.

Change-Id: If27271665aedbb125072bbcd0cf375846c38cc9f

14 years agoHorizontalScrollView multitouch scroll and only grip on content
Adam Powell [Thu, 25 Feb 2010 19:21:14 +0000 (11:21 -0800)]
HorizontalScrollView multitouch scroll and only grip on content
AbsListView multitouch scroll and only grip on content

14 years agoMerge "Remove misleading method comment on TextView#setHint"
Kenny Root [Thu, 25 Feb 2010 23:54:19 +0000 (15:54 -0800)]
Merge "Remove misleading method comment on TextView#setHint"

14 years agoRemove misleading method comment on TextView#setHint
Kenny Root [Thu, 25 Feb 2010 23:46:55 +0000 (15:46 -0800)]
Remove misleading method comment on TextView#setHint

Comment incorrectly specified that the setHint(...) methods were
deprecated and suggested instead using different methods that did not
exist.

Change-Id: I5e7a1570beb8f1cd807853c6d9de8072afa5123e

14 years agoStart respecting the auto-restore-at-install setting
Christopher Tate [Thu, 25 Feb 2010 23:22:48 +0000 (15:22 -0800)]
Start respecting the auto-restore-at-install setting

Change-Id: I420ff6b4ba72f87bee56f45d8906f086f7a2b114

14 years agoMerge "Add some space and total memory amount to the memory dump from the media serve...
James Dong [Thu, 25 Feb 2010 23:14:40 +0000 (15:14 -0800)]
Merge "Add some space and total memory amount to the memory dump from the media server process."

14 years agoMerge "Image encoding settings java API through xml configuration file"
James Dong [Thu, 25 Feb 2010 23:11:29 +0000 (15:11 -0800)]
Merge "Image encoding settings java API through xml configuration file"

14 years agoam fc7028f1: merge from open-source master
The Android Open Source Project [Thu, 25 Feb 2010 23:08:03 +0000 (15:08 -0800)]
am fc7028f1: merge from open-source master

Merge commit 'fc7028f1c68dcc8d59c8e4daf4a8917a3d9a7558'

* commit 'fc7028f1c68dcc8d59c8e4daf4a8917a3d9a7558':
  Move LocationTracker test app from vendor/google to frameworks/base/tests

14 years agomerge from open-source master
The Android Open Source Project [Thu, 25 Feb 2010 22:54:51 +0000 (14:54 -0800)]
merge from open-source master

14 years agoMerge "Prevent ProgressBar from updating itself when hidden. Bug #2470737"
Romain Guy [Thu, 25 Feb 2010 22:33:32 +0000 (14:33 -0800)]
Merge "Prevent ProgressBar from updating itself when hidden. Bug #2470737"

14 years agoPrevent ProgressBar from updating itself when hidden.
Romain Guy [Thu, 25 Feb 2010 22:32:39 +0000 (14:32 -0800)]
Prevent ProgressBar from updating itself when hidden.
Bug #2470737

14 years agoPick up default install location
Suchi Amalapurapu [Thu, 25 Feb 2010 19:49:43 +0000 (11:49 -0800)]
Pick up default install location

14 years agoMerge "New test on ContextMenuInfo packed positions."
Gilles Debunne [Thu, 25 Feb 2010 21:49:53 +0000 (13:49 -0800)]
Merge "New test on ContextMenuInfo packed positions."

14 years agoNew test on ContextMenuInfo packed positions.
Gilles Debunne [Wed, 24 Feb 2010 23:50:40 +0000 (15:50 -0800)]
New test on ContextMenuInfo packed positions.

With and without headers.
Non regression test for bug
http://b/issue?id=1778239

Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7

14 years agoMerge "Improve accelerometer-based orientation sensing."
Steve Howard [Thu, 25 Feb 2010 21:42:43 +0000 (13:42 -0800)]
Merge "Improve accelerometer-based orientation sensing."

14 years agoMerge "Add support for accessing native bidi implementation via jni."
Eric Fischer [Thu, 25 Feb 2010 20:18:55 +0000 (12:18 -0800)]
Merge "Add support for accessing native bidi implementation via jni."

14 years agoMerge "Fix no-mobile-data after wifi."
Robert Greenwalt [Thu, 25 Feb 2010 20:18:26 +0000 (12:18 -0800)]
Merge "Fix no-mobile-data after wifi."

14 years agodon't draw layers with history
Cary Clark [Thu, 25 Feb 2010 19:49:26 +0000 (14:49 -0500)]
don't draw layers with history

The history picture and the layers drawn may be out of sync,
so for now, don't draw the layers when the history picture is
drawn.

Also, remove native class check from drawExtras() since it
is already checked by the caller.

fixes http://b/2457350
fixes http://b/2453780

14 years agoFix no-mobile-data after wifi.
Robert Greenwalt [Thu, 25 Feb 2010 20:04:29 +0000 (12:04 -0800)]
Fix no-mobile-data after wifi.

Missed a case - if you disabled mobile data and then cycled wifi, 3g would
be turned back on.

bug:2251458

14 years agoMerge "Replacing hard-coded mount point for ASEC with a getenv() call."
Oscar Montemayor [Thu, 25 Feb 2010 19:43:22 +0000 (11:43 -0800)]
Merge "Replacing hard-coded mount point for ASEC with a getenv() call."

14 years agoRe-arrange android-common so framework no longer links with it.
Dianne Hackborn [Thu, 25 Feb 2010 03:54:22 +0000 (19:54 -0800)]
Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common.  Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.

14 years agoMerge "Configuration param to indicate if sd card is behind the battery."
Amith Yamasani [Thu, 25 Feb 2010 19:13:21 +0000 (11:13 -0800)]
Merge "Configuration param to indicate if sd card is behind the battery."

14 years agoMerge "Init car mode when phone is booted in a dock."
Dianne Hackborn [Thu, 25 Feb 2010 19:10:55 +0000 (11:10 -0800)]
Merge "Init car mode when phone is booted in a dock."

14 years agoMerge "Correctly handle negative margins in horizontal linear layouts."
Romain Guy [Thu, 25 Feb 2010 19:02:24 +0000 (11:02 -0800)]
Merge "Correctly handle negative margins in horizontal linear layouts."

14 years agoCorrectly handle negative margins in horizontal linear layouts.
Romain Guy [Thu, 25 Feb 2010 19:01:01 +0000 (11:01 -0800)]
Correctly handle negative margins in horizontal linear layouts.

When LinearLayout is measured in EXACTLY mode, we handle the negative margins
a bit differently. This is to support the use case of the current tab design.

14 years agomake the SyncStateContentProviderHelper.update() method return an indication if the...
Fred Quintana [Thu, 25 Feb 2010 18:59:52 +0000 (10:59 -0800)]
make the SyncStateContentProviderHelper.update() method return an indication if the row to update still exists

14 years agoKeep track of when the HTML5 database path has been set, so that we don't inadvertant...
Ben Murdoch [Thu, 25 Feb 2010 18:41:56 +0000 (18:41 +0000)]
Keep track of when the HTML5 database path has been set, so that we don't inadvertantly sync it to the native side before it
has been set by the client.

Change-Id: Idcf604060e5208ec28610dd13e9858adcf44165e

14 years agoMerge "Remove incorrect/misleading irrelevancies from example code."
Elliott Hughes [Thu, 25 Feb 2010 18:32:41 +0000 (10:32 -0800)]
Merge "Remove incorrect/misleading irrelevancies from example code."

14 years agoMerge "Fix for voice search crash in maps and youtube. Bug 2453182"
Amith Yamasani [Thu, 25 Feb 2010 18:27:33 +0000 (10:27 -0800)]
Merge "Fix for voice search crash in maps and youtube. Bug 2453182"

14 years agoFix for voice search crash in maps and youtube. Bug 2453182
Amith Yamasani [Thu, 25 Feb 2010 03:05:35 +0000 (19:05 -0800)]
Fix for voice search crash in maps and youtube. Bug 2453182

No need to nullify the context variable.

Also fix 2463128 : No voice icon when text is present in text field

14 years agoMerge "Add the API constants to support providing hint strings in the response to...
Mike LeBeau [Thu, 25 Feb 2010 18:16:14 +0000 (10:16 -0800)]
Merge "Add the API constants to support providing hint strings in the response to RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS."

14 years agoAdd some space and total memory amount to the memory dump from the media server process.
James Dong [Thu, 25 Feb 2010 18:06:32 +0000 (10:06 -0800)]
Add some space and total memory amount to the memory dump from the media server process.

14 years agoWhen opening the IME or sending a key to a non-cursored textfield, set the default...
Leon Scroggins [Wed, 24 Feb 2010 21:49:35 +0000 (16:49 -0500)]
When opening the IME or sending a key to a non-cursored textfield, set the default selection.

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

14 years agoMerge "Fix bug 2452941 Add a flag to maintain the intended direct playback of TTS...
Jean-Michel Trivi [Thu, 25 Feb 2010 16:47:40 +0000 (08:47 -0800)]
Merge "Fix bug 2452941 Add a flag to maintain the intended direct playback  of TTS data independently from the associated AudioTrack state.  Only start the track when it's been stopped but is supposed to be  playing."

14 years agoAdd the API constants to support providing hint strings in the response to
Mike LeBeau [Wed, 24 Feb 2010 22:08:18 +0000 (14:08 -0800)]
Add the API constants to support providing hint strings in the response to
RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS.

This will use the new support for ArrayList<CharSequence> bundles added in
http://b/2468093. This and the corresponding VoiceSearch CL should not be
submitted until that is.

14 years agorefactor drawing to support layers
Cary Clark [Tue, 23 Feb 2010 15:50:38 +0000 (10:50 -0500)]
refactor drawing to support layers

Drawing elements that appear atop or below layers need to be
drawn both in the proper order and with the correct canvas to
respect clipping and the matrix.

The logic of what to draw is still in WebView.java, but the
actual drawing calls are now triggered inside the layer code.

This still draws layers incorrectly after drawing the history;
will fix this in a future CL.

Move drawing to WebView.cpp.
Use inverseScale to simplify viewPort metrics.
Remove root layer; let WebView.cpp handle it exclusively.

Requires companion fix in external/webkit.

http://b/2457316
http://b/2454127
http://b/2454149

14 years agoAllow cookies with no name.
Patrick Scott [Mon, 22 Feb 2010 21:54:34 +0000 (16:54 -0500)]
Allow cookies with no name.

Cookies like "foo; path=/;" should be evaluated to have just a name. This makes
it easier to compare cookies when looking for duplicates.

Bug: 2333747

14 years agoMerge "Add HTML5 layout tests that currently fail to the DumpRenderTree skipped list"
Steve Block [Thu, 25 Feb 2010 11:17:36 +0000 (03:17 -0800)]
Merge "Add HTML5 layout tests that currently fail to the DumpRenderTree skipped list"

14 years agoMake setBackgroundResource() remotable
Bjorn Bringert [Wed, 24 Feb 2010 23:54:29 +0000 (23:54 +0000)]
Make setBackgroundResource() remotable

Change-Id: Iad9c2bdf743a81a085024cad9dc340ae8a983f34

14 years agoInit car mode when phone is booted in a dock.
Tobias Haamel [Thu, 25 Feb 2010 10:05:12 +0000 (11:05 +0100)]
Init car mode when phone is booted in a dock.

When the device is booted in a car dock the car mode needs to be set
as well, so that the status bar notification shows up and the system
is initialized the same way as if the phone is placed into a car dock
when it's booted already.

14 years agoMerge "Fix issue 2327064: Music played via line out is interrupted due to the phone...
Eric Laurent [Thu, 25 Feb 2010 08:14:47 +0000 (00:14 -0800)]
Merge "Fix issue 2327064: Music played via line out is interrupted due to the phone call audio on BT hs."

14 years agoReplacing hard-coded mount point for ASEC with a getenv() call.
Oscar Montemayor [Thu, 25 Feb 2010 08:06:41 +0000 (00:06 -0800)]
Replacing hard-coded mount point for ASEC with a getenv() call.

14 years agoCreate own reference for minSdkVersion in aapt
Kenny Root [Thu, 25 Feb 2010 07:49:59 +0000 (23:49 -0800)]
Create own reference for minSdkVersion in aapt

Fix bug where applications defining a minSdkVersion were experiencing
transient errors from memory corruption in aapt.

Change-Id: I839d5eda7388baac6133e735fa59f9799ca2822d

14 years agoRemove incorrect/misleading irrelevancies from example code.
Elliott Hughes [Thu, 25 Feb 2010 00:50:02 +0000 (16:50 -0800)]
Remove incorrect/misleading irrelevancies from example code.

(I'll start checking in all my benchmarks -- not just the ones relevant to this
document -- somewhere under dalvik/libcore/ tomorrow, and we can see about
linking to them for those who want something they can actually run, or just
want to see the exact code that was benchmarked.)

14 years agoMerge "Add new handler mechanism in MountService to make unmount api asynchronous...
Suchi Amalapurapu [Thu, 25 Feb 2010 04:43:24 +0000 (20:43 -0800)]
Merge "Add new handler mechanism in MountService to make unmount api asynchronous. MountService updates state on PackageManager and then tries to kill processes holding file references to media about to be unmounted by invoking api on ACtivityManager. This is retried upto 4 times to make sure all processes holding file references are killed before unmounting the media at specified path."

14 years agoAdd new handler mechanism in MountService to make unmount api asynchronous.
Suchi Amalapurapu [Tue, 23 Feb 2010 00:03:53 +0000 (16:03 -0800)]
Add new handler mechanism in MountService to make unmount api asynchronous.
MountService updates state on PackageManager and then tries to
kill processes holding file references to media about to be unmounted by
invoking api on ACtivityManager. This is retried upto 4 times to make sure all
processes holding file references are killed before unmounting the media
at specified path.

Also changed PackageManger api to return boolean value to indicate if
MountService is likely to receive broadcasts related to apps on sd.

14 years agoConfiguration param to indicate if sd card is behind the battery.
Amith Yamasani [Thu, 25 Feb 2010 04:24:10 +0000 (20:24 -0800)]
Configuration param to indicate if sd card is behind the battery.

This is to disable unmounting of the sd card by the user.

14 years agoScan for android namespace in manifest
Kenny Root [Thu, 25 Feb 2010 04:00:03 +0000 (20:00 -0800)]
Scan for android namespace in manifest

android:minSdkVersion wasn't being correctly scanned because the
namespace was incorrect. This fixes that problem so packages aren't
generated as UTF-8 when minSdkVersion is less than 7.

Change-Id: I8f45d47ea886915da6a4770f6e111e6085d61bee

14 years agoMerge "Add mobile data on/off switch."
Robert Greenwalt [Thu, 25 Feb 2010 03:45:32 +0000 (19:45 -0800)]
Merge "Add mobile data on/off switch."

14 years agoMerge "Remove empty finalize methods."
Carl Shapiro [Thu, 25 Feb 2010 03:15:06 +0000 (19:15 -0800)]
Merge "Remove empty finalize methods."

14 years agoMerge "MountService: Send UMS_CONNECTED broadcast on boot if UMS connected."
San Mehat [Thu, 25 Feb 2010 03:04:48 +0000 (19:04 -0800)]
Merge "MountService: Send UMS_CONNECTED broadcast on boot if UMS connected."

14 years agoam cbe4f887: (-s ours) am a406fb90: DO NOT MERGE
Grace Kloba [Thu, 25 Feb 2010 02:56:27 +0000 (18:56 -0800)]
am cbe4f887: (-s ours) am a406fb90: DO NOT MERGE

Merge commit 'cbe4f88747b56a753e4a9bf061946f4c6f051243'

* commit 'cbe4f88747b56a753e4a9bf061946f4c6f051243':
  DO NOT MERGE