summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Hide/show ime switch icon properly" into ics-mr1satok2011-11-171-10/+17
|\
| * Hide/show ime switch icon properlysatok2011-11-181-10/+17
| | | | | | | | | | Bug: 5481999 Change-Id: I4b3dde7285a9ac49da8d5d1133fddd0807b03f4d
* | Merge "Only write network stats when already loaded." into ics-mr1Jeff Sharkey2011-11-172-5/+14
|\ \
| * | Only write network stats when already loaded.Jeff Sharkey2011-11-172-5/+14
| | | | | | | | | | | | | | | Bug: 5584564 Change-Id: Ife2a68804bf3691e9bccdc167807204bce8a85b2
* | | Merge "Update NTP outside locks, log large trim events." into ics-mr1Jeff Sharkey2011-11-163-19/+64
|\ \ \ | |/ /
| * | Update NTP outside locks, log large trim events.Jeff Sharkey2011-11-163-19/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move NTP updates outside locks to avoid blocking ShutdownThread. Add logging around trim events that remove substantial history. Include history start in sample events. Bug: 5627247, 5584564 Change-Id: If9bbd93842c710efcdec94e68da87e9e42a5f961
* | | Merge "Disable desk dock apps." into ics-mr1Daniel Sandler2011-11-161-4/+12
|\ \ \
| * | | Disable desk dock apps.Daniel Sandler2011-11-161-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a device is attached to a desk dock, the CATEGORY_DESK_DOCK intent will no longer be fired. As a side effect, the "dock home" behavior (which captures the home key for the dock app as long as the device is docked) is now disabled for desk docks. Car docks are unchanged. Bug: 5591015 Change-Id: I7884f655913c31cf53b88cb2e2b371987be27f64
* | | | Merge "remove hack that hardcoded the refresh rate" into ics-mr1Mathias Agopian2011-11-161-4/+0
|\ \ \ \
| * | | | remove hack that hardcoded the refresh rateMathias Agopian2011-11-161-4/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibdd40b337c547e80ef8541856015f1380c8d58ed
* | | | | Merge "Clean up the spell checker framework" into ics-mr1satok2011-11-161-4/+2
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| |
| * | | Clean up the spell checker frameworksatok2011-11-171-4/+2
| | |/ | |/| | | | | | | Change-Id: I64c0d813e53a4ebf8d7e63463e36f6900f1aa7d3
* | | Maybe fix issue #5627399: java.lang.RuntimeException - While sign in...Dianne Hackborn2011-11-162-131/+395
| |/ |/| | | | | | | | | | | | | | | | | | | ...through setup wizard after wipe data Deal with finish() being called when there are no running activities on the stack. Also some improved debugging output. Change-Id: Ia1d3f3f7e7b79c06ca95c738081322fc80282e0d
* | Merge "Eliminate hw.keyboards system properties." into ics-mr1Jeff Brown2011-11-155-19/+28
|\ \
| * | Eliminate hw.keyboards system properties.Jeff Brown2011-11-155-19/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop using system properties to publish information about the key character map path. Instead, we can retrieve it on demand by asking the window manager. It was possible to exhaust the supply of system properties when repeatedly adding and removing input devices. Bug: 5532806 Change-Id: Idd361a24ad7db2edc185c8546db7fb05f9c28669
* | | Merge "Whoops, need to acquire lock." into ics-mr1Dianne Hackborn2011-11-151-8/+10
|\ \ \
| * | | Whoops, need to acquire lock.Dianne Hackborn2011-11-151-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also increase time between reports to try to reduce the amount of redundant spam we get. Change-Id: Iedd7d743826fffa62ee431073cb7dfb49a00cea0
* | | | Merge "rework a bit how we manage EGL extensions" into ics-mr1Mathias Agopian2011-11-151-16/+0
|\ \ \ \ | |/ / / |/| | |
| * | | rework a bit how we manage EGL extensionsMathias Agopian2011-11-141-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - don't advertise extensions that are not supported by any implementation - remove EGL_ANDROID_swap_rectangle which is not implemented by anybody and confuses people - add some comments about mandatory extensions Bug: 5428001 Change-Id: Id8dc48116ac1d1eb79ec9ef55d03e29d4257c1f3
* | | | Improve low memory dropbox reporting.Dianne Hackborn2011-11-152-52/+112
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The msg is now constructed to try to bin these reports in interesting ways. We'll see. Also change the tag name from watchdog to lowmem, since sharkey is kindly taking care of the back-end to handle this. Improve how we put processes into low memory states to better poke things like home and the previous app. Also clean up some debug output, and add a few new am comment options for controlling the current debug app. Change-Id: I562a931a95244a2727bb7a6e1fd80dec259cdae2
* | | Merge "Updating recent apps visuals on tablet" into ics-mr1Michael Jurka2011-11-141-2/+14
|\ \ \
| * | | Updating recent apps visuals on tabletMichael Jurka2011-11-141-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - getting rid of blue glow (5529032) - moving app icon position - show message if there are no recent apps (5533332) - fixing rare IllegalStateException on orientation change (5584344) Change-Id: I2210e584957869c8f02339e6841daf39364a9dad
* | | | Merge "Conservatively trim data usage stats." into ics-mr1Jeff Sharkey2011-11-142-22/+39
|\ \ \ \
| * | | | Conservatively trim data usage stats.Jeff Sharkey2011-11-142-22/+39
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of trusting NTP time alone, use the most-conservative of system clock and NTP. Bug: 5584564 Change-Id: I5dd87fc009959b1cf0a7d660e385a0b1a8be238b
* | | | Merge "Improve low memory reporting." into ics-mr1Dianne Hackborn2011-11-142-5/+33
|\ \ \ \ | |_|_|/ |/| | |
| * | | Improve low memory reporting.Dianne Hackborn2011-11-142-5/+33
| |/ / | | | | | | | | | Change-Id: I42d56ab8026fd02232dd11dbfbc513fbc0a1a851
* | | Maybe fix issue #5405788: Device continuously opening and closing...Dianne Hackborn2011-11-142-18/+21
|/ / | | | | | | | | | | | | | | | | | | | | | | ...the "Complete action using" dialog I have never been able to reproduce this consistently, but here is another stab in the twilight. It looks like during boot we have a potential race where we could reset the config sequence number after we had gone through a config change, causing ActivityThread to ignore a following config change. Maybe this change will help. Change-Id: I4b731df5fd5c63894ca2e9bd34693b31ab1c0565
* | Merge "audioflinger: fix noise when skipping to next song" into ics-mr1Eric Laurent2011-11-142-13/+35
|\ \ | |/ |/|
| * audioflinger: fix noise when skipping to next songEric Laurent2011-11-112-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When audio effects are enabled, a noise can be heard at the beginning of the new song when skipping to next song in music app. This is because some effects (especially virtualizer) have a tail. This tail was not played when previous song was stopped because effects were not processed when no tracks were present on a given session. This is to reduce CPU load when effects are enabled but no audio is playing. The tail was then rendered when the new song was started. Added a delay before stopping effect process after all tracks have been removed from a session. Issue 5584880. Change-Id: I815e0f7441f9302e8dfe413dc269a94e4cc6fd95
* | Make activity manager more robust in the face of app activity leaks.Dianne Hackborn2011-11-114-119/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This came up from bug #5601885: Memory increase (leak?) in system_server Stingray MR1 This isn't *really* a leak in the system process -- it is a leak in an application process that is causing the system process to keep around a bunch of ActivityRecord objects longer than it should, until that app process is ultimately killed. Unfortunately these days leaking an ActivityRecord also often means leaking a thumbnail, which is a big slab of memory. So make the activity manager better about this, using a weak reference from the handle the object has so we can still clean away most of the state associated with the ActivityRecord even if the client side leaks its own reference. Change-Id: Idbab45e09749cdfb54899203da7981e7b3576e25
* | Merge "Tone down Tethering logs." into ics-mr1Robert Greenwalt2011-11-111-12/+11
|\ \
| * | Tone down Tethering logs.Robert Greenwalt2011-11-111-12/+11
| | | | | | | | | | | | | | | bug:5601582 Change-Id: I66c0a5a06a2c13a7cf93ea264d156b37df23745f
* | | Fix NPE in ConnectivityService.Robert Greenwalt2011-11-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | If it's configured with a defined network but can't create a network state tracker for it, it would NPE and restart the framework whenever a default network disconnects. bug:5603268 Change-Id: I816c4f522d766e0353a713623f6635b03395b01e
* | | Merge "Clamp non-monotonic stats instead of dropping." into ics-mr1Jeff Sharkey2011-11-101-6/+23
|\ \ \
| * | | Clamp non-monotonic stats instead of dropping.Jeff Sharkey2011-11-101-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When encountering non-monotonic stats rows, recover remaining data by clamping to 0. In particular, this avoids edge-case where persisting threshold checks would never trigger. Also recover when tethering snapshots are missing. Bug: 5600785, 5433871, 5600678 Change-Id: I1871954ce3955cc4ac8846f9841bae0066176ffe
* | | | Merge "Fix Wimax-less build." into ics-mr1Robert Greenwalt2011-11-101-1/+3
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix Wimax-less build.Robert Greenwalt2011-11-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A build with the wimax network type defined but wimax disabled causes an NPE in ConnectivityService's constructor. bug:5237167 Change-Id: I929eac217e1afa0e61346fdbc3e96a7d3ad09a54
* | | | Merge "Fix issue #5470311: Activity with android:configChanges defined..." ↵Dianne Hackborn2011-11-101-55/+90
|\ \ \ \ | | | | | | | | | | | | | | | into ics-mr1
| * | | | Fix issue #5470311: Activity with android:configChanges defined...Dianne Hackborn2011-11-101-55/+90
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...should not be restarted when rotating screen on xoom This was a side-effect of a previous fix to compute the screen layout config class based on the actual space available to the application, not the raw display size. On a device like Xoom, the system bar causes us to switch between LONG and NOTLONG depending on whether the system bar is on the short or long side of the screen. To fix this, we now compute the screen layout class the same way "smallest width" is computed: looking at all of the possible rotations and using the smallest of them all. In addition to preventing the device from toggling between long and notlong on a Xoom-like screen, this will also avoid other possible undersireable behavior like changing screen layout size when rotating. This does mean that Xoom is no longer considered a long screen even when in landscape, because it is not a long screen in portrait. Change-Id: I85f90a16294ef5a7de94d5b9231abbc6f914fe90
* | | | Merge "increase the rate at which we dispatch events." into ics-mr1Chet Haase2011-11-101-1/+7
|\ \ \ \
| * | | | increase the rate at which we dispatch events.Chet Haase2011-11-101-1/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the input dispatch rate was capped by default to 55. This worked fine for systems with a refresh rate of 55 or lower. But on devices with a higher frame rate (such as stingray at 60 fps), we do not receive events as fast as the rendering system wants to redraw the frames, so we would occasionally miss events between frames, resulting in a visual stutter during drag operations where the dragged object would essentially stay still for a frame. This fix increases the default rate to 90, or 1.5 times the highest typical refresh rate of our devices. Change-Id: Id8622185b3da93f9f6505157d2e6f3f33e36bd04
* | | | Merge "Close file on exception as well" into ics-mr1Kenny Root2011-11-101-2/+4
|\ \ \ \ | |_|/ / |/| | |
| * | | Close file on exception as wellKenny Root2011-11-101-2/+4
| | |/ | |/| | | | | | | | | | Bug: 5458045 Change-Id: I4c79b9c273ff69dda292e5cc7b2b60f8db2edbd9
* | | Merge "handle EINTR when calling sensor HAL's poll function" into ics-mr1Mathias Agopian2011-11-102-2/+7
|\ \ \ | |/ / |/| |
| * | handle EINTR when calling sensor HAL's poll functionMathias Agopian2011-11-092-2/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | some sensor HALs don't handle EINTR, make sure to catch it in the sensorservice. also if we ever encounter an error that we can't handle, we abort which will restart us (or the whole system process if we're running in it) Bug: 5511741 Change-Id: I7051882b06980f778736b53d6cd021a99b5ca8d2
* | Merge "Back to 59fps" into ics-mr1Dave Burke2011-11-091-1/+1
|\ \
| * | Back to 59fpsDave Burke2011-11-091-1/+1
| |/ | | | | | | Change-Id: I8d89e5e27f1abc5a2e36cb832eb4db2ca83c2cc6
* | Merge "Respect user settings for spell checking language if explicitly set" ↵satok2011-11-091-5/+31
|\ \ | |/ |/| | | into ics-mr1
| * Respect user settings for spell checking language if explicitly setsatok2011-11-101-5/+31
| | | | | | | | | | Bug: 5554116 Change-Id: I8c16d732af1fe713d30d97dfe829ff16653c7f34
* | Merge "Fix regression for SoundPool playback" into ics-mr1Eric Laurent2011-11-091-2/+7
|\ \ | |/ |/|