142801 Commits

Author SHA1 Message Date
Lorenzo Colitti
20ceb90373 Disable logging in NetlinkTracker.
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
2014-07-17 01:43:39 +00:00
Amith Yamasani
ebf1fd99d6 Allow content provider access across users
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
2014-07-16 17:47:40 -07:00
Chris Craik
889fc94ffa Merge "Add accessibility text contrast setting" into lmp-dev 2014-07-16 21:54:23 +00:00
Chris Craik
cce47eb580 Add accessibility text contrast setting
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
2014-07-16 18:25:23 -07:00
Santos Cordon
98b270309a Add toString & equals helper methods to PhoneAccount.java
Bug: 16292368
Change-Id: I5dd2bcd2d65e856107ac2f80958e8b408abcec0b
2014-07-17 01:21:23 +00:00
Baligh Uddin
3bd60f44f5 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-16 23:30:53 +00:00
Baligh Uddin
b9710c3d07 Import translations. DO NOT MERGE
Change-Id: I65d3cba5b90678cfde9440628ac7fe5f964d2dc6
Auto-generated-cl: translation import
2014-07-16 18:06:24 -07:00
Robert Greenwalt
6d246a9daf Merge "Make a network the default when it connects if we have no default." into lmp-dev 2014-07-16 22:40:33 +00:00
Brian Colonna
a0ee004abf Bug 16152902: Disabling FUL in keyguard and screen lock settings
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
2014-07-16 23:53:21 +00:00
Fabrice Di Meglio
4c23cb1aca Fix LocalePicker background
- use the background defined by the Theme

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I30f1146fbcb57088a62c999dce349d1f85510427
2014-07-16 23:44:15 +00:00
Paul Jensen
27b02b7aba Make a network the default when it connects if we have no default.
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
2014-07-16 16:12:16 -07:00
Ye Wen
36f36af9d4 Merge "Unhide new MMS API and SMS storage API (1/2)" into lmp-dev 2014-07-16 22:30:55 +00:00
Ye Wen
1b5e3f8a6d Unhide new MMS API and SMS storage API (1/2)
b/14095333

Change-Id: Id7aca41ccc7eae13ddfa8c6835fe8b299b1e83a5
2014-07-16 16:06:23 -07:00
John Spurlock
0e05ced66c Merge "QS: Deal with null uuids in BT controller." into lmp-dev 2014-07-16 22:04:55 +00:00
John Spurlock
27bdff7750 QS: Deal with null uuids in BT controller.
Fix crash when the device is no longer available.

Bug:16355690
Change-Id: I1cf652a408fa221649950d728bc88dd93fc93b65
2014-07-16 21:19:41 -04:00
Jungshik Jang
bcc0eae1dc Merge "Hook up system audio mode" into lmp-dev 2014-07-16 23:30:53 +00:00
Jungshik Jang
377dcbd53a Hook up system audio mode
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
2014-07-17 10:12:14 +09:00
Jungshik Jang
12307ca810 Revisit HDMI-CEC system audio mode in AudioService.
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
2014-07-17 09:27:25 +09:00
Dianne Hackborn
8c141f7948 Merge "Maybe fix issue #16167054: Wakelock is acquired and released in..." into lmp-dev 2014-07-16 23:42:05 +00:00
Dianne Hackborn
0d192a9e27 Maybe fix issue #16167054: Wakelock is acquired and released in...
...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
2014-07-16 17:51:06 -07:00
Vinit Deshpande
7effa118e0 Merge "Introduce RTT Manager" into lmp-dev 2014-07-16 23:37:00 +00:00
Vinit Deshpande
7686c061b7 Introduce RTT Manager
Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
2014-07-17 00:45:20 +00:00
Chelsea Derrick
4ad11abac3 Merge "Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 1 [DO NOT MERGE]" into lmp-dev 2014-07-16 23:42:05 +00:00
Wenchao Tong
758bdf4a91 Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 1 [DO NOT MERGE]
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)
2014-07-16 17:43:43 -07:00
Baligh Uddin
6d32e72523 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-16 23:37:00 +00:00
Baligh Uddin
02b73a5f02 Import translations. DO NOT MERGE
Change-Id: I11c9c29232a06253d5edb83b02237ba9a9493213
Auto-generated-cl: translation import
2014-07-16 17:36:26 -07:00
Baligh Uddin
13105e94bf Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-16 23:37:00 +00:00
Baligh Uddin
d1597c4f5f Import translations. DO NOT MERGE
Change-Id: I3abf5d2591425f79a3b1afa86f161d4a5e197796
Auto-generated-cl: translation import
2014-07-16 17:37:09 -07:00
Baligh Uddin
fdde4c5937 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-16 23:30:53 +00:00
Baligh Uddin
16c14533cd Import translations. DO NOT MERGE
Change-Id: I18d8bb62a43325d925743f8ef6e5ce7562485cf2
Auto-generated-cl: translation import
2014-07-16 17:39:00 -07:00
Jeff Davidson
58fba8b14b Merge "Expose network scoring APIs to /system apps." into lmp-dev 2014-07-16 23:37:00 +00:00
Jeff Davidson
7be8e9725f Expose network scoring APIs to /system apps.
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
2014-07-16 17:24:46 -07:00
Baligh Uddin
12eb1ff790 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-16 22:04:55 +00:00
Baligh Uddin
caa601385e Import translations. DO NOT MERGE
Change-Id: I8c040d7092dcdc68fe1e640a759123b306eff507
Auto-generated-cl: translation import
2014-07-16 18:07:09 -07:00
Baligh Uddin
28618a384c Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-16 23:42:05 +00:00
Baligh Uddin
fa8d78019c Import translations. DO NOT MERGE
Change-Id: I499617c1385457c1f844f73b042ef5c360ad14cc
Auto-generated-cl: translation import
2014-07-16 18:13:44 -07:00
kmccormick
1f4e56869c am 289d3c25: am fc8a3b5f: Merge "Doc Update: new Smack sample." into klp-modular-docs
* commit '289d3c253eafe09a2ba3614aeeb8ba80539175b7':
  Doc Update: new Smack sample.
