OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Grant permissions to apps on sd when enabling/disabling packages."
Suchi Amalapurapu [Fri, 19 Mar 2010 20:38:50 +0000 (13:38 -0700)]
Merge "Grant permissions to apps on sd when enabling/disabling packages."

14 years agoGrant permissions to apps on sd when enabling/disabling packages.
Suchi Amalapurapu [Fri, 19 Mar 2010 18:55:29 +0000 (11:55 -0700)]
Grant permissions to apps on sd when enabling/disabling packages.

Change-Id: I0f011bd4a3348ccd46fd7ae9765edf8933b94142

14 years agoremove special-case logic to allow the titlebar to always scroll off the screen....
Mike Reed [Fri, 19 Mar 2010 18:38:23 +0000 (14:38 -0400)]
remove special-case logic to allow the titlebar to always scroll off the screen. This means that we
now won't force pages to resize due to scrolling.

fixes http://b/issue?id=2512549

Change-Id: Icd91d032ccfc78db6011f293b33543ff2f27f3cf

14 years agoMerge "Ensure that binder incalls to the system process keep the fg cgroup"
Christopher Tate [Fri, 19 Mar 2010 19:42:29 +0000 (12:42 -0700)]
Merge "Ensure that binder incalls to the system process keep the fg cgroup"

14 years agoNew OverScroller with edge bouncing effect.
Gilles Debunne [Wed, 24 Feb 2010 19:05:19 +0000 (11:05 -0800)]
New OverScroller with edge bouncing effect.

OverScroller has been made a Scroller child class. Both use a physical constant deceleration
force to compute the animation. OverScroller also includes a rubber edge bounce effect.

Approved by Jim Palmer.

Change-Id: I3f43a03694b8cb6bfa0784c2663b37c9c39322cc

14 years agoMerge "Ensure adapter is not null in AutoCompleteTextView"
Kenny Root [Fri, 19 Mar 2010 18:59:56 +0000 (11:59 -0700)]
Merge "Ensure adapter is not null in AutoCompleteTextView"

14 years agoMerge "Add -e package description to InstrumentationTestRunner javadoc."
Brett Chabot [Fri, 19 Mar 2010 18:41:42 +0000 (11:41 -0700)]
Merge "Add -e package description to InstrumentationTestRunner javadoc."

14 years agoAdd -e package description to InstrumentationTestRunner javadoc.
Brett Chabot [Fri, 19 Mar 2010 03:03:31 +0000 (20:03 -0700)]
Add -e package description to InstrumentationTestRunner javadoc.

Bug 2528316

Change-Id: Ic707115e40a18521e0d57ee12f43df96be7033f2

14 years agoNew HeterogeneousExpandableList interface.
Gilles Debunne [Fri, 12 Mar 2010 00:25:13 +0000 (16:25 -0800)]
New HeterogeneousExpandableList interface.

This interface can be used in conjunction with ExpandableListAdapter to
declare more types of child and/or group views.

None of the ExpandableListAdapter implementations is heterogeneous in the
framework. BaseExpandableListAdapter was decalred to use this interface so that users
see the methods and can overload. DateSortedExpandableListAdapter was left unchanged.

This feature is related to http://b/issue?id=1459940

Change-Id: Ifc589b697913778b16abfdcaaa9f8f81e564add7

14 years agoMerge "Change overscroll background to be same as status bar pulldown."
Grace Kloba [Fri, 19 Mar 2010 17:41:01 +0000 (10:41 -0700)]
Merge "Change overscroll background to be same as status bar pulldown."

14 years agoMerge "limit sql statement in finalizer warning to 100 chars"
Vasu Nori [Fri, 19 Mar 2010 17:38:29 +0000 (10:38 -0700)]
Merge "limit sql statement in finalizer warning to 100 chars"

14 years agolimit sql statement in finalizer warning to 100 chars
Vasu Nori [Fri, 19 Mar 2010 05:17:24 +0000 (22:17 -0700)]
limit sql statement in finalizer warning to 100 chars

too long a sql statement reduces the amount of stack trace printed.

Change-Id: Id980b184850adb2bcb5e47eebe35796bc731a490

14 years agoMerge "Add the blacklist for the SCO connections"
Eric Olsen [Fri, 19 Mar 2010 17:26:53 +0000 (10:26 -0700)]
Merge "Add the blacklist for the SCO connections"

