148374 Commits

Author SHA1 Message Date
John Reck
4a5ccead04 Merge "Implement full View.buildLayer" into lmp-dev 2014-08-16 04:32:18 +00:00
John Reck
3e8249568c Implement full View.buildLayer
Bug: 17152292

Change-Id: Ia3cc2aadf72fe14517f50762fc634794df51ad5a
2014-08-20 15:54:07 -07:00
Alan Viverette
f4b4616ddb Merge "Forward additional drawable methods in AVD" into lmp-dev 2014-08-20 21:47:20 +00:00
Alan Viverette
06cd7dce24 Forward additional drawable methods in AVD
BUG: 17156349
Change-Id: I1d7b41fc8d0399b31db4cf21aa47180e96bfbcfe
2014-08-20 13:44:44 -07:00
Jason Monk
abc2358778 Merge "Lock task doesn't always end properly." into lmp-dev 2014-08-20 20:15:45 +00:00
Sailesh Nepal
163a80538e Merge "Clean up and fix bugs in ConnectionService.createConnection" into lmp-dev 2014-08-20 21:39:11 +00:00
Tenghui Zhu
72a8e26257 Merge "Revert "Revert "Update indeterminate linear progress bar""" into lmp-dev 2014-08-20 21:47:20 +00:00
Jeff Brown
49cb613c99 Reset auto-brightness setting to default.
Reset the auto-brightness setting to default since the behavior
of the feature is now quite different and is being presented to
the user in a new way as "adaptive brightness".

Bug: 17114082
Change-Id: Ica63f4caaaf50ad95dc9df88bb376f79782976f7
2014-08-20 14:45:38 -07:00
Jeff Brown
f1b2335a36 Only select bluetooth route by default when A2DP is enabled.
Bug: 15756471
Change-Id: I822e51742e009b473000b8d67ec9c9a81c39b702
2014-08-20 14:45:38 -07:00
Michael Wright
101717fc9d Add cleanspec for inputflinger removal
Change-Id: I4fe5ca7f8024d3a8d68eea6070d8c508501da280
2014-08-20 21:09:41 +00:00
Tenghui Zhu
d750563a34 Revert "Revert "Update indeterminate linear progress bar""
This reverts commit f010cb690c49887ba8fc6f925c468b8fa865a4c1.

Change-Id: I9e36ddf046eb0ff07fc736da2498e1669c8821f1
2014-08-20 21:02:09 +00:00
Jason Monk
835495c117 Lock task doesn't always end properly.
This can result in the keyguard not being re-enabled, the status
bar being in a bad state, and various other weirdness.  When a task
is going away, it needs to send the standard lock task ending
messages so that exiting the state can be handled properly.

Bug: 16010327
Change-Id: Id7ee632f4765af0af209b70fb69dd75f2e541820
2014-08-20 15:29:06 -04:00
Sailesh Nepal
cf7020b7e8 Clean up and fix bugs in ConnectionService.createConnection
This CL fixes serveral issues with the createConnection code:
  - it uses failureCode/failureMessage which were never set.
    Renamed to disconnectCode and disconnectMessage and set
    those fields in Connection.setDisconnected
  - Connection.CANCELED_CONNECTION was static and it caused
    lots of log spew which was confusing. Changed to create
    a new connection every time, same as failure
  - moved sNullConnection from Connection to ConnectionService
  - made FailureSignalingConnection private and removed type
    checks for it. Using disconnect code is better, this is
    already what ConnectionServiceWrapper does

Note, the current code still expects connections to be cancelled
or failed in synchronously. This bug is being tracked separately.

Bug: 17156304
Change-Id: I0b13a78b738c4bf37a69de9fd5dcd17be0c45c14
2014-08-20 10:45:08 -07:00
Robert Greenwalt
6dbe512eaa Merge "Add config resource to overlay tcp buffer sizes." into lmp-dev 2014-08-16 04:32:18 +00:00
Robert Greenwalt
db1bd633dc Add config resource to overlay tcp buffer sizes.
bug:16549611
Change-Id: I10b202073d0a09b3f5e43427826256eecb9534dd
2014-08-19 18:46:35 -07:00
John Spurlock
73f84480af Merge "Zen: Remove "allow disable" filter from noman." into lmp-dev 2014-08-16 04:32:18 +00:00
John Spurlock
dd753c00d5 Zen: Remove "allow disable" filter from noman.
No longer used by dialer.

Bug:15344099
Change-Id: Ib2d00804f671fae520303531e8ccde9e44f817ec
2014-08-19 16:16:58 -04:00
George Mount
cd02b48b3d Merge "Set start transform before animator starts." into lmp-dev 2014-08-18 21:31:41 +00:00
George Mount
dbe3655c0b Set start transform before animator starts.
Bug 16958319

