summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Use CONNECTIVITY_INTERNAL for global proxy" into jb-mr2-devRobert Greenwalt2013-04-111-5/+10
|\
| * Use CONNECTIVITY_INTERNAL for global proxyRobert Greenwalt2013-04-101-5/+10
| | | | | | | | | | | | | | | | | | The Global http proxy shouldn't be used by apps, but can be useful in certain conditions. bug:8264794 bug:8557674 Change-Id: Ia3cbe542e448d9e74d0492626a13e9fd34ad797a
* | Sensor values changes.Jaikumar Ganesh2013-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1. Remove Sensor Event Pool. 2. Allocate fixed array values for each Sensor added. - Needed for backward compatibility. 3. Use SDK checks for backward compatibility for rotation vector. b/8165631 Change-Id: I2d2cf10d3460478ed7af8e6188343f4bb033503c
* | Merge "Don't sync from adapters that haven't opted in to restricted ↵Amith Yamasani2013-04-112-4/+36
|\ \ | | | | | | | | | accounts" into jb-mr2-dev
| * | Don't sync from adapters that haven't opted in to restricted accountsAmith Yamasani2013-04-102-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SyncManager should not allow syncing of data from apps that haven't opted in to viewing restricted accounts in limited users. Override getIsSyncable() to check if the sync adapter has the manifest entry to enable restricted accounts of that account type. Return the default isSyncable state if the adapter has opted in, otherwise return 0 for false. Bug: 8566533 Change-Id: I3777f1e4fdb8debe1724ab083272e2d9bd2e63f2
* | | Fix a security check in getting app restrictionsAmith Yamasani2013-04-101-2/+5
| | | | | | | | | | | | Change-Id: I02fbab8765d3f8646d0fe62ee867566d1d14707d
* | | Merge "Show an error dialog when account type is requested on a limited ↵Amith Yamasani2013-04-111-0/+9
|\ \ \ | | | | | | | | | | | | user" into jb-mr2-dev
| * | | Show an error dialog when account type is requested on a limited userAmith Yamasani2013-04-101-0/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This covers the scenario where an app doesn't find an account of the required type and requests the account manager to add one of that type. Bug: 8537648 Change-Id: I4d9c8842c2d90aa668f16034d3db007dc61714b8
* | | Merge "Implicitly enable system apps when updates installed" into jb-mr2-devChristopher Tate2013-04-101-0/+18
|\ \ \
| * | | Implicitly enable system apps when updates installedChristopher Tate2013-04-091-0/+18
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | If someone explicitly installs an update to a system-bundled package, we infer that this means they actually want to use the new code. Bug 7467302 Change-Id: If2dc6f764bafbb3a5c94cbdd32273c030fd784b9
* | | Merge "Debug logging improvement." into jb-mr2-devCraig Mautner2013-04-101-8/+8
|\ \ \
| * | | Debug logging improvement.Craig Mautner2013-04-101-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a change to a surface would be logged with the old value and you had to scroll through the logs to see what the new value was. This change reflects the change to the surface immediately. Change-Id: I2a6566466287922d08f4ce2329c61aa46d692ee1
* | | | Merge "Obfuscate any phone numbers that pass through the event log." into ↵Santos Cordon2013-04-101-2/+5
|\ \ \ \ | | | | | | | | | | | | | | | jb-mr2-dev
| * | | | Obfuscate any phone numbers that pass through the event log.Santos Cordon2013-03-061-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | bug: 8203219 Change-Id: I455849cab9b2a8e08889cf44d1799448846c9151
* | | | | GPS Hardware geofencing.Jaikumar Ganesh2013-04-104-8/+454
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | Add support for doing geofencing in hardware. Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
* | | | Merge "Stop marking gamepads as keyboards" into jb-mr2-devMichael Wright2013-04-101-5/+8
|\ \ \ \
| * | | | Stop marking gamepads as keyboardsMichael Wright2013-04-081-5/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: I0ba49aa3235b2e0a50405cf6d68632e268fe4183
* | | | | Merge "Reduce duration of rotation xfade animation." into jb-mr2-devDianne Hackborn2013-04-105-1/+67
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Reduce duration of rotation xfade animation.Dianne Hackborn2013-03-295-1/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add code for tracking how long a rotation takes, and who is causing it to take that time. Change-Id: Ie3352ddfddd247f5a5c08f7da6bfe6b4da607ba2
* | | | | Rewrite touch navigation dpad synthesis.Jeff Brown2013-04-104-10/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new implementation more accurately tracks the velocity of flings and takes care to avoid obvious discontinuities. The main goal is for a fling to appear to be a linear extension of the movement already in progress. The minimum fling velocity is set to ensure that flings appear to be fairly smooth despite being discretized. Use sequences of repeated key events instead of individual down/up events to represent continuous motions in one direction which can be helpful for stopping flings at boundaries such as when flinging the cursor position within a text view. Compute the movement thresholds based on the physical size of the touch pad, if known. If not known, we assume a nominal size. Support stopping flings with a tap just like we do for normal touch events elsewhere in the framework. Moved the detection of ASSIST swipes into the InputReader where it belongs. These swipes must be detected globally to ensure consistent behavior across the all applications. Added a custom protocol in EventHub to enable input device drivers to override the timestamp of the following events in a packet. This change enables input device drivers that have a better idea of when an input event was actually generated to pass this information to the input system. Particularly useful with uinput. Bug: 8583760 Change-Id: I8ef4e827804786d549cfaa00793a2b9dd0fda465
* | | | | Merge "Add liblog" into jb-mr2-devYing Wang2013-04-104-1/+5
|\ \ \ \ \
| * | | | | Add liblogYing Wang2013-04-094-1/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
* | | | | Merge "Turn back on global proxy support." into jb-mr2-devRobert Greenwalt2013-04-091-15/+16
|\ \ \ \ \
| * | | | | Turn back on global proxy support.Robert Greenwalt2013-04-081-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 138626. Bug:8557674 Change-Id: I7b117d313c424d75bdeeea507541a96342f256f0
* | | | | | Merge "Kill processes when permissions are revoked." into jb-mr2-devDianne Hackborn2013-04-092-13/+53
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Kill processes when permissions are revoked.Dianne Hackborn2013-04-082-13/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some permissions are associated with gids, so we need to kill any running processes if their permission is revoked. We will do this for any permission being revoked, since the association between gids and permissions can change over time. Change-Id: Ieb7408e032539c4f21eb089d65a7a7e6c289f010
* | | | | | Merge "Change dropbox tag for native crashes." into jb-mr2-devEric Rowe2013-04-092-4/+4
|\ \ \ \ \ \
| * | | | | | Change dropbox tag for native crashes.Eric Rowe2013-04-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id2738fc758c3d144e5fdd2c7f1c8617dad129338
* | | | | | | Merge "Check outInfo is not null" into jb-mr2-devKenny Root2013-04-081-8/+10
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Check outInfo is not nullKenny Root2013-04-081-8/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only call keystore if outInfo is not null Bug: 8568820 Change-Id: I24ab625ad02b8510da489911064453de642b6748
* | | | | | Merge "Implement event logging for intent firewall" into jb-mr2-devBen Gruver2013-04-082-5/+94
|\ \ \ \ \ \
| * | | | | | Implement event logging for intent firewallBen Gruver2013-04-072-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If79052d07f3e5c02cfdbd0dd00026b01110045c2
* | | | | | | Merge "Remove the sender package filter from the intent firewall" into ↵Ben Gruver2013-04-0811-74/+48
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | / / | |_|_|_|/ / |/| | | | | jb-mr2-dev
| * | | | | Remove the sender package filter from the intent firewallBen Gruver2013-04-0511-74/+48
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3124c6969984eef646f22216c709bdfb324d6679
* | | | | | Clean up language in forced foreground service notifications.Daniel Sandler2013-04-081-31/+31
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old: [ IC ] %s running [ ON ] %s is running New: [ IC ] %s is running [ ON ] Touch for more information or to stop the app. Additionally, disallow these misbehaving services from supplying their own content views; if you attempt to run a foreground service with icon == 0, this is the notification you will get, period. Bug: 8525548 Change-Id: I2bfd7340396ef925885e8c2160a720f9eff07a35
* | | | | Merge "Fix crash in ConfigUpdater when the target dir doesn't exist." into ↵Geremy Condra2013-04-051-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | jb-mr2-dev
| * | | | | Fix crash in ConfigUpdater when the target dir doesn't exist.Geremy Condra2013-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I44ee0e3791938da0bf890fb38cd886330c0ee01d
* | | | | | Merge "Pipe through device resolution information" into jb-mr2-devMichael Wright2013-04-052-27/+47
|\ \ \ \ \ \
| * | | | | | Pipe through device resolution informationMichael Wright2013-04-042-27/+47
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Bug: 8424494 Change-Id: Iafeeee0d5cd29342c1cdc86b9616222aaa5d1b94
* | | | | | Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-devJeff Brown2013-04-051-7/+18
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Correctly manage the lifecycle of IME InputChannels.Jeff Brown2013-04-041-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InputChannels are normally duplicated when sent to a remote process over Binder but this does not happen if the recipient is running within the system server process. This causes problems for KeyGuard because the InputMethodManagerService may accidentally dispose the channel that KeyGuard is using. Fixed the lifecycle of InputChannels that are managed by the IME framework. We now return a duplicate of the channel to the application and then take care to dispose of the duplicate when necessary. In particular, InputBindResult disposes its InputChannel automatically when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE). Bug: 8493879 Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
* | | | | | New NotificationListenerService.Daniel Sandler2013-04-052-55/+315
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the best and only way for apps to listen for notifications: create a NotificationListenerService, wait for the NoMan to bind to you (as a result of the user checking a box somewhere in Settings and agreeing to a scary dialog box), and you'll start receiving notification posted and dismissed callbacks. Your service, while enabled, will also be able to clear one or all notifications. Use this power wisely. This change moves StatusBarNotification out of com.android.internal into android.service.notification. [Internal customers, including System UI and early users of the system-only listener binder API, will need to be updated.] Bug: 8199624 Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
* | | | | Merge "Make the min layer go down through all windows" into jb-mr2-devCraig Mautner2013-04-051-19/+18
|\ \ \ \ \
| * | | | | Make the min layer go down through all windowsCraig Mautner2013-04-051-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The min layer was set to only show the windows that matched the specified app token. But that meant when dialogs were launched it only showed the dialogs and not the background windows. Added improved debugging. fixes bug 8502844. Change-Id: I26b49568b872801ec9aa088df20317aa752dacd6
* | | | | | Add a config updater component for the intent firewallBen Gruver2013-04-042-4/+35
| |_|/ / / |/| | | | | | | | | | | | | | Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3
* | | | | Merge "Nuke heavy parts of notification before archiving." into jb-mr2-devJeff Sharkey2013-04-041-1/+7
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Nuke heavy parts of notification before archiving.Jeff Sharkey2013-04-031-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8537938 Change-Id: I2e4eccc3bd6d57fe5cef340d9e67986d78d3be95
* | | | | Merge "Initial implementation of IntentFirewall functionality" into jb-mr2-devBen Gruver2013-04-0318-38/+1343
|\ \ \ \ \
| * | | | | Initial implementation of IntentFirewall functionalityBen Gruver2013-04-0218-38/+1343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has the full filter functionality, but is currently only able to block Activity intents. Logging intents, or blocking service/broadcast intents is not yet implemented. Change-Id: Ied3d8dedf982e17bcbdff3e328eeb87477954df7
* | | | | | Merge "Grant optional permissions by default for system apps." into jb-mr2-devNick Kralevich2013-04-031-7/+16
|\ \ \ \ \ \