Commit Graph

13705 Commits

Author SHA1 Message Date
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
Dianne Hackborn
e14d182821 Merge "Rework permissions to be retained when an app is temporarily uninstalled." 2010-03-18 02:05:20 -07:00
Amith Yamasani
547c524682 Merge "Fix window leak and receiver leak. Bug: 2520143 and Bug: 2517390" 2010-03-18 01:24:03 -07:00
Robert Greenwalt
358b17b05c Merge "Make Tethering not disconnect on every net change." 2010-03-17 22:55:25 -07:00
Jean-Michel Trivi
f6f40992ff Merge "Support plugin parameter updates for TTS plugin settings." 2010-03-17 22:55:10 -07:00
Joe Onorato
25105b96e0 Merge "fix 2517656 Pin/Password Unlocks place focus on the launcher screen when they shouldn't" 2010-03-17 22:35:57 -07:00
Joe Onorato
76d04624b8 Merge "Fix for deadlock between StatusBarService and NotificationManagerService" 2010-03-17 22:33:30 -07:00
Charles Chen
ad4173f1eb Merge "Added a check to TtsService to make sure that the engine is enabled before using it; if the engine is not enabled, TtsService will fall back to using the default system engine." 2010-03-17 19:19:17 -07:00
Eric Laurent
4b49bfa142 Merge "Added a configuration option indicating if the platform supports use of bluetooth SCO for off call use cases. Added method to BluetoothHeadset API to check if voice dialer over bluetooth is supported. Replaces direct use of DISABLE_BT_VOICE_DIALING and takes platform capabilities into account." 2010-03-17 19:15:16 -07:00
Suchi Amalapurapu
c159adbdf8 Merge "Add new install flag to install on internal flash only Change default install location policy for new flag. New error code for media unavailable." 2010-03-17 18:50:29 -07:00