summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix issue #2391429: Crash during boot if fwd locked app is ↵Dianne Hackborn2010-01-221-9/+20
|\ | | | | | | incompletely installed" into eclair
| * Fix issue #2391429: Crash during boot if fwd locked app is incompletely ↵Dianne Hackborn2010-01-221-9/+20
| | | | | | | | | | | | | | | | installed We need to remove left-over .apk when cleaning up a partially installed app. Change-Id: I94264549670a2ad01622f746c40c82c30dd3da8d
* | Fix issue 2388215: Audio not routed to 3.5mm Headset after removal/insertion.Eric Laurent2010-01-221-8/+13
| | | | | | | | | | | | | | | | | | | | The problem occurs if the delay between the headset removal and insertion is less than one second. In this case, as the headset disconnection intent is broadcast with a 1 second delay to allow music to pause before updating the route, the connection intent is broadcast before and is ignored, leaving the system in a state where the headset is considered disconnected. The fix consists in inserting a delay before broadcasting the connection intent if a disconnection intent is pending broadcast.
* | Try to switch to another default net on connection failure.Robert Greenwalt2010-01-201-21/+43
| | | | | | | | | | | | | | | | This shouldn't be required, but there seems to be something odd going on in wifi and it doesn't hurt to try other available options. Makes a connection failure case work like a disconnected case. bug: 2378462
* | Merge "DO NOT MERGE Avoid wifi disable in a UNKNOWN state" into eclairIrfan Sheriff2010-01-201-0/+11
|\ \
| * | DO NOT MERGE Avoid wifi disable in a UNKNOWN stateIrfan Sheriff2010-01-201-0/+11
| |/ | | | | | | | | | | Multiple broadcast receiver unregister calls cause exception. Bug: 2361335
* | Add bugreport info about network feature use. DO NOT MERGERobert Greenwalt2010-01-201-8/+37
| | | | | | | | | | | | | | | | | | | | | | Backported from master change Ib9285359. We've had a couple bug reports showing the effects of a left-live feature request. We need a bit more bugreport-time logging. bug: 2323226 bug: 2377507 change-id: I296b2887101c260aea678bf6db91144535cbad7e
* | Cleanup of process-specific DNS.Robert Greenwalt2010-01-191-1/+1
|/ | | | | | | | | | Backport of MR2 change 421c72b6. Removes entries sooner. A bug. Doesn't add one for phone process at all. This was intended to be removed long ago. bug: 2329900 bug: 2377507
* Fix issue #2364506: Phone locked up while listening to music and attempting ↵Dianne Hackborn2010-01-192-16/+38
| | | | | | | | | to download an update Make sure calls into the notification manager are not done with the activity manager lock held. Change-Id: Ib53c3b9f46160d94ee1e7079b1a5123e0d1225d8
* Backport l53e91db7 from master.Robert Greenwalt2010-01-131-5/+19
| | | | | | | | | Prevents sending out ConnectivityManager broadcasts when the connection is repeating the same major state. This means continued wifi scanning does not generate CM broadcasts (though wifi state broadcasts continue). bug: 2265222 Dr No approval: jsh
* framework: storage: Ensure that filesystems are unmounted before shutdown/rebootSan Mehat2010-01-121-1/+74
| | | | Signed-off-by: San Mehat <san@google.com>
* Immediately close the shade when the status bar is disabled. (DO NOT MERGE)Daniel Sandler2009-12-271-1/+4
| | | | | | | | | | | | | | This provides a quick fix for http://b/2298803 (if the in-call UI comes up while the user is holding the windowshade, the shade sticks in place and the display becomes unresponsive). Merged from master (I92a824fe). TODO: safely restore code to animate the shade closed rather than simply causing it to disappear. Change-Id: I53dc76fdfe86636f30f37a223a88d27a5766d3eb
* Issue #2335763: Cant dial emergency number on my deviceDianne Hackborn2009-12-181-0/+12
| | | | | | | | | | | | | | | | | | This may fix the issue, but we have no repro steps so no way to make sure. What appeared to be going on was that the emergency dialer was created, but still had the starting preview window above it. We were stuck in this state because the preview window didn't have the "hide lock screen" flag set, so the lock screen would never be removed, and thus we would never take care of finishing the show of the emergency dialer (because it was not visible) and thus not remove the starting window. The solution here is to simply propagate the lock flags up to the starting window. Change-Id: I6da9f6494537f0661d9d230664ebf745c293ea7d
* Fix issue 2324029: In-call (and other) audio screwed up after using Pandora ↵Eric Laurent2009-12-141-17/+14
| | | | | | | | | | | (ERD72). The problem is due to spurious headset connection indications received from event observer when a 3.5mm headset w/o mic is connected. In this particular case, The HeadsetObserver first received a valid indication of headset with mic connection, followed by a headset with mic disconnection and finally a headset w/o mic connection. The HeadsetObserver delays the headset disconnection intent to leave time to music app to pause music before the output path is switched. As the last headset w/o mic connection indication is received from the event observer before the intent corresponding to the spurious headset with mic disconnection is broadcast, the later is discarded. Results a state where the headset with mic is always considered as connected. The fix consists in not canceling pending intents when a new headset state is received and carrying the HeadsetObserver state with the delayed message triggering the broacast of the disconnection intent.
* Fix #2269582 Sometimes camera preview screen is truncatedDianne Hackborn2009-12-111-8/+51
| | | | | | | | | | | | There were a few places in the window manager where we wouldn't cause a layout after making a window visible. This would leave it using whatever size and position it last have since we don't layout windows when they are not visible. Also includes a little part I missed in the security issue that allowed wallpapers to see input on the lock screen. Change-Id: Icd7e037ad9a67ac936bc7039d87ed68f49502d73
* Merge change I2ffe306f into eclairAndroid (Google) Code Review2009-12-111-1/+1
|\ | | | | | | | | * changes: Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
| * Fix issue #2304284: contacts/dialer/recentcalls constantly flashingDianne Hackborn2009-12-111-1/+1
| | | | | | | | | | | | | | | | Make sure the application is always given the most recent configuration when launcher. Use the current configuration, instead of whatever happens to be set by the app, for reporting what it was launched with. Change-Id: I2ffe306f56cc9092b640546dd0a28d2c29b9c0b3
* | Fix #2320798: Device hang then runtime restartChristopher Tate2009-12-111-9/+9
|/ | | | | | | The system_server process is deadlocking between event dispatch and window manager code. This change fixes the lock scoping to eliminate the deadlock. Change-Id: I00f029e4d51d7432119ad3aeec260df215b52546
* Fix #2313887: Device doesn't boot after rebooting device...Dianne Hackborn2009-12-091-1/+15
| | | | | | | | | ...in setup wizard ->Wifi setup screen. We were stopped waiting for the wallpaper to draw, which it would never do because it had been obscured and thus hidden. Change-Id: Ia48b3f2a46ca970f143cbaee99f5f2a054378986
* Fix #2313382: SECURITY: Live wallpapers get touch events through the lock ↵Dianne Hackborn2009-12-081-1/+3
| | | | | | | | | | | screen. This is a quick and dirty hack to not deliver touch events to the wallpaper when they are being sent to the keyguard. Perhaps we should have a separate window flag for this, but... bleah. Maybe later. Or maybe I'll use that secure flag. Or something. Change-Id: Ifd95b9f5b10db24a0854a93b925a833b24331b4c
* Merge change Ib097fbbf into eclairAndroid (Google) Code Review2009-12-071-21/+7
|\ | | | | | | | | * changes: DO NOT MERGE Reverting change I53e91db7.
| * DO NOT MERGE Reverting change I53e91db7.Robert Greenwalt2009-12-071-21/+7
| | | | | | | | | | | | | | | | | | Accidentally submitted into eclair instead of eclair-mr2. I apparently rebased my mr2 working dir to eclair by mistake. Do not merge this so the desired change will survive on mr2 as intended. bug: 2265222
* | Merge change I204e4787 into eclairAndroid (Google) Code Review2009-12-072-21/+29
|\ \ | |/ |/| | | | | * changes: Fix updating Bluetooth icon on status bar and for Wifi.
| * Fix updating Bluetooth icon on status bar and for Wifi.Jaikumar Ganesh2009-12-072-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Status bar uses the SINK_STATE_CHANGE intent to determine the icon. This intent also has the device. Thus, we can get this intent for any device and we update the icon wrongly. The same problem is with Wifi. This was not commonly observed till now, but with the car dock changes its easy to reproduce as we can get an incoming connection from the car's bluetooth system. For Wifi, this will cause coexistance issues especially with desk docks. Dr No: Eastham Bug: 2133530
* | Filter out minor Connectivity Notifications.Robert Greenwalt2009-12-071-7/+21
|/ | | | | | | | Don't send a connectivity change notification if the change is in detailed state only. IE, Disconnect/Idle -> Disconnect/Scanning should not trigger a connection change notification. bug: 2265222
* If the usage stats file doesn't exist in the first place there is no need toSuchi Amalapurapu2009-12-041-13/+11
| | | | backup and short return.
* Merge change I79420b02 into eclairAndroid (Google) Code Review2009-12-031-3/+12
|\ | | | | | | | | * changes: Add support for Car Dock.
| * Add support for Car Dock.Jaikumar Ganesh2009-12-031-3/+12
| | | | | | | | | | Dr No: Eastham Bug: 2133530
* | Add WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR to indicate screen was ↵Mike Lockwood2009-12-031-21/+23
| | | | | | | | | | | | | | | | | | turned off by the proximity sensor. Part of a fix for bug b/2300622 (Proximity sensor always blows up the lock screen while in call) Change-Id: I9ef888638b19540a78a34507d52ff522f505102f Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Make the notification panel send the position as well.Joe Onorato2009-12-021-1/+7
| |
* | Fix issue #2300232: Bugs in resolving conflicting pointersDianne Hackborn2009-12-021-2/+5
|/ | | | Change-Id: I7b9328c7a1c4f6b731e64cdca2ed9de71b84587f
* Implement new notification LED blinking logic:Mike Lockwood2009-12-021-9/+39
| | | | | | | | | | | 1) Do not pulse notification LED when screen is on. 2) Pulse once on new notification if Settings.System.NOTIFICATION_LIGHT_PULSE is false, otherwise pulse persistently while screen is off. Fixes part of bug b/2238250 (trackball should pulse occasionally to indicate new email) Change-Id: Icc49422a4e9d14412fc159a8e2596503a85bac51 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Fix issue #2296457: PackageManager.addPackageToPreferred needs to a no-opDianne Hackborn2009-12-011-123/+4
| | | | Change-Id: I0d8f75938226e1bb49cf7b1154445631b0bb0bc9
* Merge change I2b7c8a32 into eclairAndroid (Google) Code Review2009-11-301-1/+3
|\ | | | | | | | | * changes: Fix more of bug 2290852: Don't wake screen when bluetooth headset is connected or disconnected.
| * Fix more of bug 2290852: Don't wake screen when bluetooth headset is ↵Mike Lockwood2009-11-301-1/+3
| | | | | | | | | | | | | | | | | | connected or disconnected. This fixes another case where the screen would turn on when the keyguard is open but hidden by another activity. Change-Id: I2b7c8a329036401709e96ded4f4c138041192a71 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Fix issue 2192673: Music Pausing Even when notifications are set to silent.Eric Laurent2009-11-271-8/+13
|/ | | | Do not play ringtones, notifications or camera sounds if ringer mode is silent.
* Finish fixing issue #2228381: android.view.InflateException...Dianne Hackborn2009-11-241-13/+24
| | | | | | | | | | | | | | | | | | ...Binary XML file line #37: Error inflating class <unknown> after adding a secondary account The problem was that we weren't dealing well with the situation where we start a transition from activity A to B, then transition back to A before B is shown (it finishes before being shown), then transition from A to C. At this point we had some state showing that we were in the process of showing A from it being hidden (due to the middle transition from B to A), which would cause the layout pass to ensure its window is hidden before the transition starts. The solution is to detect the case where we are showing a token and it is already actually shown, and in this case not do all of the token setup for it to wait for its windows to be displayed before it is shown. This isn't needed, the windows are already displayed or the token is already set up to wait for them to be displayed. Change-Id: I16925b91e1e2449dd65ade162a5758173c6e2695
* Fix issue #2281046: Size and pressure don't changeDianne Hackborn2009-11-231-0/+4
| | | | Change-Id: Iadc1d438a494bb1495ee6d93d0dd3b4a491a378f
* Add logging of headset events to help debug issue.Eric Olsen2009-11-231-1/+1
| | | | Signed-off-by: Eric Olsen <eolsen@android.com>
* Merge change I2083b297 into eclairAndroid (Google) Code Review2009-11-231-46/+56
|\ | | | | | | | | * changes: Fix issue 2265111: Loss of downlink audio while listening, and get a MT call.
| * Fix issue 2265111: Loss of downlink audio while listening, and get a MT call.Eric Laurent2009-11-201-46/+56
| | | | | | | | | | | | | | | | | | | | | | The cause of the problem is that under certain circumstance the HeadsetObserver receives unexpected connection events. For instance, when removing a bad quality 3.5mm stereo jack without mic the following events can be received: 1 connection of a headset with mic 2 removal of a headset with mic. The result is that the no mic headset is never disconnected and audio policy manager considers it is still present. Then the music or downlink call audio is always routed to headset even if none is connected giving the impression that audio is lost, except whne you reconnect a headset of enable speaker phone. The fix consists in adding more checks in HeadsetObserver to reject illegal transitions in headset state received from event observer.
* | Fix issue #2267665 IME keyboard appears as Blank in compose view...Dianne Hackborn2009-11-231-1/+6
| | | | | | | | | | | | | | ...if you re-lunch messaging application after deleting the character and pressing home key Change-Id: Idc7da05e54730958644e80069764237e5db6f288
* | Fix deadlock in WindowManagerService.reenableKeyguard()Mike Lockwood2009-11-221-19/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If reenableKeyguard() is called before the previous disableKeyguard() call is processed, then TokenWatcher.sendNotificationLocked() will cancel the request, resulting in neither the TokenWatcher acquired() or released() methods being called. In that case, reenableKeyguard() will hang waiting for released() to set mWaitingUntilKeyguardReenabled to false. Now we only wait in reenableKeyguard() if the TokenWatcher acquired() method is called and the keyguard has actually been disabled. This should fix bug b/2270192 Change-Id: Id886fb28df607dbb4543124f2db6997121d6a682 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | AlarmManagerService: Fix daylight savings time offset computationMike Lockwood2009-11-201-2/+6
|/ | | | | | | Fixes b/2244560 (Time Stamp On Bug Reports And Pictures Is One Hour Off) Change-Id: I69324a33f80e41ce68a0e6fdba08b80ed9453e19 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Merge change I813fdb7a into eclairAndroid (Google) Code Review2009-11-181-6/+12
|\ | | | | | | | | * changes: Fixes for proximity sensor behavior:
| * Fixes for proximity sensor behavior:Mike Lockwood2009-11-181-6/+12
| | | | | | | | | | | | | | | | | | | | Add optional flag to Wakelock.release() to specify whether we should wait for proximity sensor to go negative before turning on the screen. Clear the "waiting for proximity sensor to go negative" state when the power key is pressed. Part of the fix for b/2243198 (Black screen lockup after ending call) Change-Id: I813fdb7aa4192cd3384a25be9e59d7d4b90da53a Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Fix issue #2249821: Unable to start passion in safe modeDianne Hackborn2009-11-182-0/+100
|/ | | | | | | | Holding down the trackball now works. Also fix a little API check warning from Intent. Change-Id: Icb1f901535cb521917bf7f847a93c4ff7861d20e
* Fix bug 2252145 - Notification panel not closing completely when a call comes inJoe Onorato2009-11-171-10/+8
|
* Revert "PowerManagerService: enable logging for when mPowerState changes."Mike Lockwood2009-11-161-1/+1
| | | | | | This reverts commit 24ace3395b532e3cbb63d2a6197a91dd9242bb36. Bug b/2265538 (verbose logging from power manager)
* Merge change Ia428b2c2 into eclairAndroid (Google) Code Review2009-11-161-31/+79
|\ | | | | | | | | * changes: This time for sure: make wallpapers work