summaryrefslogtreecommitdiffstats
path: root/services/java
Commit message (Collapse)AuthorAgeFilesLines
* Remove a workaround for the data inconsistency of SystemPropertiessatok2011-03-141-17/+0
| | | | | | | | | | Bug: 3473532 Reverting: Ie3f5b484b5574e10a4 Depends on Bug: 3511230 This must be fixed before submitting this CL. Change-Id: I435a294a818bec5675f0ada00d81c1b3e37d1dce
* Merge "Backup and restore IP and proxy settings" into honeycomb-mr1Irfan Sheriff2011-03-141-4/+10
|\
| * Backup and restore IP and proxy settingsIrfan Sheriff2011-03-101-4/+10
| | | | | | | | | | Bug: 4081954 Change-Id: I27266637c6ade0c5c8242792176d1edae0983446
* | Add a dialog to ask user to start an application for a USB device or accessoryMike Lockwood2011-03-131-6/+20
| | | | | | | | | | | | | | | | | | | | | | This is used when there is only one application available and the user has not chosen to start it by default. If more than one application is available we continue to use UsbResolverActivity Bug: 4074719 Change-Id: Id61f2ccc6de5b9ac70fb4670006ff1fee2028d55 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge "Clear default for USB device/accessory when new matching app is ↵Mike Lockwood2011-03-111-13/+123
|\ \ | | | | | | | | | installed" into honeycomb-mr1
| * | Clear default for USB device/accessory when new matching app is installedMike Lockwood2011-03-111-13/+123
| | | | | | | | | | | | | | | | | | | | | Bug: 4063041 Change-Id: Ia1b4f29d3e54ec21aa64407720d9d5db62855380 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge "Fix issue #4084124: Wingray Often see black screen after market ANR ↵Dianne Hackborn2011-03-111-5/+12
|\ \ \ | | | | | | | | | | | | due to 4084121" into honeycomb-mr1
| * | | Fix issue #4084124: Wingray Often see black screen after market ANR due to ↵Dianne Hackborn2011-03-101-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4084121 Need to resume the top activity after force removing a crashing app's activities. Change-Id: Id3384b2aa73039a9b1e72c2201d3ab0ef5b4f61f
* | | | Merge "Fix issue #4081756: Crash when un-stopping applications" into ↵Dianne Hackborn2011-03-112-0/+21
|\ \ \ \ | |/ / / | | / / | |/ / |/| | honeycomb-mr1
| * | Fix issue #4081756: Crash when un-stopping applicationsDianne Hackborn2011-03-102-0/+21
| | | | | | | | | | | | Change-Id: Ifc23481f8feaeacb410375eefd015ebdb997e39c
* | | Support for USB accessory URIsMike Lockwood2011-03-101-5/+24
|/ / | | | | | | | | | | | | | | | | | | | | If a USB accessory is attached and we have no application that supports it, display a dialog offering the user the option to visit the accessory's website if the accessory has a URI. Bug: 4073248 Change-Id: I30e2a802493fb6e203532a7f79402379c40bc3b8 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge "UsbAccessory: Add URI string, replace type string with description" ↵Mike Lockwood2011-03-101-18/+3
|\ \ | | | | | | | | | into honeycomb-mr1
| * | UsbAccessory: Add URI string, replace type string with descriptionMike Lockwood2011-03-091-18/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a first step toward adding USB accessory URI support BUG: 4073248 Modified USB accessory matching logic to look only at manufacturer, model and version (description and URI are not considered when matching apps to accessories) Also added test for USB accessory protocol version to accessorytest BUG: 4080288 Change-Id: I992a3433c74efa7a7db37bf030f02c1f0c92f9e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge changes Ifd78cca3,Ieadb86fe,If5b44ebd into honeycomb-mr1Mike Lockwood2011-03-091-4/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | * changes: MTP: Convert date created and modified values from seconds to milliseconds Update USB accessory compatibility library to support new requestPermission API UsbService: Don't require permissions for UsbManager.getCurrentAccessory()
| * | UsbService: Don't require permissions for UsbManager.getCurrentAccessory()Mike Lockwood2011-03-091-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Permission check should only happen in openAccessory() Otherwise an application will not be able to check for the current accessory and ask for permissions (if it is a suitable match for the application) BUG: 4069037 Change-Id: If5b44ebda2e8077598d96629163cc74aa336589e Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge "Fix 4027057: Improve resolution of RecentApps thumbnail images." into ↵Jim Miller2011-03-091-14/+14
|\ \ \ | |_|/ |/| | | | | honeycomb-mr1
| * | Fix 4027057: Improve resolution of RecentApps thumbnail images.Jim Miller2011-03-081-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix ensures captured thumbnails in portrait mode have the same resolution as those in landscape by fixing the horizontal resolution and vertical resolution of the target image. The returned image is now always the same size and matches the landscape screen exactly. In portrait mode, it grabs the upper portion of the screen based on the vertical dimension of the target image. Change-Id: I203c39843f2f21ca28f6ef0dffec308ce5cb39fb
* | | Merge "Change UsbManager.requestPermission to only grant permission ↵Mike Lockwood2011-03-092-186/+69
|\ \ \ | | |/ | |/| | | | temporarily" into honeycomb-mr1
| * | Change UsbManager.requestPermission to only grant permission temporarilyMike Lockwood2011-03-092-186/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user approves an application to access a USB device or accessory without choosing it as the default application, then permission is granted only until the device or accessory is disconnected. Only applications chosen as the default choice have permissions assigned persistently. BUG: 4061035 Change-Id: Ic4f6271a91b2fc56bbeef82c579e26d88c63ae56 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge "Persist wifi override in airplane mode" into honeycomb-mr1Irfan Sheriff2011-03-091-26/+43
|\ \ \ | |/ / |/| |
| * | Persist wifi override in airplane modeIrfan Sheriff2011-03-081-26/+43
| | | | | | | | | | | | | | | | | | | | | | | | Persist the setting of wifi override in airplane mode so that it can be restored on reboot Bug: 3250824 Change-Id: I2af38c282ba55fc150fd9ef783d43600f0d4260f
* | | Merge changes Ib517e5e4,I93be7695,I49bf22a4 into honeycomb-mr1Mike Lockwood2011-03-093-168/+175
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Close USB dialogs if their corresponding accessory or device has disconnected USB: Add API and dialog for apps to request permissions for USB devices and accessories UsbService: Automatically use system apps by default if it is the only choice
| * | | USB: Add API and dialog for apps to request permissions for USB devices and ↵Mike Lockwood2011-03-083-116/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accessories New APIs: UsbManager.hasPermission returns true if the caller has permission for the given device or accessory UsbManager.requestPermission poses a dialog to allow the user to give the caller permission for the device or accessory. Result is returned via a PendingIntent. No dialog is displayed if the caller already has permission. Also moved UsbResolverActivity to SystemUI package BUG: 4069037 Change-Id: I93be769501a8776b49ac26e468af19f8fa2114c9
| * | | UsbService: Automatically use system apps by default if it is the only choiceMike Lockwood2011-03-081-56/+60
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | If only one app is installed that supports a USB device or accessory and that app is in the system partition, then use that activity by default and rather than displaying the USB app chooser dialog. BUG: 4060064 Change-Id: I49bf22a439e9676039b6f612c9bb622ab426066c Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge "Fix 4025684: Don't include wallpaper dimensions in bounds ↵Jim Miller2011-03-081-7/+11
|\ \ \ | | | | | | | | | | | | calculation" into honeycomb-mr1
| * | | Fix 4025684: Don't include wallpaper dimensions in bounds calculationJim Miller2011-03-081-7/+11
| |/ / | | | | | | | | | | | | | | | | | | This fixes a bug where we would capture the statusbar region in thumbnails because the wallpaper was used in the bounds calculation. Change-Id: I572221e83c4c363afe90e59bece9a291ce694a15
* | | Fix issue #3505861: Need to decide large/xlarge screen size limitsDianne Hackborn2011-03-081-6/+7
|/ / | | | | | | | | | | Decided. Change-Id: I8292d65e3d47755778fdf85207c49f160c756452
* | Merge "Fix the sort order of the input methods & subtypes in the settings." ↵Ken Wakasa2011-03-041-12/+34
|\ \ | | | | | | | | | into honeycomb-mr1
| * | Fix the sort order of the input methods & subtypes in the settings.Ken Wakasa2011-03-041-12/+34
| | | | | | | | | | | | | | | | | | | | | It should have been the same as how the IME switcher panel does. bug: 3364167 Change-Id: I48b98c9c4598720edf7cf09d1b9358a9ebed6051
* | | Refector preferred activity code out of package manager.Dianne Hackborn2011-03-042-169/+249
| | | | | | | | | | | | | | | | | | This may be useful for others... such as USB preferred devices, maybe? Change-Id: I204081e2c84ccff6982a500baaf3540a80839a4b
* | | Merge "Fix Fragment.onInflate() to actually work correctly." into honeycomb-mr1Dianne Hackborn2011-03-031-0/+2
|\ \ \ | |/ / |/| |
| * | Fix Fragment.onInflate() to actually work correctly.Dianne Hackborn2011-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like, um, it needs to be given the Activity since this is called before the activity is attached. And it was called after the entire fragment and its *view* was created when being restored from saved state. And the documentation was whacked. Also fix the IME selector to dismiss when you tap outside of it. Change-Id: Icbcafe7558965a570bdef9cda3441b1f0f7a317c
* | | Merge "Propagating core settings to the system process." into honeycomb-mr1Svetoslav Ganov2011-03-031-3/+7
|\ \ \
| * | | Propagating core settings to the system process.Svetoslav Ganov2011-03-031-3/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:3511123 Now the core settins are stored in the ActivityThread instad in the AppBindData of the currently bound app. Also the settings are pushed to the system process on init. Change-Id: I100bb7dc80d0d4548def22c328427bbef1694eb7
* | | Merge "set max_events_per_sec to 55" into honeycomb-mr1Rebecca Schultz Zavin2011-03-031-1/+1
|\ \ \
| * | | set max_events_per_sec to 55makarand.karvekar2011-03-031-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | reduce touch lag. no Dispatcher fix w/throttle at 60: 75.9ms (range is 71.4ms - 80.1ms) InputDispatcher fix w/throttle at 60: 49.0ms (range is 38.1ms - 66.7ms) InputDispatcher fix w/throttle at 55: 41.2ms (range is 28.6ms - 66.7ms) Change-Id: I76c0ba83abcd6a3d408a29ec76997a2e07e48a70 Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
* | | Merge "Don't spuriously time out restore sessions" into honeycomb-mr1Christopher Tate2011-03-031-0/+4
|\ \ \
| * | | Don't spuriously time out restore sessionsChristopher Tate2011-03-031-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a restore set lookup took a long time, the client's restore session could be declared timed out even though the client was not at fault. Handle this properly by resetting the timeout clock when control of the session is returned to the client. Bug 3477324 Change-Id: I43afaf1063e8e706ef16b70be77f9eeeea6a321f
* | | Merge "Append IME's name to the subtype name in the "Select input method" ↵Ken Wakasa2011-03-031-3/+4
|\ \ \ | |/ / |/| | | | | dialog" into honeycomb-mr1
| * | Append IME's name to the subtype name in the "Select input method" dialogKen Wakasa2011-03-041-3/+4
| |/ | | | | | | | | bug: 3364167 Change-Id: I79b5435ec457e9e71ae69dbfaad8e719db6ff6d3
* | DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN ↵Wink Saville2011-03-031-27/+18
|/ | | | | | | | support and IPV6 support" This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82. Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
* Merge "Fix issue #3485923: Gmail crash"Dianne Hackborn2011-03-025-13/+42
|\
| * Fix issue #3485923: Gmail crashDianne Hackborn2011-03-025-13/+42
| | | | | | | | | | | | | | Allow application to try to recover if a surface OOM error happens on the client side. Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6
* | Merge " UsbManager: Don't display activity picker if there are no apps ↵Mike Lockwood2011-03-021-1/+4
|\ \ | | | | | | | | | available for an accessory"
| * | UsbManager: Don't display activity picker if there are no apps available ↵Mike Lockwood2011-03-021-1/+4
| | | | | | | | | | | | | | | | | | | | | for an accessory Change-Id: I3ef569121e8d7d45584dbca9761451cbdf99a3e9 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge "Get key repeat timeout and delay from ViewConfiguration."Jeff Brown2011-03-021-1/+12
|\ \ \
| * | | Get key repeat timeout and delay from ViewConfiguration.Jeff Brown2011-03-021-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces previously hardcoded values. This ensures that key repeat takes the accessibility long press timeout setting into account. Unfortunately the system must be rebooted for the change to take effect. We will fix that later. Change-Id: I3ab70bb037331620b7e532170c1727287b5c6f91
* | | | Merge "UsbManager: Don't display activity picker if there are no apps ↵Mike Lockwood2011-03-021-1/+4
|\ \ \ \ | |/ / / |/| / / | |/ / available for a device"
| * | UsbManager: Don't display activity picker if there are no apps available for ↵Mike Lockwood2011-03-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | a device BUG: 3506988 Change-Id: Iaf3c50b9ba422e6bcd687338db996a4193441c97 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge "Wake screen from external HID peripherals."Jeff Brown2011-03-022-2/+15
|\ \ \