summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix USB audio disconnect logic" into lmp-mr1-devMike Lockwood2014-11-032-136/+206
|\
| * Fix USB audio disconnect logicMike Lockwood2014-10-312-136/+206
| | | | | | | | | | | | | | | | | | | | Previously, disconnecting any USB device would terminate USB audio playback. Also moved USB audio support to a separate class and did some prep work for multiple USB audio device support. Bug: 18203024 Change-Id: I49822c2c47428e658c853b2ec83c7313e626a1cb
* | Merge "Improve TrustManagerService user lifecycle" into lmp-mr1-devAdrian Roos2014-11-031-6/+49
|\ \
| * | Improve TrustManagerService user lifecycleAdrian Roos2014-11-031-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Only bind agents of running users - Explicitly clean up state when users are removed - Delay binding until third-party apps can actually run Bug: 18102460 Change-Id: I5017adc1634b249068099fc5779ba95904312438
* | | am 2997285f: Merge "Disable circular display mask with color inversion" into ↵Casey Burkhardt2014-11-031-23/+47
|\ \ \ | |/ / |/| | | | | | | | | | | | | | lmp-sprout-dev * commit '2997285f362349097882d1b31eb23cb867227192': Disable circular display mask with color inversion
| * | Merge "Disable circular display mask with color inversion" into lmp-sprout-devCasey Burkhardt2014-11-031-23/+47
| |\ \
| | * | Disable circular display mask with color inversionCasey Burkhardt2014-10-281-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Causes WindowManagerService to only add a circular display mask on qualified devices if the accessibility display color inversion feature is turned off. When enabled, this causes a visual artifact. Bug:18120660 Change-Id: I0b1ac08487098942e2e0dd2794905e845a70c1bc
* | | | Merge "Improve dump of status bar service" into lmp-mr1-devAdrian Roos2014-11-031-2/+2
|\ \ \ \
| * | | | Improve dump of status bar serviceAdrian Roos2014-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tracks which window caused the disable flags instead of just blaming PhoneWindowManager. Bug: 17830264 Change-Id: If6c957120bb2ee8e0083f80e35c71eb21b8672b6
* | | | | Merge "Move LOCK_TO_APP_EXIT_LOCKED from System to Secure" into lmp-mr1-devJason Monk2014-11-032-6/+6
|\ \ \ \ \
| * | | | | Move LOCK_TO_APP_EXIT_LOCKED from System to SecureJason Monk2014-10-312-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To prepare for controlling from settings. While here, add lock to app settings to backups. Bug: 16957435 Change-Id: I059140cd07a7a0d5ceb4e0bfe5e0176cb96629d3
* | | | | | am e333e674: Add a function to boost screen brightness temporarily.Jeff Brown2014-11-012-6/+106
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | * commit 'e333e674a758c39885d4d9779a1aad387fb0e6aa': Add a function to boost screen brightness temporarily.
| * | | | | Add a function to boost screen brightness temporarily.Jeff Brown2014-10-312-6/+106
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When PowerManager.boostScreenBrightness() is called, the screen brightness is set to maximum for 5 seconds. This action is also considered to be user activity. Bug: 17934954 Change-Id: I1cb4a03a60705c6c1c5cc9ff84b1c5dbd2932fcd
* | | | | Merge "Conditionally allow non-primay profiles to use TextServices" into ↵Yohei Yukawa2014-11-011-4/+94
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | lmp-mr1-dev
| * | | | | Conditionally allow non-primay profiles to use TextServicesYohei Yukawa2014-10-301-4/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this CL, non-primary profiles become able to use TextServices (spelling correction services) if and only if the active spell checker service is the system's one. Basically this CL just copies the same logic from InputMethodManagerService that were implemented as I3bd87b32aec69c3f8d and Id5d4f29017b7ca6844632 with adding a condition to see if the spell checker is system's one or not. Note that this is a tentative solution and can be removed once TSMS fully supports multiuser. Also note that this CL heavily relies on the fact that setting apps isonly running in the current user. This is because that some risky operations that are exposed from TSMS are non-public APIs an accessible only from @hide methods in TextServicesManager, and those @hide methods are actually used only by the settings app so far. BUG: 16285536 Change-Id: Iae9045ba5baccd04ed68906e7afb9160677ec4a5
* | | | | | Merge "Animate starting windows when keyguard dismissed." into lmp-mr1-devCraig Mautner2014-10-314-12/+27
|\ \ \ \ \ \
| * | | | | | Animate starting windows when keyguard dismissed.Craig Mautner2014-10-314-12/+27
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting windows are displayed prior to their app windows visibility being set. Consequently the WindowToken.hidden boolean for starting windows is still true even when it is shown. The keyguard logic uses the method WindowState.isVisibleNow to determine whether to animate each window. This method incorrectly determined that starting windows were not visible based on WindowToken.hidden and consequently didn't animate in the starting window. This change fixes isVisibleNow() to correctly determine when starting windows are visible and animates them in as part of the keyguard transition. This change also adds keyguard debug. Partially fixes bug 15991916. Change-Id: Iac3e5f3f33876be5801ec619bbe7a1579e648322
* | | | | | Merge "Reject SUPL connection when data is disbaled by user. b/18127920" ↵Tsuwei Chen2014-10-311-9/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev
| * | | | | | Reject SUPL connection when data is disbaled by user.Tsuwei Chen2014-10-311-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/18127920 Change-Id: I6209d7c48bb7c9a81fd3fd9323275e1f6a38d8db
* | | | | | | Merge "Improve low on RAM reporting." into lmp-mr1-devDianne Hackborn2014-10-311-219/+301
|\ \ \ \ \ \ \
| * | | | | | | Improve low on RAM reporting.Dianne Hackborn2014-10-311-219/+301
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't print every little native process. - Print in different sections, so if one is too long we don't get the rest truncated in the log. - Include other info from meminfo -- ksm and free/used/lost summary. Change-Id: Iea4ec3860212667e195d2b60b3ded23bfec78436
* | | | | | | Merge "Download PAC when set after a diff PAC URL" into lmp-mr1-devJason Monk2014-10-311-7/+2
|\ \ \ \ \ \ \
| * | | | | | | Download PAC when set after a diff PAC URLJason Monk2014-10-031-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug where rather than downloading new PAC file, the system would just send out broadcast saying proxy has changed. Now trigger a download of the file, and let the broadcast be sent when the download is complete. It is safe to pull out this port check as it is also performed at the time of trying to send the broadcast, and when the port is received. Removing it takes out a chance of any weird race conditions about setting the PAC and changing it before the callback completes. Bug: 17654639 Change-Id: Ic166d8f42bc388998a5aade147579d3ae1355c77
* | | | | | | | Merge "Fix not to show a log with empty default ime" into lmp-mr1-devYohei Yukawa2014-10-311-1/+5
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | |
| * | | | | | | Fix not to show a log with empty default imeHyejin Kim2014-10-301-1/+5
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It'll make reboot to show a log with empty defualt ime. Bug: 18165757 Change-Id: I7a0d55bc0da0566a60abb24123c1dbcdd03be9ed
* | | | | | | Merge "Add enter-animation-done callback for system windows" into lmp-mr1-devCraig Mautner2014-10-303-22/+35
|\ \ \ \ \ \ \
| * | | | | | | Add enter-animation-done callback for system windowsCraig Mautner2014-10-303-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing hidden methods allow activities to be notified when their windows have completed animating in. This change adds that capability to system windows using a ViewTreeObserver callback since system windows lack an activity token. The first subsystem to use this is the UserSwitchingDialog which was previously using a 250 msec timeout to dismiss the dialog. That deadline was often missed leaving the user with no dialog on the screen during the transition. Fixes bug 16661752. Change-Id: I70789e0d9c07112f275e76fb82850926305f290d
* | | | | | | | also add backtraces of CPUs before watchdog kills system serverGuang Zhu2014-10-301-9/+13
| |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18003452 Change-Id: I052fe0b2948ea036c3f1b842ea6270b6f11eadef
* | | | | | | Merge "Enable 464xlat on wifi." into lmp-mr1-devLorenzo Colitti2014-10-301-2/+3
|\ \ \ \ \ \ \
| * | | | | | | Enable 464xlat on wifi.Lorenzo Colitti2014-10-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 12111730 Change-Id: If6d118a3c6e163262b09cc2fb3e3d3f9a81986ec
* | | | | | | | Merge "Add support for running 464xlat on wifi as well." into lmp-mr1-devLorenzo Colitti2014-10-302-10/+41
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Add support for running 464xlat on wifi as well.Lorenzo Colitti2014-10-302-10/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add a command to NetworkManagementService to enable/disable IPv6 ND offload via netd. 2. Make Nat464Xlat enable offload if clatd successfully comes up on a wifi network (which means it detected a NAT64), and correspondingly re-enable offload when the clatd interface goes down. This change does not enable clatd on wifi yet, that requires an extra 2 lines to enable it. Bug: 12111730 Change-Id: I4318611762a37487c9a84f8c4867ec5aece98be8
* | | | | | | | Merge "Schedule to write package restrictions." into lmp-mr1-devNicolas Prevot2014-10-301-10/+8
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Schedule to write package restrictions.Nicolas Prevot2014-10-271-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In PackageManagerService, for prefered activities, persistent preferred activities and cross-profile intent filters: schedule a write to package restrictions instead of writing the file directly. Also, do not write all settings when writing package restrictions is enough. BUG: 17996284 Change-Id: Ic732954f8a66d3aa1f0ca85a10fba290b14e68f4
* | | | | | | | Merge "Add dumpsys output to UsageStatsService, along with --checkin ↵Adam Lesinski2014-10-294-14/+240
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | support" into lmp-mr1-dev
| * | | | | | | | Add dumpsys output to UsageStatsService, along with --checkin supportAdam Lesinski2014-10-244-14/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:17814138 Change-Id: If414ae5f4b8e4a2838f63f52d80e764915cee934
* | | | | | | | | Merge "Fix issue 6455374: Bad recent image on camera launch from ↵Wale Ogunwale2014-10-291-1/+15
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lockscreen." into lmp-mr1-dev
| * | | | | | | | | Fix issue 6455374: Bad recent image on camera launch from lockscreen.Wale Ogunwale2014-10-281-1/+15
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When transitioning from the lockscreen to the camera app, the previous activity that was running before the screen was locked is briefly resumed and then paused. During the pause we take a screenshot of the activity for recents which ends up being an image of the wallpaper, because the activity was moved behind the wallpaper while the lockscreen is up. With this change we no longer include the wallpaper layer in the screenshot if it is layered on top of the window we are targeting for the screenshot. Bug: 6455374 Change-Id: I305950a32c176f55eeeb6358266746e32e848383
* | | | | | | | | Change boot screen title to "Android is starting" when not upgrading.Jeff Hao2014-10-291-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17565501 Change-Id: Id5741e6e7a40750feee1cd7306e79f7baeec67de
* | | | | | | | | Merge "Listen for package changes for all users not just owner." into ↵Kenny Guy2014-10-291-7/+27
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev
| * | | | | | | | | Listen for package changes for all users not just owner.Kenny Guy2014-10-281-7/+27
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Listen for package changes for all users to cancel notifications for secondary users and profiles when an app is uninstalled. Bug: 18151696 Change-Id: I6921729e2878e1e5890411b173a56849eb2e0745
* | | | | | | | | Merge "CEC: Use language code "chi" for Traditional Chinese" into lmp-mr1-devJinsuk Kim2014-10-291-1/+15
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | CEC: Use language code "chi" for Traditional ChineseJinsuk Kim2014-10-291-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android by default returns "zho" for all sorts of Chinese variants. Use "chi" for traditional one used in Taiwan/Hong Kong/Macau as required in CEC standard. Bug: 18149804 Change-Id: I86ac7e2f0f1121641c52032a0d98a6405554457c
* | | | | | | | | Merge "Support more than one clatd at a time." into lmp-mr1-devLorenzo Colitti2014-10-294-129/+165
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Support more than one clatd at a time.Lorenzo Colitti2014-10-294-129/+165
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Make Nat464Xlat a per-network object, one for every network requiring clat, instead of a ConnectivityService singleton. 2. Make the NetworkManagementService clatd commands take an interface. 3. When we attempt to start clatd on a network, store its Nat464Xlat object in the NetworkAgentInfo, so we have an authoritative way of knowing whether clat is running on a given network. 4. Rework Nat464Xlat, hopefully simplifying it. Bug: 12111730 Change-Id: I1fa5508ef020cd1c3d1c7a1f7b06370ac5fc2ae2
* | | | | | | | | Merge "Check UID instead of package name when preparing VPN." into lmp-mr1-devJeff Davidson2014-10-281-3/+3
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Check UID instead of package name when preparing VPN.Jeff Davidson2014-10-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a package is uninstalled and reinstalled, it should no longer be considered a prepared VPN in prepare(). While the package name remains constant in this case, the UID should not. Bug: 17980393 Change-Id: I29edf22ebe0550a7938d5a36c746c83dc068a0f9
* | | | | | | | | Merge "Send ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED Broadcast when a user ↵Benjamin Franz2014-10-281-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | restriction has been changed." into lmp-mr1-dev
| * | | | | | | | | Send ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED Broadcast when a user ↵Benjamin Franz2014-10-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | restriction has been changed. Bug: 17916693 Change-Id: I6bca83ad6224ab6f1e4bdf41a10f514823c66755
* | | | | | | | | | Merge "Ensure trust agents are disabled in safe-mode" into lmp-mr1-devAdrian Roos2014-10-281-2/+14
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | | |