233618 Commits

Author SHA1 Message Date
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
Tobias Sargeant
adfded1072 add @SystemApi to WEBVIEW_MULTIPROCESS to enable it to be used in WebView glue
Change-Id: Ib6431c4e4c2bcbcfc6f986f97fcf58ad5fa3dbc7
2016-02-22 14:03:20 +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
phweiss
27ee33482a Remove deprecated APIs DPM.createUser, createAndInitializeUser
They were deprecated in M and slated for removal in N.

Bug: 26974903
Change-Id: I7ae4d60bcf226c1e1de42852b378ad1ff71a914b
2016-02-22 14:04:14 +01: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
Jason Monk
865a4ee0cd Merge changes Icb8e2097,I9a2a16f9 into nyc-dev
* changes:
  Optimization for TouchAnimator
  QS Animations - first pass, still not spec
2016-02-20 16:53:04 +00:00
Jason Monk
8d1253e944 Optimization for TouchAnimator
Bug: 27278616
Change-Id: Icb8e20977a0f8cdbc6ace25707e8f95e34efc356
2016-02-20 16:51:41 +00:00
Lorenzo Colitti
f979012c9b Add a unit test for MessageUtils.
Also fix a couple of issues in the code:

1. Check that fields are static before attempting to read them.
   Currently, if a non-static field's name starts with one of the
   specified constant prefixes (by default, "CMD_" and "EVENT_")
   we'd get an NPE.
2. Only read final fields.

Change-Id: I0e07c4c27a66180cbaf7f2b1c235daafc080863b
2016-02-20 23:24:25 +09:00
Jason Monk
162011ebe8 QS Animations - first pass, still not spec
Bug: 27201532

Change-Id: I9a2a16f9d769db1f40ae733ad55a07ede4780698
2016-02-20 08:36:40 -05:00
Jae Seo
ed76f3509d TIF: Add android.permission.READ_TV_LISTINGS
Bug: 21959866
Change-Id: I6f30289f8660ed8d268bb9138c32d9c6a95bb0b9
2016-02-20 02:17:39 -08:00
yangren
8d718e1c96 TIF: Add information of TvInputHardwareManager to dumpsys
Add function dump() to TvInputHardwareManager.

Bug: 22774343
Change-Id: I22e923b95724e4db42824743026c050412a3d28c
2016-02-20 16:50:16 +09:00
Shreyas Basarge
0cbfdd3a20 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd am: 20c518816a am: 7f35fa7365
am: 08f781bd82  -s ours

* commit '08f781bd8215d452cd2761f69889a69d1a736ea7':
  NPE fix for SyncStorageEngine read authority
2016-02-20 07:29:49 +00:00
Jiabin Huang
079cf52336 Merge "TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode" into nyc-dev 2016-02-20 07:01:29 +00:00
Jiabin
0388f0e503 TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode
test result:
 Decode function takes about 0.25 seconds with 1350 channels in Live Channels.
 The original one takes about 0.37 seconds in the same test case.

Bug: 23307587
Change-Id: I3a1fefe0b3e6c1986c8f515259658f2e3e23011f
2016-02-20 14:22:33 +09:00
Lifu Tang
116229b797 Merge "Finalized GPS=>GNSS changes with documents" into nyc-dev 2016-02-20 04:58:17 +00:00
Dianne Hackborn
044a802b26 Merge "Remove internal locking from JobStatus." into nyc-dev 2016-02-20 02:49:48 +00:00
Dianne Hackborn
b0001f6fb1 Remove internal locking from JobStatus.
Now all state of JobStatus is implicitly protected by the lock
of whoever is using it -- in this case the global lock for the
JobSchedulerService.  This allows us to remove all of the atomic
variables and just replace those with a simple bit field.

The required constraints for a job are now statically defined
once a JobStatus is created, and don't change.  (They wouldn't
change before, but now this is absolutely specified to be the
case.)  This required tweaking the constructors a bit so that
the earliest and latest run times are computed as part of the
core class initialization.

Also clarified methods on StateController that are called with
the lock held, and took advantage of that in the various
controllers to not now redundantly re-acquire the lock.

Change-Id: I595c5e7d1bff1bd2ff906d612581af82878a25ee
2016-02-19 18:29:34 -08:00
Jorim Jaggi
f0c548645f Merge "Cancel fling animation when starting to drag" into nyc-dev 2016-02-20 02:24:19 +00:00
Felipe Leme
b055c1b51a Merge "Fixed permissions so Shell can call netpolicy methods." into nyc-dev 2016-02-20 02:24:13 +00:00
Jorim Jaggi
0c790411c3 Cancel fling animation when starting to drag
Makes sure we don't end up in a weird state because
at the end of the fling animation, mDockSide gets
reset.

Bug: 27269044
Change-Id: I779b8ee9be9a35553c7f822421d1f02ca802111c
2016-02-20 02:23:37 +00:00
Shreyas Basarge
08f781bd82 NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd am: 20c518816a
am: 7f35fa7365

* commit '7f35fa7365b24f13f7553c452dc68f99fc7304ae':
  NPE fix for SyncStorageEngine read authority
2016-02-20 02:22:00 +00:00