14 years agoMerge "We should pass null for the album artist if it was not set, instead of a copy...
Marco Nelissen [Fri, 19 Mar 2010 17:25:13 +0000 (10:25 -0700)]
Merge "We should pass null for the album artist if it was not set, instead of a copy of the artist, since the media provider needs to know whether the album artist was actually set."

14 years agoEnsure adapter is not null in AutoCompleteTextView
Kenny Root [Fri, 19 Mar 2010 17:09:59 +0000 (10:09 -0700)]
Ensure adapter is not null in AutoCompleteTextView

A runnable is posted for AutoCompleteTextView's PopupDataSetObserver, but
there's a possibility that mAdapter would be set to null between when
the runnable is run and the time it is posted.

This fixes a monkey crash seen in build 29176.

Change-Id: Ie7be51db580d6e9775533890e5f6902409bec84d
MonkeyCrashID: 2071507494::1632:123:521

14 years agoMerge "Force all views to relayout when ViewRoot is resized. Bug #2519590"
Romain Guy [Fri, 19 Mar 2010 16:34:31 +0000 (09:34 -0700)]
Merge "Force all views to relayout when ViewRoot is resized. Bug #2519590"

14 years agoUse the new HSM capability that allows transitionTo in enter methods.
Wink Saville [Fri, 19 Mar 2010 16:03:13 +0000 (09:03 -0700)]
Use the new HSM capability that allows transitionTo in enter methods.

Change-Id: If87a30257111d4a2b0506428c75eae81a7ccf77b

14 years agoMerge "Add support for DUN over a cdma connection."
Robert Greenwalt [Fri, 19 Mar 2010 16:03:27 +0000 (09:03 -0700)]
Merge "Add support for DUN over a cdma connection."

14 years agoMerge "Fix Tethering Notifications for multiple ifaces"
Robert Greenwalt [Fri, 19 Mar 2010 16:02:00 +0000 (09:02 -0700)]
Merge "Fix Tethering Notifications for multiple ifaces"

14 years agoFix Tethering Notifications for multiple ifaces
Robert Greenwalt [Thu, 18 Mar 2010 23:28:30 +0000 (16:28 -0700)]
Fix Tethering Notifications for multiple ifaces

Used to see multiple notifications if usb tethering and wifi tethering were both used.

bug:2527862
Change-Id: Idc6299c0a70564dd7c8d8d7fe13bde83723134ae

14 years agoMerge "Fix HttpAuthHandler for synchronous requests"
Steve Block [Fri, 19 Mar 2010 15:47:56 +0000 (08:47 -0700)]
Merge "Fix HttpAuthHandler for synchronous requests"

14 years agoWe should pass null for the album artist if it was not set, instead of a copy
Marco Nelissen [Fri, 19 Mar 2010 15:05:53 +0000 (08:05 -0700)]
We should pass null for the album artist if it was not set, instead of a copy
of the artist, since the media provider needs to know whether the album artist
was actually set.

Change-Id: I29b885c8293609299a55babadf9ca2a30e20e5bd

14 years agocreate absolute layout if view layout can't be reused
Cary Clark [Fri, 19 Mar 2010 14:36:35 +0000 (10:36 -0400)]
create absolute layout if view layout can't be reused

The existing view layout may not be an absolute layout,
and will throw a ClassCastException. Check to see if it
is compatible before the cast.

Change-Id: I7309600a1e7405a29e49a3bab469a164d51126ae
http://b/2526854

14 years agoRemoves an appcache test from the DumpRenderTree ignoreResults list
Steve Block [Thu, 18 Mar 2010 15:16:35 +0000 (15:16 +0000)]
Removes an appcache test from the DumpRenderTree ignoreResults list

Android-specific results for this test were added in
https://android-git.corp.google.com/g/45462

Change-Id: I7716c2c061ab955d0bf96523b6aab747898cc4e7

14 years agoFix HttpAuthHandler for synchronous requests
Steve Block [Fri, 12 Mar 2010 18:49:48 +0000 (18:49 +0000)]
Fix HttpAuthHandler for synchronous requests

When HttpAuthHandler queries the WebViewClient to obtain a username and
password, we need to make sure that this is done synchronously when the request
is synchronous.

