summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* am cc822a76: Merge "Touch exploration gesture end not delivered to clients." ↵Svetoslav Ganov2012-06-031-5/+7
|\ | | | | | | | | | | | | into jb-dev * commit 'cc822a769e752c2845dc795f05b7b35b5b3f6614': Touch exploration gesture end not delivered to clients.
| * Merge "Touch exploration gesture end not delivered to clients." into jb-devSvetoslav Ganov2012-06-031-5/+7
| |\
| | * Touch exploration gesture end not delivered to clients.Svetoslav Ganov2012-06-031-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Touch exploration gestures are demarcated by start and end events. Due to a bug in the AccessibilityManagerService the gesture end event was not dispatched. This caused the AccessibilityNodeInfoCache to be off sync since it relies on getting such events not to mention that the clients were not getting the end but only the start event. The issue was that the notified service types variable was not reset after every event so when the manager sends the last hover exit it flags that the service type is already notified resulting in dropping on the floor the following gesture end event. bug:6539306 Change-Id: I2b96bcecea3b2240199d67f01afa6a033afce1de
* | | am 778fa81f: Merge "Fixing a crash in the TouchExplorer." into jb-devSvetoslav Ganov2012-06-031-4/+10
|\ \ \ | |/ / | | | | | | | | | * commit '778fa81f5da05dcc45260caa70c97971bdccf8bb': Fixing a crash in the TouchExplorer.
| * | Merge "Fixing a crash in the TouchExplorer." into jb-devSvetoslav Ganov2012-06-031-4/+10
| |\ \
| | * | Fixing a crash in the TouchExplorer.Svetoslav Ganov2012-06-021-4/+10
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. If the runnable for performing a long press is not removed when all pointers are up and it is executed the explorer gets into delegating mode with no pointer down and the next down crashes the explorer. Added code to remove the long press runnable in a few places it was missing and also added a safety in the runnable to avoid executing it in case there are no active pointers. bug:6557183 Change-Id: I9dab3de88fd08d8e2b38af18249ac551837c0736
* | | am da652f6e: Merge "Revert change to correct animations." into jb-devCraig Mautner2012-06-031-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'da652f6e51e5b255019ac020d56e262e477c2a46': Revert change to correct animations.
| * | Merge "Revert change to correct animations." into jb-devCraig Mautner2012-06-031-1/+1
| |\ \
| | * | Revert change to correct animations.Craig Mautner2012-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incorrect animation was introduced with CL 196207 (perhaps in combination with a later CL). Reverting part of that CL fixes the incorrect animation and so far has not reintroduced the jank that was fixed by that CL. If the jank reappears it should be fixed in a different fashion than in CL 196207. Fixes bug 6597505. Change-Id: Ie8012237a8d49810ede51bd8d78ef8c2fd91ddd4
* | | | am d672b241: Merge "Fix power manager issues." into jb-devCraig Mautner2012-06-021-1/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'd672b241f6720201e3b8f613363d71e4291b8597': Fix power manager issues.
| * | | Merge "Fix power manager issues." into jb-devCraig Mautner2012-06-021-1/+6
| |\ \ \ | | |_|/ | |/| |
| | * | Fix power manager issues.Craig Mautner2012-06-011-1/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. If a new brightness animation is started while an unrelated one is ongoing complete the old animation immediately. Unrelated means that the old and new animations apply to different devices (button, keyboard, or screen). 2. Do not interpret turning off the keyboard or button lights as turning off the screen in isScreenTurningOffLocked(). Fixes bug 6519847. Change-Id: I53a20951036bcdb793daeff84a9ebeed44be01fc
* | | am 01827ce9: Merge "Be more discriminating when canceling notifications on ↵Daniel Sandler2012-06-011-1/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | changing packages." into jb-dev * commit '01827ce9f2d5f4441c7f7b0211d2739824320daf': Be more discriminating when canceling notifications on changing packages.
| * | Merge "Be more discriminating when canceling notifications on changing ↵Daniel Sandler2012-06-011-1/+11
| |\ \ | | | | | | | | | | | | packages." into jb-dev
| | * | Be more discriminating when canceling notifications on changing packages.Daniel Sandler2012-06-011-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically: don't do it if the package is enabled at the time the PACKAGE_CHANGED broadcast is sent. (We only want to cancel notifications when packages enter the disabled state.) Bug: 6589355 Change-Id: Iba754cef27e2bdff35a13e403a867933c996f562
* | | | am 6acca244: Merge "Cannot double tap and hold outside of the input focused ↵Svetoslav Ganov2012-06-011-13/+33
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | window." into jb-dev * commit '6acca2442572a28b7d9428e5e2fc2aa4271e29f9': Cannot double tap and hold outside of the input focused window.
| * | | Merge "Cannot double tap and hold outside of the input focused window." into ↵Svetoslav Ganov2012-06-011-13/+33
| |\ \ \ | | | | | | | | | | | | | | | jb-dev
| | * | | Cannot double tap and hold outside of the input focused window.Svetoslav Ganov2012-06-011-13/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The long press routine was using the coordintates of the accessibility focused item in the input focused window. As a result double tap and hold did not work in a window that does not take input focus such as the system bar. Now the routine is using the last touch explored location if it cannot find accessibility focus in the last touched window. bug:6584438 Change-Id: Ifd43adb20a066f389a9d4bd5716dd7ad834dd574
* | | | | am 40ba4dad: Merge "Add a thread to handle the radio shutdown." into jb-devJeff Brown2012-06-011-87/+118
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '40ba4dad4c56b8a7fbae4a93a6e5385993301ad4': Add a thread to handle the radio shutdown.
| * | | | Merge "Add a thread to handle the radio shutdown." into jb-devJeff Brown2012-06-011-87/+118
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Add a thread to handle the radio shutdown.Jeff Brown2012-05-311-87/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protect the ShutdownThread from possible hangs in the telephony, Bluetooth or NFC stack while turning off the radios. Bug: 6585958 Change-Id: I6b448c854c5a0efb0eedd90437853ef2571e785b
* | | | | am d53710ce: Merge "Extend process observer to be usable for media routing." ↵Dianne Hackborn2012-05-313-23/+150
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | into jb-dev * commit 'd53710ce644e7f1df417a8fe42ec26233a751b2e': Extend process observer to be usable for media routing.
| * | | | Extend process observer to be usable for media routing.Dianne Hackborn2012-05-313-23/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It now has a new callback to report changes in the "importance" of processes. Rewrote the dispatching code to be a bit more efficient now that we are sending more reports. Change-Id: Ie865cfd286455819f04e8c14e9b6fd54d028f8f2
* | | | | am f0e96de8: Merge "Maybe fix #6584979: Unable to launch share chooser ↵Dianne Hackborn2012-05-311-1/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | activity from a Notification action" into jb-dev * commit 'f0e96de863a06bbee2aaf2aeb0f586e2a434aa62': Maybe fix #6584979: Unable to launch share chooser activity from a Notification action
| * | | | Merge "Maybe fix #6584979: Unable to launch share chooser activity from a ↵Dianne Hackborn2012-05-311-1/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notification action" into jb-dev
| | * | | | Maybe fix #6584979: Unable to launch share chooser activity from a ↵Dianne Hackborn2012-05-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notification action Don't count an activity as a system dialog to be closed, if it is the one that asked to have system dialogs closed. Change-Id: I60bb194adde78dc3ac0a4d9b0c1dfbabd105e594
* | | | | | am 35c60c94: Merge "Use Surface layer for Surface operation." into jb-devCraig Mautner2012-05-311-2/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '35c60c944a9350d6240673e157fe06a97fb24180': Use Surface layer for Surface operation.
| * | | | | Merge "Use Surface layer for Surface operation." into jb-devCraig Mautner2012-05-311-2/+2
| |\ \ \ \ \
| | * | | | | Use Surface layer for Surface operation.Craig Mautner2012-05-311-2/+2
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous fix exposed an existing bug where we were using mAnimLayer to determine the highest Surface layer. This fix uses mSurfaceLayer to set the layer limits for making the screenshot. Fixes bug 6586168. Change-Id: Iaa3b43867aef795ca617ff4b8076428dfc91eaf2
* | | | | | am a13b4da6: Merge "Fix initial brightness state after startup." into jb-devCraig Mautner2012-05-311-3/+6
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'a13b4da68d8df0977c8dec5001de7c9ecea71d9e': Fix initial brightness state after startup.
| * | | | | Merge "Fix initial brightness state after startup." into jb-devCraig Mautner2012-05-311-3/+6
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Fix initial brightness state after startup.Craig Mautner2012-05-311-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting of mInitialAnimation member was assuming that currentValue member would only be 0 at boot. It also gets set to 0 when the sensor goes dark. This fix removes mInitialValue reliance on currentValue. Fixes bug 6444319. Change-Id: I27069f1b44f1f727533d34bbecad2e5aeaa7aab8
* | | | | | am e857632a: Merge "Dock: Renable desk-dock apps" into jb-devJohn Spurlock2012-05-311-12/+12
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'e857632abd994bd1e4a649afb4231f3a97763828': Dock: Renable desk-dock apps
| * | | | | Merge "Dock: Renable desk-dock apps" into jb-devJohn Spurlock2012-05-311-12/+12
| |\ \ \ \ \
| | * | | | | Dock: Renable desk-dock appsJohn Spurlock2012-05-291-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert to pre-dreams behavior. DeskClock once again launches the correct activity (instead of Screensaver) when desk-dock is attached. Bug: 6559590 Change-Id: I32a03a25469f17b5e87e16831839ec757d56c90b
* | | | | | | am cee7203f: Merge "Send device connection intents from AudioService" into ↵Eric Laurent2012-05-311-74/+36
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-dev * commit 'cee7203f9ac3e54f39b5f528e014f2d3583f60dc': Send device connection intents from AudioService
| * | | | | | Merge "Send device connection intents from AudioService" into jb-devEric Laurent2012-05-311-74/+36
| |\ \ \ \ \ \
| | * | | | | | Send device connection intents from AudioServiceEric Laurent2012-05-301-74/+36
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AudioService is currently notified of wired headset and A2DP sink connection states via broadcast intents from WiredAccessoryObserver and BluetoothA2dpService. This is a problem as there is no guaranty that AudioService can take actions upon the change before other apps are notified. For instance, the Play On feature requires the UI to be refreshed when a device is inserted/removed and we must guaranty that the UI component can read new A2DP enable state from AudioManager after it receives a device connection state change intent. - Added hidden methods to AudioManager so that WiredAccessoryObserver and BluetoothA2dpService can notify AudioService of device connection directly. - The wired accessories connection intents are now sent by AudioService. - The A2DP state change intent is delayed by BluetoothA2DPService when ACTION_AUDIO_BECOMING_NOISY is sent by AudioService - ACTION_AUDIO_BECOMING_NOISY intent is not sent when disconnecting A2DP while a wired headset is present and vice versa. Bug 6485897. Change-Id: Ie160b3ee5f451132065530772b868593c90afd94
* | | | | | | am 7f651969: Merge "fix a potential buffer overflow in sensorservice" into ↵Mathias Agopian2012-05-301-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-dev * commit '7f6519691fdd8062a090de74cfc5d2a906f9e5f6': fix a potential buffer overflow in sensorservice
| * | | | | | Merge "fix a potential buffer overflow in sensorservice" into jb-devMathias Agopian2012-05-301-1/+1
| |\ \ \ \ \ \
| | * | | | | | fix a potential buffer overflow in sensorserviceMathias Agopian2012-05-301-1/+1
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6580560 Change-Id: Icf6cafbca09174515a964a7cd69d8cc589ad52de
* | | | | | | am 758534ed: Merge "Ask to enable touch exploration only the first time it ↵Svetoslav Ganov2012-05-302-69/+153
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enables the feature." into jb-dev * commit '758534ed50d1d2c643999bd7eb3f909b0834e393': Ask to enable touch exploration only the first time it enables the feature.
| * | | | | | Merge "Ask to enable touch exploration only the first time it enables the ↵Svetoslav Ganov2012-05-302-69/+153
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | feature." into jb-dev
| | * | | | | | Ask to enable touch exploration only the first time it enables the feature.Svetoslav Ganov2012-05-302-69/+153
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Now we are asking the user to grant permission to the service to enable touch exploration only the first time this service is enabled. If the service was uninstalled and then later installed we ask the user again. This avoids the scenario in which rebooting the device or upgrading an accessibility service leaves the device in a state in which the user cannot interact with. bug:6582088 Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
* | | | | | | am efc620a8: Merge "Add time stamp to content provider connection." into jb-devDianne Hackborn2012-05-301-0/+7
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'efc620a8b905fbe0903b8bac6ecfe91fda6f03be': Add time stamp to content provider connection.
| * | | | | | Merge "Add time stamp to content provider connection." into jb-devDianne Hackborn2012-05-301-0/+7
| |\ \ \ \ \ \
| | * | | | | | Add time stamp to content provider connection.Dianne Hackborn2012-05-301-0/+7
| | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For help in tracking down memory use issues, seeing how long a connection has been held that is keeping other processes around. Let's call this for issue #6577613: Unbelievably sluggish nexus-S Change-Id: Ia3d016c5ed9d2155eea18ec884047e1e1d8a0ad5
* | | | | | | am 9154b877: Merge "Fix comparison of device source bits." into jb-devJeff Brown2012-05-302-10/+5
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '9154b877807a1222abf46608cdff66428e906328': Fix comparison of device source bits.
| * | | | | | Merge "Fix comparison of device source bits." into jb-devJeff Brown2012-05-302-10/+5
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | / | | | |_|_|/ | | |/| | |
| | * | | | Fix comparison of device source bits.Jeff Brown2012-05-302-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6576743 Change-Id: I6952b052e2ab9e62ddd46ab76f4df37ecc656757