Commit Graph

13614 Commits

Author SHA1 Message Date
Grace Kloba
2bf414ce64 Merge "Change overscroll background to be same as status bar pulldown." 2010-03-19 10:41:01 -07:00
Vasu Nori
81ce9a1358 Merge "limit sql statement in finalizer warning to 100 chars" 2010-03-19 10:38:29 -07:00
Eric Olsen
cc6467b25e Merge "Add the blacklist for the SCO connections" 2010-03-19 10:26:53 -07:00
Marco Nelissen
2e3b71106c 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." 2010-03-19 10:25:13 -07:00
Romain Guy
45ffa11ea6 Merge "Force all views to relayout when ViewRoot is resized. Bug #2519590" 2010-03-19 09:34:31 -07:00
Robert Greenwalt
5c3597018b Merge "Add support for DUN over a cdma connection." 2010-03-19 09:03:27 -07:00
Robert Greenwalt
8c0e3ffde7 Merge "Fix Tethering Notifications for multiple ifaces" 2010-03-19 09:02:00 -07:00
Steve Block
a18234c6e7 Merge "Fix HttpAuthHandler for synchronous requests" 2010-03-19 08:47:56 -07:00
Dianne Hackborn
ef41eb28ee Merge "Fix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to FRE70D" 2010-03-18 19:25:57 -07:00
Kenny Root
50317673e9 Merge "Make aapt warning concise" 2010-03-18 19:15:51 -07:00
Dianne Hackborn
2cfdc6bed2 Merge "Only backup real files." 2010-03-18 18:26:06 -07:00
Eric Laurent
f07ed728b5 Merge "Unhide AudioManager API to control bluetooth SCO audio connection." 2010-03-18 18:23:17 -07:00
Adam Powell
43c5e92da7 Merge "Fix bug 2520540" 2010-03-18 18:22:57 -07:00
Dmitri Plotnikov
2a8e56d3db Merge "Cleaning up list of common nicknames" 2010-03-18 18:18:02 -07:00
Christopher Tate
440fd870b2 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
Suchi Amalapurapu
4b59e2b6f8 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
deba00ca2e Merge "Allow transitionTo in enter/exit." 2010-03-18 18:03:48 -07:00
Marco Nelissen
a7b6a6f8c4 Merge "Include "album artist" when inserting items in the media provider." 2010-03-18 17:23:32 -07:00
Irfan Sheriff
5b85079985 Merge "Clean up changing AP configuration" 2010-03-18 16:42:48 -07:00
Dianne Hackborn
5b3974b13f Merge "Fix issue #2438457: Resolving Flash artifacts while scrolling." 2010-03-18 16:34:07 -07:00
Jason Sams
149d9a00e0 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
Adam Powell
d3fc11f080 Merge "Documentation fix" 2010-03-18 16:12:28 -07:00
Daniel Lehmann
869fda6f1a 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
Gloria Wang
b1a233374a Merge "Release MediaPlayer if suspend() returns false." 2010-03-18 15:59:35 -07:00
Jason Sams
88a5a6187b Merge "Change global variables from extern to non static. Make script local global vars static." 2010-03-18 15:52:47 -07:00
Adam Powell
5105e7ea37 Merge "Fix current.xml for previous changes" 2010-03-18 15:09:14 -07:00
Jean-Michel Trivi
94899883e0 Merge "Fix bug where the setConfig method in SynthProxy has the wrong signature." 2010-03-18 15:07:24 -07:00
jsh
e76833d5ed Merge "Update signal strength mapping for GSM/UMTS." 2010-03-18 14:58:30 -07:00
Daniel Lehmann
706f99f7d3 Merge "Make the VCardEntry more robust against badly behaving resolvers. Additionally make the ImportTestResolver return the right result Bug:2521447" 2010-03-18 14:54:17 -07:00
Jason Sams
f007a17ff5 Merge "More rsh headers for renderscript and a llvm compatible test script for fountain." 2010-03-18 14:37:01 -07:00
Andreas Huber
d6ad91ec80 Merge "Report a runtime error rather than asserting if the amr software decoder reads more data than it was given(!)" 2010-03-18 14:08:56 -07:00
Adam Powell
a5cdcdc09a Merge "Fix bug 2523989" 2010-03-18 13:52:08 -07:00
Andreas Huber
5e5437854c 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." 2010-03-18 13:50:42 -07:00
Kenny Root
1b3f4c0de0 Merge "Fix minSdkVersion scanning to not throw warnings" 2010-03-18 13:15:33 -07:00
Wink Saville
6a031a3922 Merge "Retry pending memory status update to modem when radio is ON." 2010-03-18 12:01:07 -07:00
Jean-Michel Trivi
23960bcbd5 Merge "Update TTS plugin interface to receive engine configuration data coming from the plugin helper code (handling config and preferences)." 2010-03-18 11:59:32 -07:00
Jean-Michel Trivi
ae4d8ac982 Update TTS plugin interface to receive engine configuration data
coming from the plugin helper code (handling config and preferences).

Change-Id: Ibc1d229463f11f8977552d74d1fd2aa6a6cab88e
2010-03-18 11:52:41 -07:00
Dianne Hackborn
c81ad4fcb0 Merge "Fix problem with calling onConfigurationChanged() too much." 2010-03-18 11:46:14 -07:00
Robert Greenwalt
606f172006 Merge "Fix bug in airplane mode." 2010-03-18 11:09:11 -07:00
Andreas Huber
3358b4a898 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." 2010-03-18 10:55:12 -07:00
Kenny Root
1d417c3db9 Merge "Import revised translations" 2010-03-18 10:25:37 -07:00
Leon Scroggins
77794ad21b Merge "Pass selection data with the message to open the keyboard." 2010-03-18 10:20:35 -07:00
Eric Laurent
9ef4648c55 Merge "Issue 2416481: Support Voice Dialer over BT SCO." 2010-03-18 10:01:10 -07:00
Charles Chen
ccbcf745d5 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." 2010-03-18 09:32:30 -07:00
Andreas Huber
b46072c540 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." 2010-03-18 09:01:01 -07:00
Dan Egnor
20123eaa46 Merge "Add GoogleLogTags that includes event log tags used by Google apps" 2010-03-18 08:52:28 -07:00
Dan Egnor
5e7fd906f6 Add GoogleLogTags that includes event log tags used by Google apps
Bug: 2523742
Change-Id: I0e61127ac58cbc954240b30c1f55c2518d833aaa
2010-03-18 08:51:36 -07:00
Mike Lockwood
6045316016 Merge "Remove unused file NmeaParser.java" 2010-03-18 08:18:26 -07:00
Bjorn Bringert
36f735d108 Merge "RecognitionManager does not throw exceptions when needed" 2010-03-18 07:24:04 -07:00
Steve Block
c22367d8e7 Merge "Adds worker tests to the DumpRenderTree ignoreResults list, as workers are now disabled" 2010-03-18 05:02:15 -07:00