233418 Commits

Author SHA1 Message Date
Siyamed Sinir
0716d5f499 Email address autolink regex updates.
This CL updates the email address pattern with:
* Local-part should be max 64 characters, and domain should be max 255
  characters (it was the opposite before).
* Labels in the domain name should be at most 63 characters.
* Support non-ascii unicode characters.
* Add tests for email address pattern.

Bug:9585450
Change-Id: I983f269904ef014ef625417dd08b6509084e6879
2016-02-25 17:02:43 -08:00
Aga Wronska
f0febdcf90 Merge "Directory fragment refactoring. First attempt to to refactor fragments handling, state and app lifecycle." into nyc-dev 2016-02-22 18:28:42 +00:00
Dimitry Ivanov
05ba2b724c Merge "Construct classloader for apps with no java code" into nyc-dev 2016-02-22 18:24:14 +00:00
Xiaohui Chen
de1eaab7f7 Merge "sysui: refactor for extensibility" into nyc-dev 2016-02-22 18:09:31 +00:00
Doris Liu
045e5a78a2 Merge "Ensure animator's interpolator is set" into nyc-dev 2016-02-22 18:08:07 +00:00
Xiaohui Chen
5da713599f sysui: refactor for extensibility
Bug: 27098035
Change-Id: I9ce480a5995f354ad45b6f13112cfa1ab49934cd
2016-02-22 18:07:42 +00:00
Aga Wronska
893390bd58 Directory fragment refactoring.
First attempt to to refactor fragments handling, state and app lifecycle.

The goal was to simplify code by using android built lifecycle
mechanism, eliminate bugs caused by multiple creation of the fragment,
see the performance impact and give some fundament for refactoring of
fragments and activities in the app.

Search view manager:
    * Remove curentSearch from state
    * Restore search from saved state (ex. after rotation)
    * Rename file  to give the better overview of its purpose

Directory fragment:
    * Store selection state in a bundle
    * Remove double creation of fragment
    * Use loaders to reload content when possible
    * Keep info about state inside the object
    * Refactor available types of fragment to be normal and recents
    * Make search type a mode possibly available in all types
    * Remove search being invoked from refresh method
    * Do search by reloading fragments content instead of recreation as
      an example

Other:
    * Fix window title maybe

Bug: 26968405, 27101786
Change-Id: I58f36cd0a3e3a6ec98996cd8aac16e10e425e1fe
2016-02-22 09:36:17 -08:00
Diego Perez
26b2754310 Remove layoutlib RunQueue implementation
Change-Id: Id2b666f086a48f101ff7ef4177fe28ad17d10783
2016-02-22 17:16:50 +00:00
Shreyas Basarge
e17575d3b5 Merge "Revert "Add defaultPeriodic to every authority"" into nyc-dev 2016-02-22 16:48:14 +00:00
Shreyas Basarge
3e09cd4d79 Merge "Migrate PeriodicSyncs from old format" into nyc-dev 2016-02-22 16:48:02 +00:00
Chris Banes
7060ae91b9 Merge "Fix rounding error in SeekBar tickmark drawing" into nyc-dev 2016-02-22 16:26:57 +00:00
Diego Perez
18780f60ef DO NOT MERGE: Fix Canvas memory leak
am: b75a0426d8

* commit 'b75a0426d8c2339f2d552f96cc4dfcd86deb3447':
  DO NOT MERGE: Fix Canvas memory leak
2016-02-22 16:19:12 +00:00
Chris Banes
6cb9b20b7b Fix rounding error in SeekBar tickmark drawing
There are instances where an int calculation would result
in a loss of precision and rounding error. Fixed by
using a float instead.

Change-Id: I595872f00552a7fd717a1754c1d8f5a50d776621
2016-02-22 16:13:26 +00:00
Diego Perez
87a5de3e32 Merge "Fix Canvas memory leak" into nyc-dev 2016-02-22 16:07:01 +00:00
Geoff Mendal
687ccbbf71 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-22 15:29:59 +00:00
Geoff Mendal
bf0dabe274 Import translations. DO NOT MERGE
Change-Id: Ibf2edd0cc4c1d2d8f11d5ee489e6e9729d2d2b5e
Auto-generated-cl: translation import
2016-02-22 07:28:16 -08:00
Geoff Mendal
c65038cee6 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-22 15:20:57 +00:00
Geoff Mendal
87d8136f89 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-22 15:18:34 +00:00
Geoff Mendal
9eb610598e Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-22 15:16:09 +00:00
Geoff Mendal
0f6ffd807c Import translations. DO NOT MERGE
Change-Id: I6e5ad383334c184105b8eca9baf79db8b0943f66
Auto-generated-cl: translation import
2016-02-22 07:15:15 -08:00
Geoff Mendal
19af11865a Import translations. DO NOT MERGE
Change-Id: Iebbd1c6ecbf4dac53728e87b9ba0b9f00687b2d4
Auto-generated-cl: translation import
2016-02-22 07:14:18 -08:00
Geoff Mendal
fdce862c95 Import translations. DO NOT MERGE
Change-Id: I5f452609d36a3b910e3fadab6f31913371da0f19
Auto-generated-cl: translation import
2016-02-22 07:11:59 -08:00
Diego Perez
f5650cf3a3 Fix Canvas memory leak
Every RenderSession would call the AttachInfo.setAttachInfo but wouldn't
issue a View.dispatchDetachedFromWindow.
This caused some Canvas to be slowly leaked in the DelegateManager in
every session.

Change-Id: Iec418a86f5c5e55c2a2860ef945268c51c0e8173
2016-02-22 15:01:30 +00:00
Jason Monk
c6b5dd4897 Merge "Move background data notif to data saver status icon" into nyc-dev 2016-02-22 14:57:34 +00:00
Jason Monk
f23aa99270 Move background data notif to data saver status icon
Bug: 26796370
Change-Id: Ibf53c3affa63100b603e362b58ca6d2958791321
2016-02-22 14:56:05 +00:00
Diego Perez
b75a0426d8 DO NOT MERGE: Fix Canvas memory leak
Every RenderSession would call the AttachInfo.setAttachInfo but wouldn't
issue a View.dispatchDetachedFromWindow.
This caused some Canvas to be slowly leaked in the DelegateManager in
every session.

Change-Id: Ib0392303e6d00a4fe5494ae484f28135b1fe6b28
2016-02-22 14:09:09 +00:00
Benjamin Franz
eb3771cd14 Merge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev 2016-02-22 14:07:35 +00:00
Benjamin Franz
0e592733ec Use UserAccounts handed into accountExistsCacheLocked
Use the object we get handed rather than obtaining the one for the
calling user. We're previously clearing the caller, so the calling user
might not be the same as the one we used to obtain accounts object.

Bug: 27285299
Change-Id: Ie384bca83779593f6569bccea3c2851083ace31d
2016-02-22 13:41:53 +00:00
Geoff Mendal
a3e0a61987 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-22 13:30:36 +00:00
Esteban Talavera
d34718b6b9 Merge "Updated removeActiveAdmin documentation" into nyc-dev 2016-02-22 13:25:15 +00:00
Geoff Mendal
0850b8bab7 Import translations. DO NOT MERGE
Change-Id: I63b3fcce838f0d2fd12f5b0c9382480bac783e56
Auto-generated-cl: translation import
2016-02-22 08:20:26 -05:00
Neil Fuller
fa272e5c92 Merge "Add stubs needed to enable javac to compile lambdas" into nyc-dev 2016-02-22 11:55:30 +00:00
Calin Juravle
30eb5b30e7 Merge "Change the location of profile files." into nyc-dev 2016-02-22 11:42:02 +00:00
Polina Bondarenko
280c5b2155 Merge "Added hardwareproperties SystemService" into nyc-dev 2016-02-22 09:27:21 +00:00
Erik Kline
adc49e8fd5 Delete all NetworkUtils DHCP-related code.
am: c3b52bc466

* commit 'c3b52bc46604cb18d74fbe13dda15f4679222107':
  Delete all NetworkUtils DHCP-related code.