Bug: 2511043
Change-Id: I9ff2156cfb3c81edaf4a50ec7094a00a8f8ff91f

14 years agoChange overscroll background to be same as status
Grace Kloba [Fri, 19 Mar 2010 05:47:34 +0000 (22:47 -0700)]
Change overscroll background to be same as status
bar pulldown.

Fix http://b/issue?id=2520825

14 years agoFix SDK build Remove links to hidden constant in javadoc.
Jean-Michel Trivi [Fri, 19 Mar 2010 04:37:29 +0000 (21:37 -0700)]
Fix SDK build Remove links to hidden constant in javadoc.

Change-Id: I21495f0ef64b3dc154ce0e0ca2d44686afd752e9

14 years agoAttempt to fix the SDK build.
Eric Laurent [Fri, 19 Mar 2010 03:35:49 +0000 (20:35 -0700)]
Attempt to fix the SDK build.

Change-Id: I024df1b513da117057a21c27e6c0cd134cdd8023

14 years agoMerge "Fix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to...
Dianne Hackborn [Fri, 19 Mar 2010 02:25:57 +0000 (19:25 -0700)]
Merge "Fix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to FRE70D"

14 years agoFix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to FRE70D
Dianne Hackborn [Thu, 18 Mar 2010 23:50:07 +0000 (16:50 -0700)]
Fix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to FRE70D

Apps on the system partition are now allowed to change their certs, as
long as they are not using a shared user id.

Change-Id: I02ff7ac874dc649b7f8cbb705ae8d7ed31e1d125

14 years agoMerge "Make aapt warning concise"
Kenny Root [Fri, 19 Mar 2010 02:15:51 +0000 (19:15 -0700)]
Merge "Make aapt warning concise"

14 years agoForce all views to relayout when ViewRoot is resized.
Romain Guy [Fri, 19 Mar 2010 01:54:50 +0000 (18:54 -0700)]
Force all views to relayout when ViewRoot is resized.
Bug #2519590

Change-Id: Ia6b9d4cf6d719f713703a1eb2e1ccdd5d61a5123

14 years agoSupport focus requests where ducking of the loser of audio focus
Jean-Michel Trivi [Thu, 18 Mar 2010 23:51:04 +0000 (16:51 -0700)]
Support focus requests where ducking of the loser of audio focus
is acceptable for the new audio focus owner.

Change-Id: I965483f12eeb717115a8f6992d8f1ab7fafa4e45

14 years agoMerge "Only backup real files."
Dianne Hackborn [Fri, 19 Mar 2010 01:26:06 +0000 (18:26 -0700)]
Merge "Only backup real files."

14 years agoMerge "Unhide AudioManager API to control bluetooth SCO audio connection."
Eric Laurent [Fri, 19 Mar 2010 01:23:17 +0000 (18:23 -0700)]
Merge "Unhide AudioManager API to control bluetooth SCO audio connection."

14 years agoMerge "Fix bug 2520540"
Adam Powell [Fri, 19 Mar 2010 01:22:57 +0000 (18:22 -0700)]
Merge "Fix bug 2520540"

14 years agoUnhide AudioManager API to control bluetooth SCO audio connection.
Eric Laurent [Thu, 18 Mar 2010 19:38:54 +0000 (12:38 -0700)]
Unhide AudioManager API to control bluetooth SCO audio connection.

Needed for issue 2416481 in order to allow unbundled applications to play and record
audio to/from a bluetooth SCO headset while not in call.

Change-Id: Ie1f96ded991e65da538c2c4a58bfa1e548d58a01

14 years agoMerge "Cleaning up list of common nicknames"
Dmitri Plotnikov [Fri, 19 Mar 2010 01:18:02 +0000 (18:18 -0700)]
Merge "Cleaning up list of common nicknames"

14 years agoEnsure that binder incalls to the system process keep the fg cgroup
Christopher Tate [Fri, 19 Mar 2010 00:55:03 +0000 (17:55 -0700)]
Ensure that binder incalls to the system process keep the fg cgroup

On binder incalls, the handler thread is given the caller's priority by the
driver, but not the caller's cgroup.  We have explicit code that sets the
handler's cgroup to match the caller's, *except* that the system process
explicitly disables this behavior.  This led to a siuation in which we were
running binder incalls to the system process at nice=10 but cgroup=fg.

That's fine as far as it goes, except that if a GC happened in the handler
thread, it would be promoted to foreground priority and cgroup both, to avoid
having the GC take forever.  Then, when GC finished, the original priority
is reset, and the cgroup set *based on that priority*.  This would push the
handler thread into nice=10 cgroup=bg_non_interactive -- which matches the
caller, but is supposed to be impossible in the system process.

The end result of this was that we could be running "lengthy" operations in
the system process in the background.  Unfortunately, some of the operations
that wound up like this would hold important global system locks for up to
twenty seconds as a result, making the entire device unresponsive to input
for that period.

This CL fixes the binder incall setup to ensure that within the system process,
a binder incall is always begun from the normal foreground priority as well
as cgroup.  In practice now the device still becomes laggy/sluggish when the
offending lock-holding time-consuming incall occurs, but since it still runs
as a foreground task it is able to proceed to completion within a short time
rather than taking 20 seconds.

Fixes bug #2403717

Change-Id: Id046aeabd0e80c48eef94accc37842835eab308d

14 years agoAdd the blacklist for the SCO connections
Eric Olsen [Fri, 19 Mar 2010 01:08:02 +0000 (18:08 -0700)]
Add the blacklist for the SCO connections

Change-Id: Ibfdfb21fb2f27d01d2b8bff48041398aa4308353
Signed-off-by: Eric Olsen <eolsen@android.com>
14 years agoMerge "Switch default install location to unspecified. Add a new install location...
Suchi Amalapurapu [Fri, 19 Mar 2010 01:07:54 +0000 (18:07 -0700)]
Merge "Switch default install location to unspecified. Add a new install location unspecified for backward compatibility. There is not much difference between policies auto and unspecified. But we dont have to make any code changes in PackageParser based on our preference for install location. Add tests"

14 years agoMerge "Allow transitionTo in enter/exit."
Wink Saville [Fri, 19 Mar 2010 01:03:48 +0000 (18:03 -0700)]
Merge "Allow transitionTo in enter/exit."

14 years agoOnly backup real files.
Dianne Hackborn [Fri, 19 Mar 2010 00:45:15 +0000 (17:45 -0700)]
Only backup real files.

Fixes hang when backing up droid.

Change-Id: Ie8b5c9f76c39c2e6c2cdf1e3b03f56ae37912bad

14 years agoSwitch default install location to unspecified.
Suchi Amalapurapu [Thu, 18 Mar 2010 18:38:35 +0000 (11:38 -0700)]
Switch default install location to unspecified.
Add a new install location unspecified for backward compatibility.
There is not much difference between policies auto and unspecified.
But we dont have to make any code changes in PackageParser based
on our preference for install location.
Add tests

Change-Id: I563238133261d911d08fbc66344687b7dfc870b1

14 years agoAdd support for DUN over a cdma connection.
Robert Greenwalt [Thu, 18 Mar 2010 06:21:12 +0000 (23:21 -0700)]
Add support for DUN over a cdma connection.

It uses the data profile paramater when setting up the connection to indicate
it's a tethered connection.  We get different behavior from vzw afterwards, so
it is getting picked up.

bug:2422545
Change-Id: Ic022845088726d723813b82e166d15d7b2945da1

14 years agoMerge "Include "album artist" when inserting items in the media provider."
Marco Nelissen [Fri, 19 Mar 2010 00:23:32 +0000 (17:23 -0700)]
Merge "Include "album artist" when inserting items in the media provider."

14 years agoInclude "album artist" when inserting items in the media provider.
Marco Nelissen [Fri, 19 Mar 2010 00:10:38 +0000 (17:10 -0700)]
Include "album artist" when inserting items in the media provider.

Change-Id: Ic34e2d54557409866dc35c29ee397afdfe874762

14 years agoFix bug 2520540
Adam Powell [Thu, 18 Mar 2010 21:51:39 +0000 (14:51 -0700)]
Fix bug 2520540

PreferenceActivity will now persist view hierarchy state properly.

Change-Id: I4e7fe036d0d0bced78e58e2a15808facf502e449

