summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Control H icon display in Status bar.John Wang2009-10-081-1/+14
| | | | | Bug 2138275. Add a config setting to control if status bar should show different icons for UMTS and HSPA connnection.
* Merge change I50a321c9 into eclairAndroid (Google) Code Review2009-10-081-1/+12
|\ | | | | | | | | * changes: LocationManagerService: Fix race when removing LocationListener
| * LocationManagerService: Fix race when removing LocationListenerJoshua Bartel2009-10-081-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In LocationManagerService if a LocationListener is removed while it has a pending broadcast the wake lock held while pending broadcasts are outstanding do not get cleared properly. There are 2 cases of this race that are fixed: 1. locationCallbackFinished was changed to check the mReceivers HashMap directly instead of calling getReceiver. getReceiver would add the ILocationListener as a new Receiver if it did not exist which caused a receiver that was removed when it still had a broadcast pending to be added back in a bad state when the pending broadcast completed. 2. removeUpdatesLocked was changed to decrement the pending broadcasts when a Receiver is removed that has pending broadcasts. Fixes bug b/2163871 Change-Id: I50a321c9b3359bf69845236dc4a4b9e38e847335 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | More fix #2163209: alarm clock rings but is hidden behind lock screenDianne Hackborn2009-10-071-0/+15
|/ | | | | | | | There was another way we could ignore the application windows flags while the lock screen was displayed. This is the infrastructure to deal with that. Change-Id: Id8c9cb2f7081df6757ccb797a7cde618e82f7b38
* am 3161795b: when logging free space on /data, log /system and /cache as wellDoug Zongker2009-10-071-39/+65
|\ | | | | | | | | | | | | Merge commit '3161795b2353171bb0636fb3ea6dab7dec80a4f4' into eclair * commit '3161795b2353171bb0636fb3ea6dab7dec80a4f4': when logging free space on /data, log /system and /cache as well
| * when logging free space on /data, log /system and /cache as wellDoug Zongker2009-10-071-39/+65
| | | | | | | | | | Report space free on system and cache so we can estimate bad block statistics for devices in the field.
* | Fix issue #2171460: Turn off background blurring of power dialogDianne Hackborn2009-10-071-5/+10
| | | | | | | | Change-Id: I521629e0ccd0116acf149eeb7476c8474fc7c74a
* | Introduce BluetoothAdapter.getDefaultAdapter().Nick Pelly2009-10-082-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This is the main entry point to the Bluetooth APIs, and returns the default local Bluetooth adapter. It replaces context.getSystemService(Context.BLUETOOTH_SERVICE). This was never in a public SDK release. DrNo: eastham Bug: 2158765 Joke: Why can't you play cards in the jungle? Because there's too many cheetas! Change-Id: Ieed8be009ee5aba621cb69090ee8c8a9c19c840d
* | Fix issue #2163654: deadlock, runtime restartDianne Hackborn2009-10-072-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | Don't hold a lock when the activity thread is telling the activity manager to release a provider. This requires that the activity manager now keep a reference count on the providers, because without the lock it is possible for activity thread to call in to request the provider again before it has finished telling about the release. Change-Id: I5f912903891f4edae85e28819d4e6f14b8f2e688
* | Turn some logging back on in ConnectionManagerRobert Greenwalt2009-10-061-15/+1
| | | | | | | | | | | | Trimmed a bunch of logging out, but turned it on so we get the critical stuff. bug: 2168291
* | Make sdk version and code names static finals in PackageParser.Suchi Amalapurapu2009-10-061-2/+0
| | | | | | | | | | Remove api to set these values. Remove an unused method in AppSecurityPermissions
* | Fix issue #2166755: BroadcastReceiver trying to return result during a ↵Dianne Hackborn2009-10-053-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | non-ordered broadcast Tell the broadcast receiver whether it is getting an initial sticky value, so it will be quiet about attempts to do ordered broadcast stuff. Note that the original bug being reported was not actually a crash, just an error log. So all we are doing here is making the log quieter. Change-Id: Iaf1b718d82093ec1197142410a64feff47eb3859
* | Fix issue #2161169: onStop not being called.Dianne Hackborn2009-10-051-1/+0
| | | | | | | | | | | | | | | | | | | | There was a bug with the starting window where it could be added to the app window list twice, so the buddy list would end up with one left over after all was done. This would result in visibility changes not being delivered to it correctly, delaying the dispatch of onStop. Change-Id: If1993eaf9cfbba1f523ce5aaa478be0239d0c7db
* | Merge change Iaca22686 into eclairAndroid (Google) Code Review2009-10-047-14/+23
|\ \ | | | | | | | | | | | | * changes: Work on issue #2163789: Way too much logging
| * | Work on issue #2163789: Way too much loggingDianne Hackborn2009-10-047-14/+23
| | | | | | | | | | | | | | | | | | Dr.No from mcleron. Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311
* | | Fix issue #2161726: Car dock app bypasses setup wizardDianne Hackborn2009-10-021-16/+7
|/ / | | | | | | | | | | | | We now just don't send out dock broadcasts/launches when the device is not provisioned. Good enough for our purposes. Change-Id: Iee6384121675e0e9854745ec1168245e8a23a241
* | Prevents the WindowManager from requesting empty or negative surfaces.Romain Guy2009-10-011-0/+5
| | | | | | | | | | | | | | | | | | | | Windows with a negative Y position can end up in createSurfaceLocked() with mFrame containing a negative height, causing SurfaceFlinger to go crazy when asked to create the surface. This change simply guards against such a situation by instead asking for a 1x1 surface and relying or later layout operations to resize the window to the appropriate size. Change-Id: I66f2058f4cd1cf069b12d3d23e6fd340dc76b74e
* | Semi-workaround for #2027266: app drawer showing up on the side of the screenDianne Hackborn2009-09-301-5/+15
| | | | | | | | | | | | | | | | | | | | (when booted while docked) This isn't really a fix, but we now have the activity report the configuration it actually launched in, so the activity manager will later adjust it if needed. Should help us recover from hitting the race in this particular case. Change-Id: I3bb83a48c2d692b4cb1822d8ae7d924cfa9187b2
* | Reduce the ConnectivityManager logging.Robert Greenwalt2009-09-301-8/+9
| | | | | | | | Same great info, just fewer chars.
* | Merge change I94132420 into eclairAndroid (Google) Code Review2009-10-011-73/+118
|\ \ | | | | | | | | | | | | * changes: Fix network-feature timeout code.
| * | Fix network-feature timeout code.Robert Greenwalt2009-09-291-73/+118
| | | | | | | | | | | | | | | | | | | | | Track requests independently with seperate timers. Clean up on expiration by just stopping that particular request, not immediately restoring the default. bug: 2127590
* | | Merge change Id93f4c9e into eclairAndroid (Google) Code Review2009-09-301-3/+3
|\ \ \ | | | | | | | | | | | | | | | | * changes: Turn off the last of the STOPSHIP verbose debugging
| * | | Turn off the last of the STOPSHIP verbose debuggingChristopher Tate2009-09-301-3/+3
| | | | | | | | | | | | | | | | Change-Id: Id93f4c9e9fb8468a554ae1e5c5c767f72903662c
* | | | Merge change Ic7e251a7 into eclairAndroid (Google) Code Review2009-09-301-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: Update SD card notification icons.
| * | | Update SD card notification icons.Mike Lockwood2009-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop using SIM card icons for USB notifications Fixes b/1700510 Change-Id: Ic7e251a7ecad3ed46044181eae41481791df85bd Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | Turn off most of the backup-related debug loggingChristopher Tate2009-09-301-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The core logging in BackupManagerService and in the Google backup transport are still enabled at this point. Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
* | | | Merge change Ice5e9209 into eclairAndroid (Google) Code Review2009-09-301-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix issue #2150258: Suggestions become inactive and do not respond when pressed.
| * | | | Fix issue #2150258: Suggestions become inactive and do not respond when pressed.Dianne Hackborn2009-09-301-2/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Ice5e920998fbe7eb1862f0ee7dca99876482b659
* | | | | Check if rename of backed up file fails before persisting new changes.Suchi Amalapurapu2009-09-303-7/+19
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If not these system services will end up with inconsistent settings files when the device runs out of storage. Delete mangled settings file in PackageManager if the current write fails so that we don't end up overwriting the backed up version with the mangled version Include null check when retrieving fwd locked resource for an existing package
* | | | Fix issue #2154794: Force close when start facebook application.Dianne Hackborn2009-09-303-54/+115
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think when we were scanning the updated app in the system image, from an older version on the data partition, we were not setting the existing package to have the system flag, so not auto-granting any new permissions. This also includes some other cleanup in the package manager to remove old files in various places, and tighten up logging. Also similar logging cleanup elsewhere. Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
* | | Merge change I852f8e46 into eclairAndroid (Google) Code Review2009-09-301-180/+147
|\ \ \ | | | | | | | | | | | | | | | | * changes: Only re-initialize backup state if @pm@ metadata is missing, to defensively work around a still-mysterious bug where the list of saved packages ends up being empty even though we still have state pending. If we do re-initialize, then wipe all state to make sure the right thing happens.
| * | | Only re-initialize backup state if @pm@ metadata is missing,Dan Egnor2009-09-301-180/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to defensively work around a still-mysterious bug where the list of saved packages ends up being empty even though we still have state pending. If we do re-initialize, then wipe all state to make sure the right thing happens. Don't keep open journal files -- close them after every update. A bit less efficient, but possibly more reliable (again, this is defensive programming here). Also change "rwd" to "rws" mode for fully synchronous operation.
* | | | Debugging for #2027266: app drawer showing up on the sideDianne Hackborn2009-09-301-11/+26
|/ / / | | | | | | | | | | | | | | | Nothing fixed, but this tells us what is going on. Change-Id: I174d16a3864af2fa235e8cc7b1e74d32a375fb42
* | | Merge change Ia54b1bf0 into eclairAndroid (Google) Code Review2009-09-301-0/+1
|\ \ \ | | | | | | | | | | | | | | | | * changes: - make SyncManager get the accounts list during the constructor, which will allow syncs to be scheduled during bootup. The providers need this so that they can potentially schedule syncs while they are starting up. - make the SyncManager message handler wait until boot has completed to start dispatching messages
| * | | - make SyncManager get the accounts list during the constructor,Fred Quintana2009-09-301-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | which will allow syncs to be scheduled during bootup. The providers need this so that they can potentially schedule syncs while they are starting up. - make the SyncManager message handler wait until boot has completed to start dispatching messages
* | | Add a delay to wifi driver stop on screen off.Robert Greenwalt2009-09-301-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | We already had a delay if we were associated, but we have some race conditions we think will be masked if we delay the driver stop for the other cases too. Don't wait as long (2 min instead of 15). bug: 2147260
* | | Better event log tracking for initializeDevice() requests --Dan Egnor2009-09-291-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | on success, record "backup_initialize" event; on failure, record "backup_transport_failure" event (and add tags to "backup_transport_failure" events that aren't associated with a particular package -- namely "(initialize)" and "(finish)").
* | | Add more useful-for-debug info to 'dumpsys backup'Christopher Tate2009-09-291-5/+26
| | | | | | | | | | | | Change-Id: I52e20bac01ff63feaf28920a79311881992293a3
* | | Remove DEBUG-only logging in metadata backup agentChristopher Tate2009-09-291-7/+3
|/ / | | | | | | Change-Id: Ia75da053463249597b91ba629fd7a663cab1a07c
* | Merge change I27009b08 into eclairAndroid (Google) Code Review2009-09-291-4/+4
|\ \ | | | | | | | | | | | | * changes: Fix EVDO SNR signal bar calculation
| * | Fix EVDO SNR signal bar calculationJohn Michelau2009-09-281-4/+4
| | | | | | | | | | | | | | | Bug: 2149249 Change-Id: I27009b083fab7a8cae7d3b74046f50235458dde0
* | | Fix issue #2149126: unable to answer incoming call, various problemsDianne Hackborn2009-09-281-5/+8
| | | | | | | | | | | | | | | | | | | | | Now that we can have a non-app-window cross-wallpaper animation, we need to make sure to not access a null app token. Change-Id: Ia00debd4b2b431d15bd074927a9035e1bc0a6445
* | | Disable keyguard while docked when the lock screen is insecure.Mike Lockwood2009-09-282-4/+31
| | | | | | | | | | | | | | | Change-Id: If6e11bb49a2cbbe904517e6037d1e8b99fe2717c Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Fix issue #2149145: Safe Mode does not work on Sholes deviceDianne Hackborn2009-09-284-13/+70
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The APIs for checking whether keys are held down now also look at virtual keys. However it turns out there is less than a second between the time we start the input thread and check for safe mode, so there is not enough time to actually open all of the devices and get the data from them about the finger being down to determine if a virtual key is down. So now you can also hold DPAD center, trackball center, or s to enter safe mode. Also give some vibrator feedback. Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
* | Merge change 27325 into eclairAndroid (Google) Code Review2009-09-271-0/+9
|\ \ | | | | | | | | | | | | * changes: Don't forget to clear "backup in progress" state when finishing a pass
| * | Don't forget to clear "backup in progress" state when finishing a passChristopher Tate2009-09-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a backup pass had been skipped (either because the transport was unavailable or -- in a common case! -- because there was simply no work pending when the periodic backup check fired), we were forgetting to reset the "backup currently in progress" flag. Once we'd done that, the device would *NEVER* perform a backup until it was rebooted, since it would forever think that there was one currently in operation that must not be interfered with. Change-Id: I0d6d7375dc6de99b599222a449934e70fe13ebb9
* | | Merge change 27291 into eclairAndroid (Google) Code Review2009-09-271-11/+20
|\ \ \ | |/ / |/| | | | | | | | * changes: Fix issue #2148939: Sholes slow to wake up in landscape mode
| * | Fix issue #2148939: Sholes slow to wake up in landscape modeDianne Hackborn2009-09-271-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was introduced when I did the fading of the lock screen, which relies on setting the policy visibility of the windows behind it to be hidden. As a result, when the orientation changed or the activity was restarted, they wouldn't be resized or reported as drawn, and the activity manager would wait until its timeout before unfreezing the screen. We now have a new method on WindowState to find out if a window has drawn itself, which is used in the appropriate places. Change-Id: If05f8b1947d3029917f62ad0f89b43544bd0a4dc
* | | BatteryService: Specify low battery levels in resources.Mike Lockwood2009-09-272-13/+18
|/ / | | | | | | | | | | | | | | | | | | Also trigger low battery when battery reaches the specified level rather than when it drops below the level. Fixes bug b/1788656 Change-Id: I81f5cbb9892fc6574320d92e153211f83c69f415 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | The touch screen is probably a feature.Dianne Hackborn2009-09-261-0/+6
| | | | | | | | | | | | Also extend the feature APIs a bit. Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d