20447 Commits

Author SHA1 Message Date
Romain Guy
b05ec11868 Merge "Force all views to relayout when ViewRoot is resized. Bug #2519590" 2010-03-19 09:34:31 -07:00
Wink Saville
951749ba2e Use the new HSM capability that allows transitionTo in enter methods.
Change-Id: If87a30257111d4a2b0506428c75eae81a7ccf77b
2010-03-19 09:09:12 -07:00
Robert Greenwalt
b18af656f0 Merge "Add support for DUN over a cdma connection." 2010-03-19 09:03:27 -07:00
Robert Greenwalt
ad17d11c74 Merge "Fix Tethering Notifications for multiple ifaces" 2010-03-19 09:02:00 -07:00
Robert Greenwalt
db3fe9edd4 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
2010-03-19 08:59:20 -07:00
Steve Block
d12b232575 Merge "Fix HttpAuthHandler for synchronous requests" 2010-03-19 08:47:56 -07:00
Marco Nelissen
0096b8d7d1 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
2010-03-19 08:07:26 -07:00
Cary Clark
cfe688d8d9 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
2010-03-19 10:52:41 -04:00
Steve Block
f19f9f55f9 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
2010-03-19 13:59:10 +00:00
Steve Block
c877c6b87a 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
2010-03-19 13:48:49 +00:00
Grace Kloba
f8338d4a98 Change overscroll background to be same as status
bar pulldown.

Fix http://b/issue?id=2520825
2010-03-18 23:00:51 -07:00
Jean-Michel Trivi
4b55d496dd Fix SDK build Remove links to hidden constant in javadoc.
Change-Id: I21495f0ef64b3dc154ce0e0ca2d44686afd752e9
2010-03-18 21:37:29 -07:00
Eric Laurent
95b88fbe74 Attempt to fix the SDK build.
Change-Id: I024df1b513da117057a21c27e6c0cd134cdd8023
2010-03-18 20:39:38 -07:00
Dianne Hackborn
ee379aacc5 Merge "Fix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to FRE70D" 2010-03-18 19:25:57 -07:00
Dianne Hackborn
806da1d46c 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
2010-03-18 19:25:19 -07:00
Kenny Root
8ee1d97c09 Merge "Make aapt warning concise" 2010-03-18 19:15:51 -07:00
Romain Guy
cdb86673a7 Force all views to relayout when ViewRoot is resized.
Bug #2519590

Change-Id: Ia6b9d4cf6d719f713703a1eb2e1ccdd5d61a5123
2010-03-18 18:54:50 -07:00
Jean-Michel Trivi
078fd47e91 Support focus requests where ducking of the loser of audio focus
is acceptable for the new audio focus owner.

Change-Id: I965483f12eeb717115a8f6992d8f1ab7fafa4e45
2010-03-18 18:28:27 -07:00
Dianne Hackborn
84b446fad2 Merge "Only backup real files." 2010-03-18 18:26:06 -07:00
Eric Laurent
1b13e5a057 Merge "Unhide AudioManager API to control bluetooth SCO audio connection." 2010-03-18 18:23:17 -07:00
Adam Powell
e4ec08a838 Merge "Fix bug 2520540" 2010-03-18 18:22:57 -07:00
Eric Laurent
c04cfa3596 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
2010-03-18 18:18:48 -07:00
Dmitri Plotnikov
e6d36ffb2c Merge "Cleaning up list of common nicknames" 2010-03-18 18:18:02 -07:00
Christopher Tate
7182ef3604 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
2010-03-18 18:13:57 -07:00
Eric Olsen
5e12aec163 Add the blacklist for the SCO connections
Change-Id: Ibfdfb21fb2f27d01d2b8bff48041398aa4308353
Signed-off-by: Eric Olsen <eolsen@android.com>
2010-03-18 18:08:02 -07:00
Suchi Amalapurapu
7942b33e89 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" 2010-03-18 18:07:54 -07:00
Wink Saville
e5bdecea28 Merge "Allow transitionTo in enter/exit." 2010-03-18 18:03:48 -07:00
Dianne Hackborn
738b758641 Only backup real files.
Fixes hang when backing up droid.