14 years agoAllow transitionTo in enter/exit.
Wink Saville [Fri, 19 Mar 2010 00:03:30 +0000 (17:03 -0700)]
Allow transitionTo in enter/exit.

bug: 2435366
Change-Id: Id15c5e2cca49ced5ebbda24887f8c490e717f101

14 years agoMerge "Clean up changing AP configuration"
Irfan Sheriff [Thu, 18 Mar 2010 23:42:48 +0000 (16:42 -0700)]
Merge "Clean up changing AP configuration"

14 years agoMerge "Fix issue #2438457: Resolving Flash artifacts while scrolling."
Dianne Hackborn [Thu, 18 Mar 2010 23:34:07 +0000 (16:34 -0700)]
Merge "Fix issue #2438457: Resolving Flash artifacts while scrolling."

14 years agoFix issue #2438457: Resolving Flash artifacts while scrolling.
Dianne Hackborn [Thu, 18 Mar 2010 22:44:34 +0000 (15:44 -0700)]
Fix issue #2438457: Resolving Flash artifacts while scrolling.

When the surface view scrolls off the screen it stops drawing, so
we stop moving it.  Add an observer to scrolls so we can continue
to update its position.

Change-Id: I2604cbbecd3e72be1a2a6bc5794e3e1c19317b9e

14 years agoMerge "Change opaque RS typedefs from void * to int. These will likely become int64_...
Jason Sams [Thu, 18 Mar 2010 23:30:43 +0000 (16:30 -0700)]
Merge "Change opaque RS typedefs from void * to int.  These will likely become int64_t once proper support for >32bits is worked out."

14 years agoChange opaque RS typedefs from void * to int. These will likely become int64_t once...
Jason Sams [Thu, 18 Mar 2010 23:29:59 +0000 (16:29 -0700)]
Change opaque RS typedefs from void * to int.  These will likely become int64_t once proper support for >32bits is worked out.

Change-Id: Ic30240fe6c79170a0a88fd51185a1f01bd616c45

14 years agoMerge "Documentation fix"
Adam Powell [Thu, 18 Mar 2010 23:12:28 +0000 (16:12 -0700)]
Merge "Documentation fix"

14 years agoMerge "Added a comment to make it clearer that the operation has to be the first...
Daniel Lehmann [Thu, 18 Mar 2010 23:09:57 +0000 (16:09 -0700)]
Merge "Added a comment to make it clearer that the operation has to be the first Bug:2521447"

14 years agoFix null pointer exception
Irfan Sheriff [Thu, 18 Mar 2010 21:29:59 +0000 (14:29 -0700)]
Fix null pointer exception

Bug: 2525763
Change-Id: If2f334187af26e0352d754d7e00a9ca3efc5dffa

14 years agoAdded a comment to make it clearer that the operation has to be the first
Daniel Lehmann [Thu, 18 Mar 2010 23:08:30 +0000 (16:08 -0700)]
Added a comment to make it clearer that the operation has to be the first
Bug:2521447

Change-Id: I155d0b328115d007116a0fe4560e703647ec2fb5

14 years agoClean up changing AP configuration
Irfan Sheriff [Thu, 18 Mar 2010 21:02:22 +0000 (14:02 -0700)]
Clean up changing AP configuration

Bug: 2527293
Change-Id: I35e82e24e27349e2966f88189ebca4246ad1a354

14 years agoMerge "Release MediaPlayer if suspend() returns false."
Gloria Wang [Thu, 18 Mar 2010 22:59:35 +0000 (15:59 -0700)]
Merge "Release MediaPlayer if suspend() returns false."

14 years agoMerge "Change global variables from extern to non static. Make script local global...
Jason Sams [Thu, 18 Mar 2010 22:52:47 +0000 (15:52 -0700)]
Merge "Change global variables from extern to non static.  Make script local global vars static."

14 years agoChange global variables from extern to non static. Make script local global vars...
Jason Sams [Thu, 18 Mar 2010 22:51:59 +0000 (15:51 -0700)]
Change global variables from extern to non static.  Make script local global vars static.

Change-Id: I73656978e0f0ceeb927afef292fc4ed9755b7214

14 years agoRelease MediaPlayer if suspend() returns false.
Gloria Wang [Thu, 18 Mar 2010 21:50:05 +0000 (14:50 -0700)]
Release MediaPlayer if suspend() returns false.