ChangeImageTransform was waiting until the animator started
before setting the image matrix. Animators with a
start delay would leave the ImageView with the final transform
before the animator started.

Change-Id: I5ebc03b58a8697da3edf4a01c8906d60e7938f44
2014-08-19 16:43:45 +00:00
Robert Greenwalt
35228d72e1 Merge "Avoid reusing a currently active NetID." into lmp-dev 2014-08-16 04:32:18 +00:00
Robert Greenwalt
1bbcaa0fc4 Merge "Fix listening NetworkRequests to listen for all networks." into lmp-dev 2014-08-20 20:15:45 +00:00
Robert Greenwalt
c671c8ded6 Merge "Add missing break statements to avoid unnecessary network validation." into lmp-dev 2014-08-20 20:15:45 +00:00
Robert Greenwalt
0d39e6722b Merge "Fix CS/NetworkMonitor race." into lmp-dev 2014-08-20 20:15:45 +00:00
Jason Monk
e1bf163c1e Merge "Fix SOCKS proxies from being dropped from PAC" into lmp-dev 2014-08-20 20:15:45 +00:00
Paul Jensen
60061a6ebf Avoid reusing a currently active NetID.
There are only a limited number (65526) of NetIDs so the chance for reusing
one exists.  Reusing a currently active NetID will cause problems like netd
failures and overwriting entries in mNetworkForNetId.

bug:16815182

Change-Id: Ib75302beae3179c3f3b90c345cf4d2cf5f4ad2be
2014-08-20 19:23:59 +00:00
Robert Greenwalt
73ed9d8dee Fix CS/NetworkMonitor race.
If we have a message in flight about a NetworkAgentInfo when it gets disconnected
we are left with a zombie network.  Fixes this by verifing the network is still
live before we process the msg.

bug:17142206
Change-Id: I2c94a39b3ea97c1562066571b277280c1f69f71c
2014-08-20 09:30:15 -07:00
Jason Monk
4385af32ef Fix SOCKS proxies from being dropped from PAC
It seems that SOCKS isn't being handled explicitly by the
PacProxySelector, which results in them just being dropped
from the return list.  This will sometimes end up switching
from SOCKS to DIRECT, which could be bad.

Bug: 17104885
Change-Id: Ic8a28230d3ae18c0abb000811a9100787c10c5e0
2014-08-20 12:21:56 -04:00
Paul Jensen
0311b2b31a Fix listening NetworkRequests to listen for all networks.
This is a small change but should fix a number of functional problems:
1. When registering a listening NetworkRequest and when a Network is
   validated, we should always add the listening NetworkRequest to the
   Network's list of NetworkRequests if the Network satisfies the
   NetworkRequest.  Previously in both cases this was only done for
   the highest scoring network.  This enables the listening
   NetworkRequest to listen for all networks, not just the highest
   scoring network.
2. No longer add listening NetworkRequests to mNetworkForRequestId as
   it doesn't make sense as it's a 1:1 mapping but listening
   NetworkRequests to Networks is a many:many mapping.
3. Don't "keep" a Network that's finished validating when only a
   listening NetworkRequest requests it.
4. Don't send updated scores to NetworkFactories from listening
   NetworkRequests.  NetworkFactories and NetworkAgents shouldn't
   concern themselves with listening NetworkRequests.

bug:16680764
Change-Id: Iaba14263227771e4bd84ee4bce488beaef20a8a3
2014-08-20 14:46:11 +00:00
Paul Jensen
d6a3f7ed90 Add missing break statements to avoid unnecessary network validation.
The missing break statements were causing unnecessary network
validation for VPNs and networks that don't provide internet access.

bug:16680764
Change-Id: I714bacdff350a818f7bfba2f505b95c4b3559699
2014-08-20 10:12:50 -04:00
Lorenzo Colitti
35f39b6660 Merge "Stop using LinkProperties for static configuration." into lmp-dev 2014-08-16 04:32:18 +00:00
Lorenzo Colitti
0a82e80073 Stop using LinkProperties for static configuration.
LinkProperties can represent way more complicated configurations
than what we can actually apply to interfaces. This makes it
error-prone to use it to represent static configuration, both
when trying to apply configuration coming from LinkProperties
and when trying to save configuration from current
LinkProperties.

Instead, move static configuration (IPv4 only, since we don't
support static IPv6 configuration) into a separate
StaticIpConfiguration class.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
2014-08-19 11:59:43 -07:00
Chris Craik
13600f9ed4 Merge "Don't cast shadows from gradients with transparent parts" into lmp-dev 2014-08-19 15:47:37 +00:00
Jesse Hall
efa5a01dc6 am 87978406: (-s ours) am df7af46a: VirtualDisplayAdapter: Set the transaction surface even if NULL
* commit '87978406b405cafc773703b7c849e372339527b8':
  VirtualDisplayAdapter: Set the transaction surface even if NULL