2016-02-22 09:16:16 +00:00
Erik Kline
0f6ae2ec0d resolve merge conflicts of b242549166 to nyc-dev
Change-Id: I42d4cac95a209fdfae5769d75d90f004a94d60a4
2016-02-22 15:42:07 +09:00
Erik Kline
c3b52bc466 Delete all NetworkUtils DHCP-related code.
Bug: 26991160
Change-Id: I2c74e0161f43f65c1b6a85dc9f294b64c8f1ae6e
2016-02-22 15:14:31 +09:00
Erik Kline
b242549166 Give bluetooth sufficient capabilities to run DhcpClient
Specifically:
    CAP_NET_RAW
    CAP_NET_BIND_SERVICE

Bug: 26991160
Change-Id: I2afddc9efa3b613d974afb0ea33703948203d99a
2016-02-22 15:14:31 +09:00
Erik Kline
13daed9fea Add WaitForProvisioningCallback
am: 111d55658b

* commit '111d55658bce1bcc3eb61b4aeaa4d8a256165b02':
  Add WaitForProvisioningCallback
2016-02-22 04:29:37 +00:00
Erik Kline
69ce6a0fc5 Support setting TCP buffer sizes and HTTP Proxy config
am: d0e843b8ef

* commit 'd0e843b8ef4218ba8f69a8a53b3eeaf21e667deb':
  Support setting TCP buffer sizes and HTTP Proxy config
2016-02-22 04:11:28 +00:00
Erik Kline
111d55658b Add WaitForProvisioningCallback
This centralizes code that is shared by both bluetooth and ethernet
transport layers.

Bug: 26991160
Change-Id: I8e2dd8580c29c86394119768e3a5529850b4b859
2016-02-22 13:02:02 +09:00
Erik Kline
d0e843b8ef Support setting TCP buffer sizes and HTTP Proxy config
This allows IpManager to send callback recipients a more satisfying
LinkProperties.

Bug: 26991160
Change-Id: I2eb60dc633e5be38dad9410a1096d0095ddf57a0
2016-02-22 12:50:44 +09:00
Donghyun Cho
f3db5743b9 Merge "MediaSession: Add new methods for preparing media content" into nyc-dev 2016-02-22 03:38:55 +00:00
Daichi Hirono
073f5aaec7 Merge "Update object info when writing a file." into nyc-dev 2016-02-22 03:07:31 +00:00
Wale Ogunwale
25410b13a1 Merge "Fixed bug with stack bounds getting out of alignment with screen rotation" into nyc-dev 2016-02-21 22:59:10 +00:00
Wale Ogunwale
ecbcadd27d Fixed bug with stack bounds getting out of alignment with screen rotation
Before updating the stack bounds due to rotation change, we need to make
sure both the configuration and the current display info. the stack is
using have been updated for the current rotation. Previously we were
updating is after configuration change, but the rotation might have changed
again by the time we get the configuraiton changed call and
TaskSack.updateDisplayInfo not called yet.

Bug: 26744649
Change-Id: Idfd30e78dc9c2fb521ff1957f043c3b1696a2a31
2016-02-21 14:18:51 -08:00
Jason Monk
855d408e17 Fix edit/page indicator area layout
Bug: 27201532
Change-Id: Ie03e6aeeb9d607f1fba370a4f1bd23a2ffb9b485
2016-02-21 11:00:49 -05:00
Wale Ogunwale
9a08f827a4 Apply minimal task dimension to all task bounds change.
We only used to apply the minimal dimension on resizeTask in
ActivityStackSuperior which is mostly used for freeform and
missed resizes that went through other channels like resizeStack
which is used for split-screen.
We now apply it on TaskRecord.updateOverrideConfiguration which
all task bounds changes go through.

Bug: 27220870
Change-Id: I856948c371f5f5f144e61029ced4a467f7ebe33a
2016-02-20 14:29:20 -08:00
Svet Ganov
9cea80cddd No overlay when permissions shown - framework
bug:26973205

Change-Id: I88395e47649191bb7db6dd8723c49e741ef4f1e4
2016-02-20 17:41:47 +00:00
Jason Monk
7435155432 Don't set the text on QS Tiles unless we need to
Avoid causing layout passes.

Bug: 27278616
Change-Id: I5104a756b44154f6b66f2c74aee17caf29acf628
2016-02-20 16:56:07 +00:00