Change-Id: Ic6467a19bac453b72b56294487c9b835b20affd7

14 years agoMerge "Fix current.xml for previous changes"
Adam Powell [Thu, 18 Mar 2010 22:09:14 +0000 (15:09 -0700)]
Merge "Fix current.xml for previous changes"

14 years agoMerge "Fix bug where the setConfig method in SynthProxy has the wrong signature."
Jean-Michel Trivi [Thu, 18 Mar 2010 22:07:24 +0000 (15:07 -0700)]
Merge "Fix bug where the setConfig method in SynthProxy has the wrong signature."

14 years agoFix current.xml for previous changes
Adam Powell [Thu, 18 Mar 2010 22:05:30 +0000 (15:05 -0700)]
Fix current.xml for previous changes

Change-Id: I467f2e71e65fbe43f7e5507521e42726fa6bf361

14 years agoMerge "Update signal strength mapping for GSM/UMTS."
jsh [Thu, 18 Mar 2010 21:58:30 +0000 (14:58 -0700)]
Merge "Update signal strength mapping for GSM/UMTS."

14 years agoMerge "Make the VCardEntry more robust against badly behaving resolvers. Additionally...
Daniel Lehmann [Thu, 18 Mar 2010 21:54:17 +0000 (14:54 -0700)]
Merge "Make the VCardEntry more robust against badly behaving resolvers. Additionally make the ImportTestResolver return the right result Bug:2521447"

14 years agoFix bug where the setConfig method in SynthProxy has the wrong
Jean-Michel Trivi [Thu, 18 Mar 2010 21:50:06 +0000 (14:50 -0700)]
Fix bug where the setConfig method in SynthProxy has the wrong
signature.

Change-Id: If04b9a1d6de6384d7f53efac4e60f1cd4d659625

14 years agoMerge "More rsh headers for renderscript and a llvm compatible test script for fountain."
Jason Sams [Thu, 18 Mar 2010 21:37:01 +0000 (14:37 -0700)]
Merge "More rsh headers for renderscript and a llvm compatible test script for fountain."

14 years agoMore rsh headers for renderscript and a llvm compatible test script for fountain.
Jason Sams [Thu, 18 Mar 2010 21:36:05 +0000 (14:36 -0700)]
More rsh headers for renderscript and a llvm compatible test script for fountain.

Change-Id: If5d682e549e6f849ba809619587feb58c1e4ed0a

14 years agoMake aapt warning concise
Kenny Root [Thu, 18 Mar 2010 21:14:49 +0000 (14:14 -0700)]
Make aapt warning concise

The previous warning made it seem like it could be using the value
specified on the command line, but, in fact, it would ignore the command
line value if it were already specified in the AndroidManifest.xml

Change-Id: I15e8161e094f17412680d25d3b7b810474eb4a31

14 years agoMerge "Report a runtime error rather than asserting if the amr software decoder reads...
Andreas Huber [Thu, 18 Mar 2010 21:08:56 +0000 (14:08 -0700)]
Merge "Report a runtime error rather than asserting if the amr software decoder reads more data than it was given(!)"

14 years agoReport a runtime error rather than asserting if the amr software decoder reads more...
Andreas Huber [Thu, 18 Mar 2010 21:03:47 +0000 (14:03 -0700)]
Report a runtime error rather than asserting if the amr software decoder reads more data than it was given(!)

Change-Id: I0a7ad65051a6663a583ea82da5fc75227dcdbbfa

14 years agoMerge "Fix bug 2523989"
Adam Powell [Thu, 18 Mar 2010 20:52:08 +0000 (13:52 -0700)]
Merge "Fix bug 2523989"

14 years agoMerge "Tweak the omx tests to always do a seek-beyond-EOS on the first iteration...
Andreas Huber [Thu, 18 Mar 2010 20:50:42 +0000 (13:50 -0700)]
Merge "Tweak the omx tests to always do a seek-beyond-EOS on the first iteration, followed by a linear read on the second iteration."

14 years agoFix bug 2523989
Adam Powell [Thu, 18 Mar 2010 20:44:45 +0000 (13:44 -0700)]
Fix bug 2523989

AlertDialog's docs now refer to the id android.R.id.custom, the
correct method addView, and android.R.id.custom has been exported as a
public id.