2014-08-19 19:12:08 +00:00
Chris Craik
c49e3ce6c6 Don't cast shadows from gradients with transparent parts
bug:17070982
Change-Id: I607dd3c9397845fce53b7f097ec0b57246077ea1
2014-08-19 11:11:11 -07:00
Jesse Hall
87978406b4 am df7af46a: VirtualDisplayAdapter: Set the transaction surface even if NULL
* commit 'df7af46a4c034410dd1544415c3dcf19edef82e3':
  VirtualDisplayAdapter: Set the transaction surface even if NULL
2014-08-19 16:31:17 +00:00
Jesse Hall
df7af46a4c VirtualDisplayAdapter: Set the transaction surface even if NULL
Bug: 17116728
Change-Id: I55e4a2e575cfd3788fbdb90b050dac486976c1b6
2014-08-19 09:18:40 -07:00
Shishir Agrawal
a34bdb18c5 Merge "Add public qualifier to TelephonyManager.TeleiccExchangeSimIO." into lmp-dev 2014-08-19 02:43:23 +00:00
Andrew Solovay
eb60d0f193 am 94174ff7: am 8319455a: Merge "docs: Documented new fields returned by getSkuDetails()." into klp-modular-docs
* commit '94174ff788cc6a4f79e2026d7d0995f75246a2de':
  docs: Documented new fields returned by getSkuDetails().
2014-08-18 21:19:37 +00:00
Andrew Solovay
94174ff788 am 8319455a: Merge "docs: Documented new fields returned by getSkuDetails()." into klp-modular-docs
* commit '8319455afca3dc4c8f799d7752dfa44780cf8855':
  docs: Documented new fields returned by getSkuDetails().
2014-08-18 21:08:17 +00:00
Ricardo Cervera
cce5036cb0 am 88a1f40c: am fb1f5bde: docs: Removing radio from music intents
* commit '88a1f40c5d6111c74feb8e3022ffdccbf489a2e4':
  docs: Removing radio from music intents
2014-08-18 19:38:16 +00:00
Ricardo Cervera
88a1f40c5d am fb1f5bde: docs: Removing radio from music intents
* commit 'fb1f5bdef03844547152f921dcaa044269b5a0cb':
  docs: Removing radio from music intents
2014-08-18 19:28:02 +00:00
Ricardo Cervera
fb1f5bdef0 docs: Removing radio from music intents
Change-Id: Iaf645d692b247994dd8c12835c387ff296b26019
2014-08-18 12:13:04 -07:00
Ricardo Cervera
f960409f3b am 72ca94ee: am d0842384: docs: Updated links for Android Studio 0.8.6
* commit '72ca94ee29c71541b7628c44f44ef5cddff9a6e9':
  docs: Updated links for Android Studio 0.8.6
2014-08-18 16:49:18 +00:00
Ricardo Cervera
72ca94ee29 am d0842384: docs: Updated links for Android Studio 0.8.6
* commit 'd0842384cb9d6a19f129434457c88de64f2b0b06':
  docs: Updated links for Android Studio 0.8.6
2014-08-18 16:40:01 +00:00
Ricardo Cervera
d0842384cb docs: Updated links for Android Studio 0.8.6
Change-Id: Ic01263930b94232445704c03854414bd07ca4c33
2014-08-18 09:03:59 -07:00
Deepanshu Gupta
da9baa15bf am d519f742: am b6c923a2: am 59eedf52: Layoutlib: Update wifi and battery icon for KK
* commit 'd519f7424fd2faad371e7678b3dc11114fa5222f':
  Layoutlib: Update wifi and battery icon for KK
2014-08-16 06:04:07 +00:00
Deepanshu Gupta
d519f7424f am b6c923a2: am 59eedf52: Layoutlib: Update wifi and battery icon for KK
* commit 'b6c923a2dfd86eb56a8f83d5a27f21996331e436':
  Layoutlib: Update wifi and battery icon for KK
2014-08-16 05:53:49 +00:00
Deepanshu Gupta
b6c923a2df am 59eedf52: Layoutlib: Update wifi and battery icon for KK
* commit '59eedf528ca29a32b6d7f358f5076929f8fbb164':
  Layoutlib: Update wifi and battery icon for KK
2014-08-16 05:45:42 +00:00
Adrian Roos
fd3b324feb Merge "Implement trust managed visuals" into lmp-dev 2014-08-16 04:29:45 +00:00
Adrian Roos
2e3ccbb37e Implement trust managed visuals
Updates the trust managed indicator to match the
speced visuals and behavior.

Bug: 15519687
Change-Id: I2be04e8b37f3b5d9865ae4d25b46222cafadd113
2014-08-20 18:54:25 +02:00