summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix leak in WifiManager" into jb-mr2-devIrfan Sheriff2013-02-262-7/+20
|\
| * Fix leak in WifiManagerIrfan Sheriff2013-02-262-7/+20
| | | | | | | | | | | | | | Avoid leaks from having a channel connection per manager instance Bug: 8254124 Change-Id: I10de91d7e5a775bc14bbab245734717d3b2f90d5
* | Merge "Revert ActivityManager changes for tasks. DO NOT MERGE" into jb-mr2-devCraig Mautner2013-02-2614-1606/+971
|\ \
| * | Revert ActivityManager changes for tasks. DO NOT MERGECraig Mautner2013-02-2514-1606/+971
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeping all activity=>task changes in master and removing them from jb-mr2. Revert "Update histories simultaneously." Revert "Add null check to setAppGroupId." Revert "Fix crashing bug in validator." Revert "Switch topRunning* and moveTaskTo*" Revert "Begin switch over to task based history." Revert "Reset and reuse Iterators and don't new() one." Revert "Remove AppWindowToken lists." Revert "Fix build." Revert "Remove unused App methods." Revert "Stop using AppToken movement and start using Task." Revert "Replace access to mAppTokens with AppTokenIterator" Revert "Refactor setAppOpVisibility implementation." Revert "Add AppWindowTokens to TaskList." Revert "Make ActivityStack.mHistory private." Revert "Migrate AppWindowToken lists into DisplayContent." Change-Id: I5722c9a4956dccb52864207e2967690bc58e4ebb
* | Merge "Add location sharing toggle user restriction." into jb-mr2-devMaggie Benthall2013-02-252-2/+6
|\ \
| * | Add location sharing toggle user restriction.Maggie Benthall2013-02-252-2/+6
| |/ | | | | | | | | | | And add support for respecting it. Change-Id: Ia5cf9134c5f5741c3f55afadbe54f862da7bfe5b
* | Merge "Lookup permission groups by name" into jb-mr2-devRomain Guy2013-02-251-1/+1
|\ \
| * | Lookup permission groups by nameRomain Guy2013-02-251-1/+1
| |/ | | | | | | | | | | | | | | When a top-level permission group is specified, lookup the group id by name instead of parsing the value as an integer. This matches what we do when the group tag is a child of <permission/>. Change-Id: I54954ae683cecdf72cf846f75383bf6ba862dc5b
* | Require command and argument separation, cleanup.Jeff Sharkey2013-02-252-72/+26
|/ | | | | | | | When invoking NativeDaemonCommands, require that base command and arguments are separate. Clean up reverse tethering commands, and remove deprecated throttle events. Change-Id: I302a74130b4f7c3f3045815a56d566e89c8969f6
* Merge "Disable kernel keyrepeat"Michael Wright2013-02-231-0/+6
|\
| * Disable kernel keyrepeatMichael Wright2013-02-221-0/+6
| | | | | | | | | | Bug: 6332980 Change-Id: Ife69167285aad24ed3e4fa5b65abf59d8dfa4f0a
* | Formalize overscan metrics.Dianne Hackborn2013-02-223-20/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The window manager now maintains and reports a new formal "overscan insets" for each window, much like the existing content and visible insets. This is used to correctly position the various UI elements in the various combination of layout options. In particular, this allows us to have an activity that is using fitSystemWindows to have the content of its UI extend out to the visible content part of the screen while still positioning its fixed UI elements inside the standard content rect (and the entire window extending all the way into the overscan area to fill the screen as desired). Okay, maybe that is not written so clearly. Well, it made my head hurt too, so suffer! The key thing is that windows now need to know about three rectangles: the overall rectangle of the window, the rectangle inside of the overscan area, and the rectangle inside of the content area. The FLAG_LAYOUT_IN_OVERSCAN option controls whether the second rectangle is pushed out to fill the entire overscan area. Also did some improvements to debug dumping in the window manager. Change-Id: Ib2368c4aff5709d00662c799507c37b6826929fd
* | Remove two new permission checksRobert Greenwalt2013-02-221-2/+8
| | | | | | | | | | | | | | | | These checks while technically reasonable are a hard to swallow API change that may break existing apps and pragmatically serves no purpose: the protected data is available in publicly readable java VM properties. Change-Id: I522c493c2604a33e28d99e2be31054326c9a8323
* | Merge "Improve ConnectivityManager docs"Robert Greenwalt2013-02-222-2/+7
|\ \
| * | Improve ConnectivityManager docsRobert Greenwalt2013-02-222-2/+7
| |/ | | | | | | | | | | | | Also fix some permission problems. bug:5738328 Change-Id: Ib32c223f425b1fc03b8cce528456bcb50b540fdf
* | Merge "Create rotation animation modes."Craig Mautner2013-02-222-19/+36
|\ \
| * | Create rotation animation modes.Craig Mautner2013-02-222-19/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow fullscreen windows to specify crossfade or jumpcut animations that override the default rotation animation. Only if the incoming and outgoing topmost windows are fullscreen and both specify the same animation to use. Fixes bug 8182773. Change-Id: I6b3c0020d7bd2cdfba5c66189e114ec62cd54fcf
* | | Merge "Clean up scan handling"Irfan Sheriff2013-02-221-2/+2
|\ \ \
| * | | Clean up scan handlingIrfan Sheriff2013-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove obsolete active/passive scan handling - drivers always do active scan. Also, remove AP_SCAN hack for preventing connections and use the TYPE=ONLY scan. Bug: 8158647 Change-Id: I8f70e19219ad789b7501a40529bcd6b6524739e8
* | | | am 47e8074d: Merge "Update histories simultaneously."Craig Mautner2013-02-212-37/+33
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * commit '47e8074d401b0a2c38b376329bfe8bf1f62da23b': Update histories simultaneously.
| * | | Merge "Update histories simultaneously."Craig Mautner2013-02-222-37/+33
| |\ \ \
| | * | | Update histories simultaneously.Craig Mautner2013-02-212-37/+33
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In moveTaskToBackLocked calls that used mHistory were being made between the times that mTaskHistory and mHistory were modified. This caused an inconsistent state that led to Windows arranged out of order. Updating both history stacks at the same time fixes this. Fixes bug 8244261. Change-Id: I9669762ad39b06ab6d401122702b74969d4dc658
* | | | am ab6b77fd: Merge "Be cool in backup/restore of apps that can\'t touch ↵Christopher Tate2013-02-211-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | external storage" * commit 'ab6b77fd85979212299d8aef0b2c83c005b13abc': Be cool in backup/restore of apps that can't touch external storage
| * | | Merge "Be cool in backup/restore of apps that can't touch external storage"Christopher Tate2013-02-211-0/+1
| |\ \ \
| | * | | Be cool in backup/restore of apps that can't touch external storageChristopher Tate2013-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8241337 Change-Id: I23f6eeba8448b234a7b18ce50d2ced2ba54b4ebd
* | | | | am 2b3a47b9: Merge "Allow L2TP traffic to lockdown VPN servers."Jeff Sharkey2013-02-211-0/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '2b3a47b9ce0f422323395286937944a2afa51ed6': Allow L2TP traffic to lockdown VPN servers.
| * | | | Merge "Allow L2TP traffic to lockdown VPN servers."Jeff Sharkey2013-02-211-0/+2
| |\ \ \ \
| | * | | | Allow L2TP traffic to lockdown VPN servers.Jeff Sharkey2013-02-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8067988 Change-Id: I6cb7d07e0c4b7c6e112a26a06892e859e6b515a8
* | | | | | am c0997b0e: Merge "Improve notification UI for lockdown VPN."Jeff Sharkey2013-02-211-3/+13
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'c0997b0e6291d7c97963623eed2a41994a7855cf': Improve notification UI for lockdown VPN.
| * | | | | Merge "Improve notification UI for lockdown VPN."Jeff Sharkey2013-02-211-3/+13
| |\ \ \ \ \ | | |/ / / / | | | | | / | | |_|_|/ | |/| | |
| | * | | Improve notification UI for lockdown VPN.Jeff Sharkey2013-02-211-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7064111 Change-Id: I9554f6a426697b4abeb2ddd0827d314920e88ed6
* | | | | am 8a64b1a7: Handle airplane settings properlyIrfan Sheriff2013-02-212-8/+23
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '8a64b1a7f4b07e71b9eb0f4a98710cb1409588bf': Handle airplane settings properly
| * | | | Handle airplane settings properlyIrfan Sheriff2013-02-212-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug dealing with airplane mode settings of whether wifi is sensitive to airplane mode change and whether wifi is allowed to override airplane mode that likely has been broken ever since. Bug: 8141918 Change-Id: Ia3116c9dfce2952cbe3911e9d81dbbae0430abef
* | | | | am b8c0e009: Restructure wifiservice for clarityIrfan Sheriff2013-02-214-492/+667
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'b8c0e009a74ac2eaee8946fbe0bb3b3fe2749c9a': Restructure wifiservice for clarity
| * | | | Restructure wifiservice for clarityIrfan Sheriff2013-02-214-492/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move seperate operation pieces into own classes Bug: 8141918 Change-Id: Iacb15ceca5431136051e815aa71617eef89b9fe9
* | | | | am d017f352: Move wifiservice into its own packageIrfan Sheriff2013-02-212-1/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'd017f3523244974a8a3fb653ed4b6d514affcc01': Move wifiservice into its own package
| * | | | Move wifiservice into its own packageIrfan Sheriff2013-02-212-1/+2
| | |_|/ | |/| | | | | | | | | | Change-Id: I3ff378a29cb4dd191605b0b641147eba1f445d13
* | | | am 7a7360ad: Merge "Add null check to setAppGroupId."Craig Mautner2013-02-211-2/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '7a7360ad528576d560aa13fbb4e81740b2c425b2': Add null check to setAppGroupId.
| * | | Add null check to setAppGroupId.Craig Mautner2013-02-211-2/+7
| |/ / | | | | | | | | | | | | | | | Fix bug 8217929. Change-Id: I3bd54c32abcf6683c2fa75a85bf5025f47e09398
* | | am 5161f209: Fix crashing bug in validator.Craig Mautner2013-02-201-0/+4
|\ \ \ | |/ / | | | | | | | | | * commit '5161f20925ec071e72c2b0eb084f7abaa9dffabf': Fix crashing bug in validator.
| * | Fix crashing bug in validator.Craig Mautner2013-02-201-0/+4
| | | | | | | | | | | | Change-Id: I649bb7cfc2b42fbeda478edcaa3a56f3c23d4bc8
* | | am 07aa25da: Merge "Switch topRunning* and moveTaskTo*"Craig Mautner2013-02-205-296/+305
|\ \ \ | |/ / | | | | | | | | | * commit '07aa25dab9b8f5592b2e9e7dbc708b5e3064c5ff': Switch topRunning* and moveTaskTo*
| * | Merge "Switch topRunning* and moveTaskTo*"Craig Mautner2013-02-215-296/+305
| |\ \
| | * | Switch topRunning* and moveTaskTo*Craig Mautner2013-02-205-296/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - More of the Activity to Task changeover. - Fix bug in validateAppTokens(). - Improved validation of changeover. - Eliminated iterator classes. Change-Id: I934a208eabfc9a2668e5a6162452e1406f2c8d3a
* | | | am 6f8218a4: Trying to unregister a semi connected accessibility service.Svetoslav2013-02-201-13/+11
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '6f8218a442a8de50ef33d20263a59cd47c513e62': Trying to unregister a semi connected accessibility service.
| * | | Trying to unregister a semi connected accessibility service.Svetoslav2013-02-201-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an accessibility service connects we get a callback in which we either add the service, if this service is in the list of connecting services (we still want the service to connect), or we unbind and clear the state, if the service is no longer in the list of connecting services (we do not want this service to connect because something change between the bind request and the connection callback). The problem is that when the service connects and it is not in the list of connecting services on service connected we called the clean up code before the connection was complete. However, the clean up code expects fully configured services. Now we fully connect the service and in case there is a problem - disconnect it. bug:8232627 Change-Id: I939e544e31ffc1406035265a012c180f2ca95d7c
* | | | am ab8e936e: Merge "Add explicit userId to AppWidget binder calls"Jim Miller2013-02-202-103/+63
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'ab8e936e852b984624087c97dffc4c74b250fc68': Add explicit userId to AppWidget binder calls
| * | | Add explicit userId to AppWidget binder callsJim Miller2013-02-202-103/+63
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keyguard currently relies on being in the system process to grab the given user's widgets. When we split keyguard into a new process, it will need to have access to user-specific info to instantiate a specific user's widgets. In order to accomplish this, we add an explicit userid to each binder call as well as new permission check to allow keyguard access. This also fixes a potential race condition of having an incorrect user id due to an async call to change the user. Every binder call now has a specific user id. The user id is either the calling process user's id or an explicit one passed by applications like keyguard. It is created once when an AppWidgetManager is instantiated and remains for the lifetime of the object. Fixed bug where widgets sometimes didn't show up for secondary users. Moved permission check in AppWidgetService into getImplForUser() Refactored to use userid from context associated AppWidgetManager instance. Clean up AppWidgetHost to use userId from Context. Remove redundant userId check in checkPermission since it's handled by ActivityManager.handleIncomingUser() Removed redundant userid check. Upload after rebase... Change-Id: Iae3e20f2b342c323bb58768b3d22051510f8268b
* | | am fd171e43: Merge "Switch to system process before modifying rotation."Daniel Sandler2013-02-201-3/+16
|\ \ \ | |/ / | | | | | | | | | * commit 'fd171e43e4946ce5789e5dd8ade09a1cbf2a5ae0': Switch to system process before modifying rotation.
| * | Merge "Switch to system process before modifying rotation."Daniel Sandler2013-02-201-3/+16
| |\ \