Change-Id: Ide43a03b702f0b36326130909f9a864872ec93fb

14 years agoTweak the omx tests to always do a seek-beyond-EOS on the first iteration, followed...
Andreas Huber [Thu, 18 Mar 2010 20:37:39 +0000 (13:37 -0700)]
Tweak the omx tests to always do a seek-beyond-EOS on the first iteration, followed by a linear read on the second iteration.

Change-Id: I16fc9e42ee9f8e4cb120ab41364cae6dd4544634
related-to-bug: 2338792

14 years agoMerge "Fix minSdkVersion scanning to not throw warnings"
Kenny Root [Thu, 18 Mar 2010 20:15:33 +0000 (13:15 -0700)]
Merge "Fix minSdkVersion scanning to not throw warnings"

14 years agoMake the VCardEntry more robust against badly behaving resolvers. Additionally make...
Daniel Lehmann [Thu, 18 Mar 2010 19:56:48 +0000 (12:56 -0700)]
Make the VCardEntry more robust against badly behaving resolvers. Additionally make the ImportTestResolver return the right result
Bug:2521447

Change-Id: I39e3e686b1fd75f5e633a467f6ccb736751355ed

14 years agoDocumentation fix
Adam Powell [Thu, 18 Mar 2010 19:25:55 +0000 (12:25 -0700)]
Documentation fix

Better documentation for the screenLayout option in the Activity
configChanges attribute.

Change-Id: I9e86b08f1b305118478e3d7f134cb497839bb77b

14 years agoFix minSdkVersion scanning to not throw warnings
Kenny Root [Thu, 18 Mar 2010 19:12:11 +0000 (12:12 -0700)]
Fix minSdkVersion scanning to not throw warnings

For the UTF8/UTF16 switch code, we needed to know what was the
minSdkVersion specified as early as possible. Unfortunately, this threw
warnings when the SDK was compiling since we always set this field in
the Bundle.

This splits out the field used by the initial AndroidManifest.xml scan
to a separate one that we won't attempt to re-insert into the
AndroidManifest.xml  This also switches the logic to better reflect the
preference of UTF-8 over UTF-16; previously UTF-16 was the default.

Change-Id: Ia81f6b21047043ebb711eb24c2c3718534979ef6

14 years agoUpdate signal strength mapping for GSM/UMTS.
jsh [Thu, 18 Mar 2010 18:14:42 +0000 (11:14 -0700)]
Update signal strength mapping for GSM/UMTS.

b/2480975

New mapping:
4 bars: >= 12 asu
3 bars: >= 8 asu
2 bars: >= 5 asu
1 bar:  >= 3 asu
0 bars: <= 2 asu

Change-Id: I73dcc8e490d039ec392f027fc96f95dc951ca793

14 years agoMerge "Update TTS plugin interface to receive engine configuration data coming from...
Jean-Michel Trivi [Thu, 18 Mar 2010 18:59:32 +0000 (11:59 -0700)]
Merge "Update TTS plugin interface to receive engine configuration data coming from the plugin helper code (handling config and preferences)."

14 years agoUpdate TTS plugin interface to receive engine configuration data
Jean-Michel Trivi [Thu, 18 Mar 2010 18:07:45 +0000 (11:07 -0700)]
Update TTS plugin interface to receive engine configuration data
coming from the plugin helper code (handling config and preferences).

Change-Id: Ibc1d229463f11f8977552d74d1fd2aa6a6cab88e

14 years agoMerge "Fix problem with calling onConfigurationChanged() too much."
Dianne Hackborn [Thu, 18 Mar 2010 18:46:14 +0000 (11:46 -0700)]
Merge "Fix problem with calling onConfigurationChanged() too much."

14 years agoDont disable AP for tether failures
Irfan Sheriff [Thu, 18 Mar 2010 02:46:32 +0000 (19:46 -0700)]
Dont disable AP for tether failures

Bug: 2524514
Change-Id: I8a59e717c5b36b83adbed43184fd45d7cbfedd9a

14 years agoignore not-so-useful warning messages from sqlite logging func
Vasu Nori [Thu, 18 Mar 2010 18:26:19 +0000 (11:26 -0700)]
ignore not-so-useful warning messages from sqlite logging func

