summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "StrictMode: class instance limits (track object "leaks")" into honeycombBrad Fitzpatrick2011-01-191-0/+3
|\
| * StrictMode: class instance limits (track object "leaks")Brad Fitzpatrick2011-01-191-0/+3
| | | | | | | | Change-Id: I2db5a19060c2013078feb88a91caf655469b2f98
* | Fix a couple of drag & drop crashesChristopher Tate2011-01-191-1/+1
|/ | | | | | | | | | | | | | 1. ViewGroups being removed from the layout during a drag would wind up crashing the app with an NPE at drag-ended time, due to blind dereference of now-cleared object pointers. 2. Passing a 'null' ClipData to startDrag() would crash the system process with an NPE. Should this even be valid? I'm inclined to say yes, though it means that apps will need to guard against it. Fixes bug 3369542 Change-Id: I168fc1284d6fd4403999946609725414cf254df0
* Merge "Tentative fix for issue 3362362." into honeycombEric Laurent2011-01-193-31/+57
|\
| * Tentative fix for issue 3362362.Eric Laurent2011-01-193-31/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is likely that one method is called on the AudioPolicyManagerBase instance while it is still being constructed by AudioPolicyService. To avoid this, the AudioPolicyService mutex is held by the constructor until the platform specific AudioPolicyManager is constructed and the member mpPolicyManager initialized. Also added an initCheck() method to AudioPolicyInterface to verify successful initialization of AudioPolicyManager. A similar change is done in AudioFlinger constructor. Also added some missing protections in AudioFlinger methods where the playback thread list is parsed. Change-Id: I006b244ec057e1bb0aa5ebe426ef006e3b171056
* | Disabling queued unbinding of RemoteViewsServices until we fix flashing in ↵Winson Chung2011-01-191-1/+1
| | | | | | | | | | | | widgets. Change-Id: Iee53d4930dc4007df4298a282cdd5101876215a1
* | Refactoring app widgets to address security/performance issues.Winson Chung2011-01-181-18/+150
| | | | | | | | | | | | | | - Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services - Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
* | Just a little 'ol activity manager permission change.Dianne Hackborn2011-01-182-37/+83
|/ | | | | | | | | | | | We no longer enforce permissions for applications that are accessing their own components. This allows an application to require a permission on one of its components that it does not itself have. This is useful for example with the new advanced widgets, which require a system-only permission on the implementing service to ensure the app's data stays private but it is nice to allow the application to still touch its own widget service. Change-Id: I5d61930a083816919545870039ad191314ed48c6
* Merge "Filter virtual keys after touches." into honeycombJeff Brown2011-01-185-3/+113
|\
| * Filter virtual keys after touches.Jeff Brown2011-01-185-3/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new virtualKeyQuietTimeMillis configuration resource that sets the duration for which virtual keys will be dropped after recent touches on screen. The default value is 0; it is intended to be overridden per device using a resource overlay. This change is designed to help in two cases: 1. Swipes from touchscreen into virtual key area. 2. Accidental taps in virtual key area while using on-screen keyboard. Bug: 3089163 Change-Id: Ib912d4f8a4df9966a39cd537d3ec7c24afab7225
* | Erase OBB files when removing packagesKenny Root2011-01-181-3/+12
| | | | | | | | | | | | | | | | OBB files on USB storage or SD card should be removed when an application is removed. Bug: 3356804 Change-Id: Ifbbf043368b125fcd47fd74e5cd2e5167a8deb00
* | Merge "Fix issue #3362666 Activities launched from ongoing notifications ↵Dianne Hackborn2011-01-181-6/+13
|\ \ | | | | | | | | | don't animate" into honeycomb
| * | Fix issue #3362666 Activities launched from ongoing notifications don't animateDianne Hackborn2011-01-181-6/+13
| | | | | | | | | | | | | | | | | | | | | The phone-oriented code for turning off animations when the screen is entirely covered by the status bar was not appropriate for the tablet. Change-Id: Ica3e0db989f16b9187eacd6ecf4ac3d17661dd6d
* | | Prevent Dropbox from crashing system server pre-boot.Brad Fitzpatrick2011-01-181-1/+16
| | | | | | | | | | | | | | | Bug: 3362748 Change-Id: I3f94f22798eb4a6ef14dd9a418fd3c054637e16b
* | | Merge "Fix the algorithm to get current input method subtype considering ↵satok2011-01-171-7/+21
|\ \ \ | |/ / |/| | | | | explicitly and implicitly enabled subtypes." into honeycomb
| * | Fix the algorithm to get current input method subtype considering explicitly ↵satok2011-01-181-7/+21
| | | | | | | | | | | | | | | | | | and implicitly enabled subtypes. Change-Id: I2e6d9ae36a1335f67b6db7659244cdfb2bfe3068
* | | Fix a bunch of API review bugs.Dianne Hackborn2011-01-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3362464 API REVIEW: android.content potpourri 3362445 API REVIEW: Fragment transaction stuff 3362428 API REVIEW: Fragment stuff 3362418 API REVIEW: Loader stuff 3362414 API REVIEW: android.content.pm.ActivityInfo Change-Id: I6475421a4735759b458acb67df4380cc6234f147
* | | Mouse pointer tweaks.Jeff Brown2011-01-171-2/+10
| |/ |/| | | | | | | | | | | | | Make pointer arrow brighter. Deep copy the pointer icon bitmap since it turns out that the original shared pixels can be deleted by other code. Change-Id: I77fbf61d1dace723f3c8c9808941e9e31d8db352
* | Merge "Pick an upstream interface with valid IP config" into honeycombIrfan Sheriff2011-01-171-4/+4
|\ \
| * | Pick an upstream interface with valid IP configIrfan Sheriff2011-01-171-4/+4
| |/ | | | | | | | | | | | | | | | | As a work around for the issue of picking the wrong interface, add a check for selecting an upstream interface that has a valid IP configuration Bug: 3362306 Change-Id: I01084517cff756c97660b2cfbfa8e9bf26673148
* | UsbService: Remove stack-trace message during boot.David 'Digit' Turner2011-01-171-4/+9
| | | | | | | | | | | | | | | | | | | | | | This removes a stack trace message during the boot under emulation. The observers tried to access a null reference when no USB configuration is supported by the emulated device. So do not start them in this case. + Change a Slog.w into a Slog.i since this is an acceptable condition. Change-Id: I126b7f05c9648e39a060eb0974cc6f4ac7533791
* | Merge "Revert "Add the {get,set}PackageObbPaths calls to API"" into honeycombKenny Root2011-01-171-107/+0
|\ \
| * | Revert "Add the {get,set}PackageObbPaths calls to API"Kenny Root2011-01-171-107/+0
| | | | | | | | | | | | | | | | | | This reverts commit 5d40fe9c6846ba765072e50ed1254293cb9195e4. Change-Id: Ie41010c92fb860b19a12bcf63f6fe95ffa68da81
* | | Add internal plumbing to DPM for encryptionAndy Stadler2011-01-171-12/+89
|/ / | | | | | | | | | | | | | | | | | | | | | | * Add code to persist per-admin setting * Add hooks for OS-level tie-in (is supported, get / set status) * Add 3rd API call to get OS status (irrespective of admin settings) * Remove "REQUESTED" status, no longer relevant with 3rd API * Fixed bug that impacted global proxy settings * Update api/11.xml to match current.xml Bug: 3346770 Change-Id: I56bdf9a7894f6ca4842402c7b82ddb3caf4b37b9
* | Add OBB size to PackageStatsKenny Root2011-01-171-0/+5
|/ | | | | Bug: 3356814 Change-Id: I4f871fb9fd0cb2f3177cc756631f95d928862571
* Implicitly/Explicitly subtypes bug.satok2011-01-171-6/+6
| | | | Change-Id: I6ccc22d4272ee92c0d8ba3f3c724d8f838d51310
* Merge "SystemServer: Do not register null BlueTooth service in the emulator" ↵David 'Digit' Turner2011-01-161-4/+2
|\ | | | | | | into honeycomb
| * SystemServer: Do not register null BlueTooth service in the emulatorDavid 'Digit' Turner2011-01-171-4/+2
| | | | | | | | | | | | Because registering a null service generates an exception. See bug 3356000 Change-Id: Id7b4af815942e498d750c1b7a412d5ee26b61ad4
* | Merge "Support non-rectangular input regions." into honeycombJeff Brown2011-01-166-154/+101
|\ \
| * | Support non-rectangular input regions.Jeff Brown2011-01-166-154/+101
| | | | | | | | | | | | | | | | | | | | | | | | This enables the system bar to carve out a region through which events will be sent to the IME behind it. Bug: 3238092 Change-Id: I69b855a8d9b5b3ee525266c0861826e53e5b5028
* | | Merge "Add logs when taking a screenshot to help tracking issue 3361121" ↵Mathias Agopian2011-01-161-2/+23
|\ \ \ | | | | | | | | | | | | into honeycomb
| * | | Add logs when taking a screenshot to help tracking issue 3361121Mathias Agopian2011-01-161-2/+23
| | | | | | | | | | | | | | | | Change-Id: I61d1e072ebe7061ee1d7255f6121b684e2923d1b
* | | | Put externalSize measurements in PackageStatsKenny Root2011-01-161-10/+76
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | When measuring a package's usage, put the external size in the PackageStats as well. This will allow programs using a lot of space on the external card to be held accountable. Bug: 3308791 Change-Id: If2df07bdbf6ffb31577074fad8f4a87ca4e89086
* | | Merge "Fix WPS to provides immediate feedback" into honeycombIrfan Sheriff2011-01-161-2/+3
|\ \ \
| * | | Fix WPS to provides immediate feedbackIrfan Sheriff2011-01-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If WPS is already active, we drop user's request and convey an in progress message If WPS fails to start, a failure indication is conveyed to the user Bug: 3316078 Change-Id: I238c55973cb29cf5c1be66197ffcb4978316cb89
* | | | Add manifest API to request a large heap.Dianne Hackborn2011-01-161-15/+8
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can now do android:largeHeap="true" on an application. Doesn't yet do anything, waiting for Dalvik API. Also tweak package parsing so that the SDK API level is set in the configuration, allowing manifest resource value selection based on that. Change-Id: I6e035f9702a97b055416743b88f83a22ba4a9584
* | | Merge "partially fix [3306150] HTML5 video with H/W acceleration blackout" ↵Mathias Agopian2011-01-142-1/+19
|\ \ \ | | | | | | | | | | | | into honeycomb
| * | | partially fix [3306150] HTML5 video with H/W acceleration blackoutMathias Agopian2011-01-142-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to guarantee that a layer in SurfaceFlinger would never be destroyed before all references (to its ISurface) on the client side would be released. At some point, this guarantee got relaxed to allow to free gralloc resources sooner. This last change was incorrect, because: - in implementations with reference-counting the gralloc resources wouldn't be released anyways, until all the mapping were gone - in implementations without ref counting, the client side would most likely crash or do something bad - it also caused the SharedBufferStack slot to be reallocated to another surface, which could be problematic if the client continued to use the surface after the window manager destroyed it. So, we essentially reinstate the guarantee that layers won't be destroyed until after all references to their ISurface are released. NOTE: This doesn't entirely fix 3306150 because there is another problem there where the Browser continues to use a surface after it has been destroyed. Change-Id: I305c830dd722b30a6d53cbf3a9c714fd3cf7eb06
* | | | Merge "Add support for detecting finger orientation." into honeycombJeff Brown2011-01-142-1/+23
|\ \ \ \
| * | | | Add support for detecting finger orientation.Jeff Brown2011-01-142-1/+23
| | | | | | | | | | | | | | | | | | | | Change-Id: I901fc61f7705fcd7950190dc8782bad616032ee2
* | | | | Merge "Fix bug with mice that send multiple BTN_MOUSE values." into honeycombJeff Brown2011-01-141-3/+11
|\ \ \ \ \ | |/ / / /
| * | | | Fix bug with mice that send multiple BTN_MOUSE values.Jeff Brown2011-01-141-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some mice send different values for BTN_MOUSE key events when the button is held down (2 for repeat, instead of 1 for down). Change-Id: I803db1f1584f50f8f5e1d37b6a715e2e1b3943a6
* | | | | Merge "Add volume down as a safe mode key for Stingray." into honeycombJeff Brown2011-01-144-23/+67
|\ \ \ \ \
| * | | | | Add volume down as a safe mode key for Stingray.Jeff Brown2011-01-134-23/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a race condition during startup. We need to wait for the input devices to actually be ready before trying to detect safe mode. Fixed a problem during safe mode activation where we would try to add the overlay window but the display was not initialized. Now we do it after the system is ready. Bug: 3134825 Change-Id: I4c043c142ae6bf0d865c79d266d36154eaf00709
* | | | | | switchToLastInputMethod returns a implicitly enabled subtype in the historysatok2011-01-151-30/+56
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Bug: 3353363 Change-Id: Id5f8a62017880330401ebd3e77d943eb7817e555
* | | | | Use holo style mouse pointer.Jeff Brown2011-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I17df431075c8ffec3ade151c6c85ec34ad8397dd
* | | | | Check for null in PackageSetting constructorKenny Root2011-01-141-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should bring honeycomb into parity with gingerbread changes. Change-Id: Ieb48a0e420d4c2981130f268aba9b24f4fe25b84
* | | | | Merge "Watchdog can get deadlocked on activity manager" into honeycombBrad Fitzpatrick2011-01-141-3/+16
|\ \ \ \ \
| * | | | | Watchdog can get deadlocked on activity managerBrad Fitzpatrick2011-01-141-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3351719 Change-Id: Ie5bb39e5ff92f41c14ae59240173fab9c2491a91
* | | | | | Merge "Add the {get,set}PackageObbPaths calls to API" into honeycombKenny Root2011-01-141-14/+87
|\ \ \ \ \ \