152777 Commits

Author SHA1 Message Date
Paul Jensen
c91b5348a5 Flush HTTP socket pools and DNS cache when binding process to a Network.
Future HTTP requests could use an old socket that's bound to a different Network
causing unexpected results.  DNS results could also not be appropriate.

bug:17283566
bug:17432215
Change-Id: I88b40b723c7b442000cafe8ce8b9d989d8995991
2014-09-10 18:26:25 +00:00
Jorim Jaggi
f18271cb30 Fix PIN/PUK flow
Bug: 17411293
Change-Id: Ib9e99ba5d982704fc0b8201aa90a664501a34b81
2014-09-10 20:21:14 +02:00
Robert Ly
0adb8bb0a2 am 5debe44b: am 0743bca5: docs: add 64k method limit note
* commit '5debe44b88e41b61ecbbc48c60a006cd6abd734d':
  docs: add 64k method limit note
2014-09-10 18:16:12 +00:00
Matthew Williams
319fb23e45 am 3ea66322: Merge "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager" into lmp-dev
* commit '3ea6632298fadd3e695945a2e486b52ff79a4d7b':
  Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager
2014-09-10 18:11:21 +00:00
Matthew Williams
f1dc6860ff Merge "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager" into lmp-dev 2014-09-10 18:04:17 +00:00
Robert Ly
5debe44b88 am 0743bca5: docs: add 64k method limit note
* commit '0743bca58961582078f4e8199fe9a6fa044036eb':
  docs: add 64k method limit note
2014-09-10 18:04:16 +00:00
Raph Levien
5a689ce78e Remove auto spaceifying behavior on paste
The paste action contained some logic to automatically insert or remove
spaces, basically to emulate the semantics of the text being a sequence
of space-separated words. This was never universally loved, and gives
particularly unexpected behavior with a hardware keyboard.

This patch simply removes the logic to automatically adjust spaces on
paste, so what gets pasted is simply the literal buffer contents.

Bug: 16900326
Bug: 3304489
Change-Id: I5cdf9c43d98a17aa708883b47245aa7929a124d2
2014-09-10 11:03:18 -07:00
Jeff Davidson
0f9e87b65d am cfd0e5c1: Merge "Update unclear Fragment Javadoc." into lmp-dev
* commit 'cfd0e5c15a752fec962bee3b82b10cf95bb90315':
  Update unclear Fragment Javadoc.
2014-09-10 17:54:08 +00:00
Matthew Williams
86f0c21417 Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager
BUG: 17359770
Reuse the Manifest.permission.ACCOUNT_MANAGER to protect this receiver,
because when this intent lands it kicks off a sync for every account/provider
on the device.
Semantically this means "if you can't talk to an authenticator to do things like
get a token or add an account, then you can't send an intent to the SyncManager
that the accounts on the device have changed in some drastic way"

Change-Id: I7eccc38e135cb00ebb0aafc69afc802fe1c4f219
2014-09-10 10:53:14 -07:00
Robert Ly
0743bca589 docs: add 64k method limit note
Change-Id: I6590fc996331c1f2024276d338c4035f2cb0f18d
2014-09-10 10:50:46 -07:00
Jeff Davidson
6cb95276c3 Merge "Update unclear Fragment Javadoc." into lmp-dev 2014-09-10 17:46:21 +00:00
Robert Greenwalt
35f7a94c84 Don't accept score below 0.
Network Factories are allowed to go below, but networks need to be
constrained.  Allowing the network to go below 0 meant that -1 could
sometimes leak through and foul the logic.

The core of 17361330 will be fixed when we stop sending scores for
listens to NetworkFactories, but it exposed this issue too.  Summary:

1 - add a network listener.  This isn't  a request so it's not sent
to networks.
2 - alter your score (ethernet sets score to -1 when the link goes
down) (16:07:39.782)
3 - a bug in ConnectivityService causes score changes to get sent for
all network requests and network listeners causing NetworkFactories
to no see 2 entities.  This bug will be fixed by a pending change
(https://googleplex-android-review.googlesource.com/#/c/540840/).
This causes the ethernet NetworkFactory to see two entities, both
served by networks of score -1.  (16:07:39.989)
4 - disconnect Ethernet - this only sends 0 scores for known
requests, not network listeners.  Had it been sent for both entities
they both would have evaluated that the networkfactory score (-1)
was lower than the request score (0) and both released their
refcount. (16:08:03.147)
5 - this means the listener is tracked by the EthernetNetworkFactory
with a score of -1 while the factory itself has a score of -1 so the
network release isn't called.

bug:17361330
Change-Id: Ife34ca0f9c233dd3c3df80f6fea580af43afcdeb
2014-09-10 10:39:37 -07:00
Jean-Michel Trivi
d16dc0a1d3 am 6fa0947a: Merge "Virtualizer: replace device type by virtualization mode" into lmp-dev
* commit '6fa0947a589d193b95097e7bb966cdb80eb49a53':
  Virtualizer: replace device type by virtualization mode
2014-09-10 17:32:16 +00:00
Eric Laurent
b2480c189f am c5db63b6: Merge "Hide AudioDevice class" into lmp-dev
* commit 'c5db63b67a64b8319ce35a4e83770db6a5367fbe':
  Hide AudioDevice class
2014-09-10 17:32:11 +00:00
Jorim Jaggi
8136912835 am bf763e77: Merge "Remove some overdraw in Keyguard" into lmp-dev
* commit 'bf763e77177f172dcb1d7590dd1855d53ff0d2e5':
  Remove some overdraw in Keyguard
2014-09-10 17:32:06 +00:00
Jorim Jaggi
5be6fb312e am 07291645: Merge "Fix QS interception on tablets" into lmp-dev
* commit '07291645ca6479b6ba8f83c95c137602dfd20ddb':
  Fix QS interception on tablets
2014-09-10 17:32:01 +00:00
Craig Mautner
6e2f395a86 Wait for animation complete before completing boot
Defer the boot process in ActivityManagerService,
WindowManagerService and PowerManagerService until the boot
animation has completed.

Fixes bug 16309312.

Change-Id: Ic5e0d627ca4ded3e211c5d2afece89da40d34642
2014-09-10 10:29:39 -07:00
Jean-Michel Trivi
f35423bb4e Merge "Virtualizer: replace device type by virtualization mode" into lmp-dev 2014-09-10 17:29:20 +00:00
Eric Laurent
b94b5d33b2 Merge "Hide AudioDevice class" into lmp-dev 2014-09-10 17:28:56 +00:00
Jorim Jaggi
1145748e5e Merge "Remove some overdraw in Keyguard" into lmp-dev 2014-09-10 17:22:53 +00:00
Jorim Jaggi
ebd8589406 Merge "Fix QS interception on tablets" into lmp-dev 2014-09-10 17:22:42 +00:00
Ruben Brunk
07fb533934 am 17fcb255: Merge "camera2: Fix preview stretching in LEGACY mode." into lmp-dev
* commit '17fcb2556b1c04a42398738dcc1ad491b3597aa7':
  camera2: Fix preview stretching in LEGACY mode.
2014-09-10 17:21:27 +00:00
Alexandra Gherghina
03e1e83697 Bugfix: use the correct user for ContentResolver calls
Bug: 16860604
Change-Id: I2de228442b7bd824a115f56a24d682d346737976
2014-09-10 18:13:12 +01:00
Ruben Brunk
a3256cd3e7 Merge "camera2: Fix preview stretching in LEGACY mode." into lmp-dev 2014-09-10 17:11:21 +00:00
Esteban Talavera
fd613ae9ea am 55bffb50: Merge "Update string value for provisioning action and extra" into lmp-dev
* commit '55bffb5041e18f2cf6884841165c2bbaf9576b98':
  Update string value for provisioning action and extra
2014-09-10 17:06:21 +00:00
Jorim Jaggi
7b60d89710 am bf671114: Merge "Don\'t let two closing animations run at the same time" into lmp-dev
* commit 'bf671114aa8cd713ff915dbd1403e077821c07f8':
  Don't let two closing animations run at the same time
2014-09-10 17:06:15 +00:00
Jorim Jaggi
53251ed4ac Remove some overdraw in Keyguard
Bug: 17287256
Change-Id: I0bc4101713f83abc2738528c247ca8ce5748bff1
2014-09-10 19:00:22 +02:00
Selim Cinek
cfc91cf264 Fixed a bug where the drag down animation was behaving wrong
Since we actually only need to animate the yCoordinate in
the drag down motion, some clipping artefacts were left
in certain cases.

Bug: 17345758
Change-Id: I659a64b7ae5c7abcfa04c20347ec56a2d5f4f75c
2014-09-10 18:52:08 +02:00
Esteban Talavera
df980618a3 Merge "Update string value for provisioning action and extra" into lmp-dev 2014-09-10 16:26:50 +00:00
Jorim Jaggi
0c85e8676e Fix QS interception on tablets
Only intercept when touching on the panel and not on the left or
right of the panel. Fixes a bug where the user couldn't dismiss the
panel by tapping outside.

Bug: 17437547
Change-Id: Ice484a301683fa2df1f2a21f13977023b48189f4
2014-09-10 18:22:24 +02:00
Jean-Michel Trivi
60f22fbf67 Do not restore the media button event receiver
Do not restore the media button event receiver on behalf of the
  application that registered. Prevents reported vulnerability.

Bug 15428797

Change-Id: If40ee6bc0c77c191643129daa92eb26755e70cb0
2014-09-10 09:15:50 -07:00
Selim Cinek
237a70153b Fixed a bug where the notifications and the clock could jump
When the QS panel was expanded, the Notifications and the
clock were not positioned, leading to a jump on the next
layout when any notification came in or was swiped out.

Bug: 17315258
Change-Id: I19276054e8c0a364a452d2041c1c4af858ba32b7
2014-09-10 18:12:18 +02:00
Jorim Jaggi
6658b159db Merge "Don't let two closing animations run at the same time" into lmp-dev 2014-09-10 15:48:45 +00:00
Selim Cinek
146e8eaaab am abe5f130: Merge "Fixed unnecessary layer creations in the pin unlock method" into lmp-dev
* commit 'abe5f1300b333b9120d7d120b0cec6cca96b778f':
  Fixed unnecessary layer creations in the pin unlock method
2014-09-10 15:10:17 +00:00
Jason Monk
05c91fde2e am 89551fab: Merge "Fix blank QS Panel after double tap on profile icon" into lmp-dev
* commit '89551fab5725e7c67002f894bdf8933c00a9c409':
  Fix blank QS Panel after double tap on profile icon
2014-09-10 15:10:12 +00:00
Jason Monk
22392ebccc am 1c52586c: Merge "Update zen mode and qs strings on locale change" into lmp-dev
* commit '1c52586cb3273f419d9e70a884823c411abacf73':
  Update zen mode and qs strings on locale change
2014-09-10 15:10:08 +00:00
Jason Monk
e746b503ae am 473d27fa: Merge "Move zen mode constants and code to framework" into lmp-dev
* commit '473d27fa34875083dfea48e933c2e9300979c64a':
  Move zen mode constants and code to framework
2014-09-10 15:10:02 +00:00
Selim Cinek
ef88f708f9 Merge "Fixed unnecessary layer creations in the pin unlock method" into lmp-dev 2014-09-10 15:08:33 +00:00
Jorim Jaggi
98139559af Don't let two closing animations run at the same time
Fixes a flash when clicking on a single notification.

Bug: 17450892
Change-Id: Ia99c21a0bb30ce100532cfab66c96ec24f2412bf
2014-09-10 17:05:19 +02:00
Jason Monk
bd2ffe8f77 Merge "Fix blank QS Panel after double tap on profile icon" into lmp-dev 2014-09-10 15:01:00 +00:00
Jason Monk
0875a782ad Merge "Update zen mode and qs strings on locale change" into lmp-dev 2014-09-10 15:00:31 +00:00
Jason Monk
c8e4fa41f2 Merge "Move zen mode constants and code to framework" into lmp-dev 2014-09-10 15:00:20 +00:00
John Spurlock
5bb9f01f90 am 82126845: Merge "Zen: make Condition available over @SystemApi" into lmp-dev
* commit '821268455ca57051983c0e5f8cc24695033be174':
  Zen: make Condition available over @SystemApi
2014-09-10 14:54:37 +00:00
John Spurlock
3e5d59c365 Merge "Zen: make Condition available over @SystemApi" into lmp-dev 2014-09-10 14:46:20 +00:00
John Spurlock
9034f2452b Zen: make Condition available over @SystemApi
Fix build.

Bug:16819503
Change-Id: I011723a770a9a8b7fc8124defd56137ec5f1704e
2014-09-10 10:42:13 -04:00
Selim Cinek
6380482d08 Fixed unnecessary layer creations in the pin unlock method
This was especially noticible when double tapping a notification
because of the staggered appearing.

Bug: 17287256
Change-Id: I8f39892fa122bb8b7b6f2a7b1e7be8a9570e661e
2014-09-10 16:39:01 +02:00
George Mount
5a3be5f99d am 1fac2ba1: Merge "Use intrinsic size for path animation in AnimatedVectorDrawable" into lmp-dev
* commit '1fac2ba1c9577f88cf93e88794780af9b5eacb1b':
  Use intrinsic size for path animation in AnimatedVectorDrawable
2014-09-10 14:38:03 +00:00
George Mount
078564506f am bfbb5882: Merge "Fix fade transition not working with Activity Transitions." into lmp-dev
* commit 'bfbb5882cb2e11d9a201e4f5ade6a3fe9f43e6b0':
  Fix fade transition not working with Activity Transitions.
2014-09-10 14:37:58 +00:00
George Mount
b7d63aedf5 Merge "Use intrinsic size for path animation in AnimatedVectorDrawable" into lmp-dev 2014-09-10 14:30:17 +00:00
George Mount
cb0567f98c Merge "Fix fade transition not working with Activity Transitions." into lmp-dev 2014-09-10 14:29:59 +00:00