bug:2524260
Change-Id: Ie397c0df9b63414205bbf8ea7ae9d1498f198524

14 years agoFix problem with calling onConfigurationChanged() too much.
Dianne Hackborn [Thu, 18 Mar 2010 18:29:37 +0000 (11:29 -0700)]
Fix problem with calling onConfigurationChanged() too much.

We now return the initial configuration for a window when it is
added to the window manager.  The view hierarchy would check to
see if it was different than the last one, and not dispatch a
configuration change down itself if not.  However, when
ActivityThread received it, it would always dispatch a config
change even if it is the same.

The solution is to only do this in ActivityThread if the config
is actually different; otherwise, we continue to rely only on
the activity manager explicitly telling us when to do a config
change.

Change-Id: I8a6e3565776dd2723c8b791496bb6041463d4b67

14 years agoMerge "Fix bug in airplane mode."
Robert Greenwalt [Thu, 18 Mar 2010 18:09:11 +0000 (11:09 -0700)]
Merge "Fix bug in airplane mode."

14 years agoMerge "Either the software mp3 decoder's CRC computation is wrong (and PV never enabl...
Andreas Huber [Thu, 18 Mar 2010 17:55:12 +0000 (10:55 -0700)]
Merge "Either the software mp3 decoder's CRC computation is wrong (and PV never enabled it before) or there are files in the wild with wrong CRCs that nonetheless decode correctly, either way, opt out of CRC verification."

14 years agoEither the software mp3 decoder's CRC computation is wrong (and PV never enabled...
Andreas Huber [Thu, 18 Mar 2010 17:51:09 +0000 (10:51 -0700)]
Either the software mp3 decoder's CRC computation is wrong (and PV never enabled it before) or there are files in the wild with wrong CRCs that nonetheless decode correctly, either way, opt out of CRC verification.

Change-Id: I1d9bd78f4efb53faa82c67110cf61f78122e40f8
related-to-bug: 2511393

14 years agoMerge "Import revised translations"
Kenny Root [Thu, 18 Mar 2010 17:25:37 +0000 (10:25 -0700)]
Merge "Import revised translations"

14 years agoMerge "Pass selection data with the message to open the keyboard."
Leon Scroggins [Thu, 18 Mar 2010 17:20:35 +0000 (10:20 -0700)]
Merge "Pass selection data with the message to open the keyboard."

14 years agoMerge "Issue 2416481: Support Voice Dialer over BT SCO."
Eric Laurent [Thu, 18 Mar 2010 17:01:10 +0000 (10:01 -0700)]
Merge "Issue 2416481: Support Voice Dialer over BT SCO."

14 years agoPass selection data with the message to open the keyboard.
Leon Scroggins [Thu, 18 Mar 2010 16:42:33 +0000 (12:42 -0400)]
Pass selection data with the message to open the keyboard.

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

Requires a change to external/webkit.

Change-Id: I501c3b1a9ae602458b830d34f779ccedf51dba9b

14 years agoMerge "Enabling plugin engines to pass in their engine specific settings via a Conten...
Charles Chen [Thu, 18 Mar 2010 16:32:30 +0000 (09:32 -0700)]
Merge "Enabling plugin engines to pass in their engine specific settings via a ContentProvider to the TtsService so that the TtsService can invoke their .so file with those settings."

14 years agoMerge "While streaming media data, upon a socket-read error, try reconnecting to...
Andreas Huber [Thu, 18 Mar 2010 16:01:01 +0000 (09:01 -0700)]
Merge "While streaming media data, upon a socket-read error, try reconnecting to the server and attempt to re-read for at most 3 times."

14 years agoMerge "Add GoogleLogTags that includes event log tags used by Google apps"
Dan Egnor [Thu, 18 Mar 2010 15:52:28 +0000 (08:52 -0700)]
Merge "Add GoogleLogTags that includes event log tags used by Google apps"

14 years agoAdd GoogleLogTags that includes event log tags used by Google apps
Dan Egnor [Thu, 18 Mar 2010 02:47:30 +0000 (19:47 -0700)]
Add GoogleLogTags that includes event log tags used by Google apps

Bug: 2523742
Change-Id: I0e61127ac58cbc954240b30c1f55c2518d833aaa