summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement issue #16330060: Inform ActivityManager about WebView...Dianne Hackborn2014-07-1620-54/+383
| | | | | | | | | | | | | | | | | | | | ...state changes. Add a new API to tell the activity manager about a new dependency one process has on another package. Start using it already for when apps is Context.createPackageContext() to load code from another app. Also do some work on getting the monitoring of proc/uid states in shape so it can be used by unundled code, along with an AppImportanceMonitor class for doing so. Some small fixes and additions to VoiceInteractionService. Improve handling of unaccounted/overcounted battery use so that they aren't shown to the user unless they are significant. Change-Id: I22dd79a73f4e70103d3f8964494aebc8a31f971c
* Plumb the database code to read/update sound modelsSandeep Siddhartha2014-07-162-14/+21
| | | | Change-Id: I135131b042481462f905bdb69ea8544e2561d177
* Add recognition modes to the enrollment metadataSandeep Siddhartha2014-07-168-46/+125
| | | | | | | | | | | | | | This will be used by the Voice interaction service to determine what type of recognition may be run on the DSP. e.g. If the DSP supports voice trigger only for the given keyphrase, the voice interaction service may want to perform user identification at its end. Also support keyphrase metadata for all keyphrases and locales. In case the enrollment app supports open-ended keyphrases, it can leave the keyphrase text to be empty similarly, if the enrollment app supports all locales, it can leave the supported locales attribute to be empty, Change-Id: I782a17a877fc79ed569fa7c3a81697641182590b
* Add public attributes for TimePicker stylingAlan Viverette2014-07-1722-283/+155
| | | | | BUG: 11218747 Change-Id: Ifdf981280ebe20a9066f219c9a4505d0d7486b2e
* Merge "Album artwork returns triumphantly to the lockscreen." into lmp-devDan Sandler2014-07-163-3/+329
|\
| * Album artwork returns triumphantly to the lockscreen.Dan Sandler2014-07-163-3/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is pulled from the metadata of the active media session, which we fetch in one of two ways: 1. From a proper media notification, we can extract the session token from EXTRA_MEDIA_SESSION. 2. If none of these is found, we ask MediaSessionManager for any outstanding media sessions whose packages match an active notification. These include legacy RCC clients, whose notifications are oblivious to EXTRA_MEDIA_SESSION. We then pull the album artwork out of the metadata and fade it in on the lockscreen. Bug: 15147533 Bug: 15135254 Change-Id: Ia967bfba310b6c792b14673872cb132ddd7052a5
* | Merge "Update data limit notification icon + strings." into lmp-devJohn Spurlock2014-07-169-24/+53
|\ \
| * | Update data limit notification icon + strings.John Spurlock2014-07-169-24/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use a more specific disabled cellular data icon. - Reword framework strings to use "Cellular" instead of "Mobile" and avoid "enabled/disabled" - Update SystemUI's network limit dialog to follow suit. Bug:16185238 Change-Id: Ie9191990fab17cd7dc04395fad39f84bfff8349d
* | | Add code for isKeyphraseActive and some logging to help debug issuesSandeep Siddhartha2014-07-161-3/+6
|/ / | | | | | | Change-Id: I89f2090be5a5fe5f7c0da1648a0d46a093893fe2
* | Merge "Add a zen-specific event sink, include in dumpstate." into lmp-devJohn Spurlock2014-07-164-34/+232
|\ \
| * | Add a zen-specific event sink, include in dumpstate.John Spurlock2014-07-164-34/+232
| | | | | | | | | | | | | | | | | | | | | Useful for tracking zen events (since boot) that are too old to be included in the standard log. Change-Id: I91633d35b26091bb18523a76ebdba9d286d0cd41
* | | Merge "Allow content provider access across users" into lmp-devAmith Yamasani2014-07-161-1/+1
|\ \ \
| * | | Allow content provider access across usersAmith Yamasani2014-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the package has INTERACT_ACROSS_USERS. This had recently regressed. Bringing back the functionality needed for multiuser call log syncing. Bug: 16298776 Change-Id: I4fdc3d676bb8a2bf78f5c27c41a74c0491e343cd
* | | | Disable logging in NetlinkTracker.Lorenzo Colitti2014-07-171-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | This logging can get quite spammy in GoogleGuest, and there's currently no reason to think it's necessary. Much of the same information is available via "adb shell ndc monitor". Bug: 16328180 Change-Id: I15a8348e261d6b69a4ef8bdaf8a2a431b1c2bc0d
* | | Merge "Add accessibility text contrast setting" into lmp-devChris Craik2014-07-1610-103/+289
|\ \ \
| * | | Add accessibility text contrast settingChris Craik2014-07-1610-103/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/14624452 Adds a feature which draws all text (in the HW accelerated standard path) in a high contrast mode. Text is drawn at full alpha, and either white or black (depending on its original color) with a starkly contrasted outline beneath it. Change-Id: I943f624b6367de35367cced3b2a8298f2bc62377
* | | | Add toString & equals helper methods to PhoneAccount.javaSantos Cordon2014-07-171-0/+22
| | | | | | | | | | | | | | | | | | | | Bug: 16292368 Change-Id: I5dd2bcd2d65e856107ac2f80958e8b408abcec0b
* | | | Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin2014-07-1655-1058/+2621
|\ \ \ \
| * | | | Import translations. DO NOT MERGEBaligh Uddin2014-07-1655-1058/+2621
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I65d3cba5b90678cfde9440628ac7fe5f964d2dc6 Auto-generated-cl: translation import
* | | | | Merge "QS: Deal with null uuids in BT controller." into lmp-devJohn Spurlock2014-07-161-1/+6
|\ \ \ \ \
| * | | | | QS: Deal with null uuids in BT controller.John Spurlock2014-07-161-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix crash when the device is no longer available. Bug:16355690 Change-Id: I1cf652a408fa221649950d728bc88dd93fc93b65
* | | | | | Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin2014-07-162-3/+3
|\ \ \ \ \ \
| * | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-07-162-3/+3
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: I8c040d7092dcdc68fe1e640a759123b306eff507 Auto-generated-cl: translation import
* | | | | | Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin2014-07-1656-248/+2036
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Import translations. DO NOT MERGEBaligh Uddin2014-07-1656-248/+2036
| |/ / / / | | | | | | | | | | | | | | | | | | | | Change-Id: I499617c1385457c1f844f73b042ef5c360ad14cc Auto-generated-cl: translation import
* | | | | Merge "Hook up system audio mode" into lmp-devJungshik Jang2014-07-167-54/+36
|\ \ \ \ \
| * | | | | Hook up system audio modeJungshik Jang2014-07-177-54/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever system audio mode is changed, it should notify to AudioManager so that AudioManager changes internal output or mute status accordingly. To have more clear cut between last setting and current system audio mode, renamed mSystemAudioMode into mSystemAudioActivated and added getLastSystemAudioMode() which returns last system audio mode value stored in global settings (NVM). Bug: 16002150 Change-Id: I5d01d879c1c5a9a3f4b0cf2d25e9e74c26c52fa0
* | | | | | Merge "Maybe fix issue #16167054: Wakelock is acquired and released in..." ↵Dianne Hackborn2014-07-161-1/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into lmp-dev
| * | | | | | Maybe fix issue #16167054: Wakelock is acquired and released in...Dianne Hackborn2014-07-161-1/+11
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...battery history even though CPU is in suspend There is a race in the power manager between noting a wake lock acquire and ensuring the device is staying awake. Change-Id: I3d76f99d73dca119b09f253f0e31448408c88a3c
* | | | | | Merge "Introduce RTT Manager" into lmp-devVinit Deshpande2014-07-166-3/+392
|\ \ \ \ \ \
| * | | | | | Introduce RTT ManagerVinit Deshpande2014-07-176-3/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
* | | | | | | Merge "Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 1 [DO ↵Chelsea Derrick2014-07-162-0/+12
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | NOT MERGE]" into lmp-dev
| * | | | | | Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 1 [DO NOT MERGE]Wenchao Tong2014-07-162-0/+12
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is very similar to the existing WifiManger.getConfiguredNetworks(), but it returns real preSharedKey. This API is only used by system application. Bug: 15703353 Change-Id: If3eaca3286e77b780272f42a28772d1d8d39db65 (cherry picked from commit 775bf6ae5d052948bcb60eaf89defa9105d7077c)
* | | | | | Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin2014-07-1655-495/+547
|\ \ \ \ \ \
| * | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-07-1655-495/+547
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I11c9c29232a06253d5edb83b02237ba9a9493213 Auto-generated-cl: translation import
* | | | | | Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin2014-07-1655-55/+151
|\ \ \ \ \ \
| * | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-07-1655-55/+151
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3abf5d2591425f79a3b1afa86f161d4a5e197796 Auto-generated-cl: translation import
* | | | | | Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin2014-07-162-7/+7
|\ \ \ \ \ \
| * | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-07-162-7/+7
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I18d8bb62a43325d925743f8ef6e5ce7562485cf2 Auto-generated-cl: translation import
* | | | | | Merge "Expose network scoring APIs to /system apps." into lmp-devJeff Davidson2014-07-166-1/+11
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Expose network scoring APIs to /system apps.Jeff Davidson2014-07-166-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ideally, we'd only expose the methods that we intend unbundled apps to call (e.g. not NetworkScoreManager#setActiveScorer, which should only be called by Settings), but this isn't harmful in terms of permissions as the APIs still check security appropriately. Bug: 15833200 Change-Id: I2047515b41c8be0cf7cb51dd495fe72309c05f68
* | | | | | Revisit HDMI-CEC system audio mode in AudioService.Jungshik Jang2014-07-174-102/+14
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From recent feedback on HDMI-CEC system audio mode, it would be unnecessary to enforce output from AudioService. Instead, it would follow audio policy according to status of HDMI-CEC system audio mode. For that removed two params of setHdmiSystemAudioModeSupported api of AudioManager. In terms of speaker mute, it will be handled by removing speaker from audio ouput instead of changing gain control. For that added new force usage type, FOR_HDMI_SYSTEM_AUDIO_MODE and new force config type, FORCE_HDMI_SYSTEM_AUDIO_ENFORCED. This is used to notify change of system audio mode to audio policy manager. Bug: 16305986 Bug: 16002150 Change-Id: I5643ad093a651c951e12b567c6e11b88aa87cea2
* | | | | Merge "Make a network the default when it connects if we have no default." ↵Robert Greenwalt2014-07-161-10/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into lmp-dev
| * | | | | Make a network the default when it connects if we have no default.Paul Jensen2014-07-161-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a network comes online, is a candidate for being the default network (i.e. satisfies default NetworkRequest), and the device has no default network, then make the new network the default network for the purposes of routing network traffic. This does not affect NetworkRequests or NetworkCallbacks. This ignores but does not affect network validation. Benefits: 1. Offers a fail-safe in case network validation returns a false negative. For example: It would be nice if every Android device didn't fail when clients3.google.com/generate_204 went down. 2. Offers a method to debug connectivity issues. For example: If WiFi is failing, disabling Cellular would rule out interference from WiFi network validation. 3. Reduces delay between no connectivity and any connectivity. 4. Offers a fail-safe in cases of unreliable networks. For example: You need rescuing from a remote location with a weak signal offering 90% packet loss. You just want your distress call to go out but are infuriated to find network validation blocks connectivity. Change-Id: I78621a1fe8ed2a336591f65bf7b07a6cbcc7ba5e
* | | | | | Bug 16152902: Disabling FUL in keyguard and screen lock settingsBrian Colonna2014-07-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the framework change needed to switch from Face Unlock as a standard unlock mechanism to Face Unlock as a trustlet. This forces isBiometricWeakInstalled() to return false such that neither keyguard nor Screen Lock Settings thinks it exists. This means FUL is no longer a screen lock option. If Face Unlock was already enabled and someone updates to this build, the screen lock automatically switches to the backup lock. That functionality was already built-in so everything would continue to work if Face Unlock decided to disappear from someone's device. Change-Id: I407f6e1d75bfe40c7142c2508c2d68867e02d858
* | | | | | Fix LocalePicker backgroundFabrice Di Meglio2014-07-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use the background defined by the Theme See bug: #13140648 Settings needs to support the new Quantum Paper theme Change-Id: I30f1146fbcb57088a62c999dce349d1f85510427
* | | | | | Merge "Unhide new MMS API and SMS storage API (1/2)" into lmp-devYe Wen2014-07-161-0/+66
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Unhide new MMS API and SMS storage API (1/2)Ye Wen2014-07-161-0/+66
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | b/14095333 Change-Id: Id7aca41ccc7eae13ddfa8c6835fe8b299b1e83a5
* | | | | MediaRecorder: added constants for WEBM outputRobert Shih2014-07-162-0/+9
| |/ / / |/| | | | | | | | | | | Change-Id: Iacbb55bda71bb6da98244255bf2a4c34c7342fb0
* | | | Merge "AudioService: Use device specific mode to open SCO audio" into lmp-devEric Laurent2014-07-151-7/+37
|\ \ \ \