Change-Id: Ie8b5c9f76c39c2e6c2cdf1e3b03f56ae37912bad
2010-03-18 17:45:15 -07:00
Suchi Amalapurapu
90d8ee650b 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
2010-03-18 17:44:21 -07:00
Robert Greenwalt
78b6e89914 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
2010-03-18 17:43:42 -07:00
Marco Nelissen
42a9c53788 Merge "Include "album artist" when inserting items in the media provider." 2010-03-18 17:23:32 -07:00
Marco Nelissen
abc2819328 Include "album artist" when inserting items in the media provider.
Change-Id: Ic34e2d54557409866dc35c29ee397afdfe874762
2010-03-18 17:15:56 -07:00
Adam Powell
e7fea45863 Fix bug 2520540
PreferenceActivity will now persist view hierarchy state properly.

Change-Id: I4e7fe036d0d0bced78e58e2a15808facf502e449
2010-03-18 17:08:15 -07:00
Wink Saville
e7be6a85da Allow transitionTo in enter/exit.
bug: 2435366
Change-Id: Id15c5e2cca49ced5ebbda24887f8c490e717f101
2010-03-18 17:03:30 -07:00
Irfan Sheriff
6d33c5adde Merge "Clean up changing AP configuration" 2010-03-18 16:42:48 -07:00
Dianne Hackborn
ca2c8e7501 Merge "Fix issue #2438457: Resolving Flash artifacts while scrolling." 2010-03-18 16:34:07 -07:00
Dianne Hackborn
e2af5c882b 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
2010-03-18 16:32:58 -07:00
Jason Sams
2b24a6a73a Merge "Change opaque RS typedefs from void * to int. These will likely become int64_t once proper support for >32bits is worked out." 2010-03-18 16:30:43 -07:00
Jason Sams
5335600a29 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
2010-03-18 16:29:59 -07:00
Adam Powell
9db133cbd9 Merge "Documentation fix" 2010-03-18 16:12:28 -07:00
Daniel Lehmann
592629e647 Merge "Added a comment to make it clearer that the operation has to be the first Bug:2521447" 2010-03-18 16:09:57 -07:00
Irfan Sheriff
4f31a00376 Fix null pointer exception
Bug: 2525763
Change-Id: If2f334187af26e0352d754d7e00a9ca3efc5dffa
2010-03-18 16:08:55 -07:00
Daniel Lehmann
d62d9eec0d Added a comment to make it clearer that the operation has to be the first
Bug:2521447

Change-Id: I155d0b328115d007116a0fe4560e703647ec2fb5
2010-03-18 16:08:30 -07:00
Irfan Sheriff
c2f54c267b Clean up changing AP configuration
Bug: 2527293
Change-Id: I35e82e24e27349e2966f88189ebca4246ad1a354
2010-03-18 16:02:56 -07:00
Gloria Wang
b127bf2e9c Merge "Release MediaPlayer if suspend() returns false." 2010-03-18 15:59:35 -07:00
Jason Sams
f298a027ed Merge "Change global variables from extern to non static. Make script local global vars static." 2010-03-18 15:52:47 -07:00
Jason Sams
cb88ac9f53 Change global variables from extern to non static. Make script local global vars static.
Change-Id: I73656978e0f0ceeb927afef292fc4ed9755b7214
2010-03-18 15:51:59 -07:00
Gloria Wang
047212fd4e Release MediaPlayer if suspend() returns false.
Change-Id: Ic6467a19bac453b72b56294487c9b835b20affd7
2010-03-18 15:44:30 -07:00
Adam Powell
db78bbc063 Merge "Fix current.xml for previous changes" 2010-03-18 15:09:14 -07:00
Jean-Michel Trivi
caa5ac3d1e Merge "Fix bug where the setConfig method in SynthProxy has the wrong signature." 2010-03-18 15:07:24 -07:00