2014-07-16 21:36:07 +00:00
David Friedman
8b51d07ffa am a827c738: am 046702ba: A linebreak had somehow wrongly replaced a blank space. Blank space restored.
* commit 'a827c7383273194c0dea1b5cc94e85285ee22afd':
  A linebreak had somehow wrongly replaced a blank space. Blank space restored.
2014-07-16 21:36:03 +00:00
kmccormick
289d3c253e am fc8a3b5f: Merge "Doc Update: new Smack sample." into klp-modular-docs
* commit 'fc8a3b5f06fe725ed561fb3535efd02b16c526ea':
  Doc Update: new Smack sample.
2014-07-16 21:17:15 +00:00
David Friedman
a827c73832 am 046702ba: A linebreak had somehow wrongly replaced a blank space. Blank space restored.
* commit '046702ba57c34893e058674dc36192796af20da7':
  A linebreak had somehow wrongly replaced a blank space. Blank space restored.
2014-07-16 21:17:12 +00:00
David Friedman
046702ba57 A linebreak had somehow wrongly replaced a blank space. Blank space restored.
Change-Id: Iab27ee6676b53a71538020219aa67c66d45cbfab
(cherry picked from commit fe545cdb4e9d49d8cf58626ef77709abecf8f26b)
2014-07-16 19:57:44 +00:00
David Friedman
c6474d97cc am fe545cdb: A linebreak had somehow wrongly replaced a blank space. Blank space restored.
* commit 'fe545cdb4e9d49d8cf58626ef77709abecf8f26b':
  A linebreak had somehow wrongly replaced a blank space. Blank space restored.
2014-07-16 19:50:24 +00:00
David Friedman
fe545cdb4e A linebreak had somehow wrongly replaced a blank space. Blank space restored.
Change-Id: Iab27ee6676b53a71538020219aa67c66d45cbfab
2014-07-16 12:33:55 -07:00
Robert Ly
f3c3edfee8 am bafdb900: am 82088d62: Merge "docs: add EU legal notice" into klp-modular-docs
* commit 'bafdb90070bf3f5120599efd322fdd20a31e84ef':
  docs: add EU legal notice
2014-07-16 19:28:57 +00:00
Robert Ly
bafdb90070 am 82088d62: Merge "docs: add EU legal notice" into klp-modular-docs
* commit '82088d62f81a1d842bdb2d285ed578c562b20edd':
  docs: add EU legal notice
2014-07-16 19:23:46 +00:00
Quddus Chong
6743f1ea92 am 1a2a9730: am f0d8c6fc: Merge "docs: Fixed small typo. bug: 14617866" into klp-modular-docs
* commit '1a2a9730e605e5a3ea46db1049bf950a669cb0d3':
  docs: Fixed small typo. bug: 14617866
2014-07-16 18:17:18 +00:00
Quddus Chong
1a2a9730e6 am f0d8c6fc: Merge "docs: Fixed small typo. bug: 14617866" into klp-modular-docs
* commit 'f0d8c6fcae7176fd99e9e10bbe9e494c18860cfd':
  docs: Fixed small typo. bug: 14617866
2014-07-16 18:13:19 +00:00
Chris Smith
23a0b3d9d5 am 211c5844: am 7a047941: docs: Fix minor issues with Wear data events docs.
* commit '211c58448e21ad210a497658fdf1dd26b0c96faf':
  docs: Fix minor issues with Wear data events docs.
2014-07-16 18:13:14 +00:00
Chris Smith
211c58448e am 7a047941: docs: Fix minor issues with Wear data events docs.
* commit '7a04794186dcb679501a7a9383caae8df01428d0':
  docs: Fix minor issues with Wear data events docs.
2014-07-16 18:09:17 +00:00
Deepanshu Gupta
6c57fc3019 DO NOT MERGE - Fix LayoutLib.
This fixes a bad merge and contains partial cherrypicks of the following
commits to make LayoutLib working again:
103d40960daa0420995aa12881bef33892a0a2ab
803d77d8904a8fd66f0370cca6ed7f8b7cf68907
6a08225cee197e5baf80dd06dae46988db284122

Bug: 15987446
Change-Id: I41563305206d30ecdbc7f609c4b90d53edb42689
2014-07-16 10:23:28 -07:00