Commit Graph

75686 Commits

Author SHA1 Message Date
Chen Xu
7abbc20610 Merge "move ACTION_SERVICE_STATE to system api" into oc-dev
am: 5effb5f645

Change-Id: I5b61b20b646a9bfae4e0f89c70f7af71f626c740
2017-04-04 23:49:02 +00:00
Adrian Roos
60c0420907 Merge "AOD: update AOD2 views to spec" into oc-dev
am: 146293b35c

Change-Id: I383dae263347ea0719bbbb8af07e6d0a665aee27
2017-04-04 23:44:39 +00:00
Chen Xu
5effb5f645 Merge "move ACTION_SERVICE_STATE to system api" into oc-dev 2017-04-04 23:43:56 +00:00
Adrian Roos
146293b35c Merge "AOD: update AOD2 views to spec" into oc-dev 2017-04-04 23:38:42 +00:00
Jeff Sharkey
471ab644e3 Merge "Just round up the data partition size." into oc-dev
am: edcbf28b7c

Change-Id: I2003f048cc83cfebcf4950734b586483497fae67
2017-04-04 23:29:44 +00:00
TreeHugger Robot
edcbf28b7c Merge "Just round up the data partition size." into oc-dev 2017-04-04 23:23:34 +00:00
Jeff Sharkey
b69a811663 Merge "Add legacy DownloadManager actions to SystemApi." into oc-dev
am: cd77661682

Change-Id: I8ce4e00a78c4ac4b3ffd783bccee10855fa19df0
2017-04-04 22:48:24 +00:00
Todd Kennedy
368628cd8e Merge "Change name of the intent fields" into oc-dev
am: 5379b05256

Change-Id: Iad6fe0e4e64820fafd3bfbfb0d721293d03784cf
2017-04-04 22:46:15 +00:00
TreeHugger Robot
cd77661682 Merge "Add legacy DownloadManager actions to SystemApi." into oc-dev 2017-04-04 22:42:10 +00:00
TreeHugger Robot
5379b05256 Merge "Change name of the intent fields" into oc-dev 2017-04-04 22:39:01 +00:00
Felipe Leme
dac7ecebe7 Merge "Initial implementation of autofill partitioning." into oc-dev
am: ba2e284a62

Change-Id: I245fc0402f526f2e1ad512c3df5f885856193c5c
2017-04-04 21:49:45 +00:00
TreeHugger Robot
ba2e284a62 Merge "Initial implementation of autofill partitioning." into oc-dev 2017-04-04 21:42:52 +00:00
fionaxu
90fee27577 move ACTION_SERVICE_STATE to system api
As per CDD: The "android.*" namespace for intent constants is reserved
for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.)
ACTION_SERVICE_STATE intent is generally useful for system/oem
apps thus move to system api

Bug: 33679956
Test: Manual
Change-Id: Ie38b53f077e8a013351d35387f9133e0ebb26cc9
2017-04-04 14:26:40 -07:00
Jeff Sharkey
24403ff054 Just round up the data partition size.
Instead of trying to be clever by poking at underlying flash part
sizes, rely on the fact that device storage printed on retail
packaging is a power-of-two value.

For a typical device with a 23GiB data partition, this will return
a value of "32GB" which matches the retail packaging.

Test: builds, boots
Bug: 34827187
Change-Id: Ib4cf7f637dffc9238252e1fedcd86dc8b5cf656d
2017-04-04 15:10:06 -06:00
Jeff Sharkey
8d5d065cdf Add legacy DownloadManager actions to SystemApi.
They're still used by at least one bundled app.

Test: builds, boots
Bug: 35256608
Change-Id: I45966b3e0ed506ead4544bbbfc9d82b7f9d5205d
2017-04-04 14:38:47 -06:00
Todd Kennedy
d46a1604b7 Change name of the intent fields
Change-Id: I67d3f5c7fb3189fdb35908011e92cc82c24b9154
Fixes: 36594944
Test: cts-tradefed run commandAndExit cts-dev -m CtsSignatureTestCases -t android.signature.cts.IntentTest#shouldNotFindUnexpectedIntents
2017-04-04 13:33:13 -07:00
Adrian Roos
d83e9999f7 AOD: update AOD2 views to spec
- Increase notification header size
- Dim clock in AOD2
- Hide shelf in AOD2

Bug: 30876804
Test: manual
Change-Id: I272ff54bd0dbed0ae4271c922f62304401651fc9
2017-04-04 13:21:35 -07:00
Evan Rosky
ed5f192ee4 Merge "More finishing-up of cluster implementation" into oc-dev
am: baa9a3f4b9

Change-Id: Iedba1beb89d3d5fb7aa5ea8b6361e7c346521d37
2017-04-04 19:54:02 +00:00
Evan Rosky
baa9a3f4b9 Merge "More finishing-up of cluster implementation" into oc-dev 2017-04-04 19:47:11 +00:00
Selim Gurun
912a291335 Merge "Disable WebView autocomplete feature." into oc-dev
am: dd7414a644

Change-Id: I7ca639fbafb543dba5d226de3b66e7d90d22da89
2017-04-04 19:39:16 +00:00
TreeHugger Robot
dd7414a644 Merge "Disable WebView autocomplete feature." into oc-dev 2017-04-04 19:31:51 +00:00
George Mount
8695cbad31 Merge "Fix saving target fragment when Fragment not yet created." into oc-dev
am: a16859114d

Change-Id: Ia61f383eba7639a3c29fcf4a13b53177141e65d2
2017-04-04 18:55:21 +00:00
TreeHugger Robot
a16859114d Merge "Fix saving target fragment when Fragment not yet created." into oc-dev 2017-04-04 18:45:19 +00:00
Seigo Nonaka
c81f06186b Merge "Change justification parameter from boolean to int." into oc-dev
am: 04fc05cd66

Change-Id: Ie4fcc93178abfb850068612b02cf3c82dba71377
2017-04-04 18:39:06 +00:00
TreeHugger Robot
04fc05cd66 Merge "Change justification parameter from boolean to int." into oc-dev 2017-04-04 18:29:58 +00:00
Kang Li
8b0979666a Merge "Add a service to rank apps for ResolverActivity." into oc-dev
am: 6df90fa53b

Change-Id: I667b1f9d07305d58f921280f8b8fe9ede0aeea1e
2017-04-04 17:51:03 +00:00
Robert Carr
d190369319 Merge "Request layout when updating child layout params." into oc-dev
am: b841b4e919

Change-Id: Iaaa3317b0dc8c6e320aa4a8b2677bcc9f1735234
2017-04-04 17:46:16 +00:00
Kang Li
6df90fa53b Merge "Add a service to rank apps for ResolverActivity." into oc-dev 2017-04-04 17:42:32 +00:00
TreeHugger Robot
b841b4e919 Merge "Request layout when updating child layout params." into oc-dev 2017-04-04 17:36:48 +00:00
Felipe Leme
f43ca7968f Initial implementation of autofill partitioning.
BUG: 35707731
Test: existing CtsAutoFillServiceTestCases pass
Test: PartitionedActivityTest

Change-Id: If9df5fe63249f0b9e9da058d1c9327dfd3c09cf3
2017-04-04 10:30:54 -07:00
Selim Gurun
13e5b0bb97 Disable WebView autocomplete feature.
Platform is now providing autofill feature. Disable WebView's simple
form data save feature for platform O and above.

Test: Removing the functionality and the test
Bug: 36869838

Change-Id: If6b9fc12edbe4146fca99d9c6ef8fde36d61f852
2017-04-04 10:19:28 -07:00
Seigo Nonaka
de5fa6b3d8 Merge "Reorganize font enumeration API." into oc-dev
am: 2ac9698271

Change-Id: Ie9bdcdb8d5997db421b783475e1058027cc4bb6f
2017-04-04 16:56:29 +00:00
TreeHugger Robot
2ac9698271 Merge "Reorganize font enumeration API." into oc-dev 2017-04-04 16:49:56 +00:00
Jorim Jaggi
e6737ba6de Merge "Schedule window animations at vsync-sf" into oc-dev
am: de95d544cd

Change-Id: I0d6377d0cafdf33a7872ddda15d796147e0f4a60
2017-04-04 09:32:04 +00:00
Jorim Jaggi
de95d544cd Merge "Schedule window animations at vsync-sf" into oc-dev 2017-04-04 09:26:03 +00:00
Jorim Jaggi
05ca99b43b Merge "Handle case when snapshot dimensions don't match" into oc-dev
am: 1edadac465

Change-Id: Icbe3f3c26cf65e7b12f5567a9bc40f7e0a3bd578
2017-04-04 09:23:35 +00:00
Jorim Jaggi
1edadac465 Merge "Handle case when snapshot dimensions don't match" into oc-dev 2017-04-04 09:14:38 +00:00
Adam Lesinski
b188c93a45 Merge "Themes: Apply themes to system_server safely" into oc-dev
am: a52fc49845

Change-Id: I85c390f99600d4f6cf75c9b3a4b1c39e7b874335
2017-04-04 03:33:42 +00:00
TreeHugger Robot
a52fc49845 Merge "Themes: Apply themes to system_server safely" into oc-dev 2017-04-04 03:25:29 +00:00
Robert Carr
5429daaa51 Request layout when updating child layout params.
In order to clear the measure cache, we need to requestLayout
when updating the child layout params. To see why, consider the case of
a Frame or Linear layout which will measure different heights
depending on the (top/left/right/bottom)Margin parameters of it's
childrens layout params. Now imagine the following sequence of events:

1. We request a layout on the FrameLayout
2. We measure the FrameLayout and place a value in the cache.
3. Now we update the margin parameters on one of the frame layouts
   children. Because the parent already has a layout requested
   we don't call parent.requestLayout (see View.java#requestLayout),
   and thus the parent measure cache isn't cleared.
4. Now we measure the frame layout again and we incorrectly
   used the cached value.

Calling to requestLayout when the child layout params
change clears the cache properly. If the child didn't
call request layout from it's own relayout, it must mean that
a layout was already pending (step 1 in the sequence),
and so no more work should be triggered besides clearing the cache.

Bug: 33095565
Bug: 33308065
Bug: 34388764
Test: Manual case in bugs.
Change-Id: I9148f32530588e4dc859297f9658f506b38e72f0
2017-04-03 19:11:40 -07:00
Philip P. Moltmann
b0ed6b837e Merge "Rename UsbRequest.enqueue to UsbRequest.queue" into oc-dev
am: c56defe9c0

Change-Id: I1f35ccc57b721fc72fdb22f0bd98c9436b1570e8
2017-04-04 02:05:16 +00:00
TreeHugger Robot
c56defe9c0 Merge "Rename UsbRequest.enqueue to UsbRequest.queue" into oc-dev 2017-04-04 01:57:23 +00:00
Andrii Kulian
de938b99fc Merge "Update display contents when metrics change" into oc-dev
am: d6f0b0fc4f

Change-Id: I808ab4d68954773ba8c8691478d9fe47e1e2378f
2017-04-04 01:49:35 +00:00
Andrii Kulian
d6f0b0fc4f Merge "Update display contents when metrics change" into oc-dev 2017-04-04 01:38:25 +00:00
Daniel Cardenas
dbcf5279ad Merge "Increase visibility of FEATURE_LEANBACK_ONLY" into oc-dev
am: d017221a52

Change-Id: Icf9271e418052931ca15c3a7727f01cfedd044c9
2017-04-04 01:38:16 +00:00
TreeHugger Robot
d017221a52 Merge "Increase visibility of FEATURE_LEANBACK_ONLY" into oc-dev 2017-04-04 01:28:43 +00:00
Hugo Benichi
83f89047f5 Merge "Move back networking policy logic into NetworkPolicyManagerService" into oc-dev
am: df9cf5450c

Change-Id: I7d7b66cc1dc6888ea28e2b4d83d570fa440c29f2
2017-04-04 00:58:02 +00:00
Hugo Benichi
df9cf5450c Merge "Move back networking policy logic into NetworkPolicyManagerService" into oc-dev 2017-04-04 00:50:24 +00:00
Chad Brubaker
fb095d897f Merge "Expose animator settings to Instant Apps" into oc-dev
am: d490fe0372

Change-Id: I3a88cc331949e987462aca315e7f396d5491147b
2017-04-04 00:31:01 +00:00
TreeHugger Robot
d490fe0372 Merge "Expose animator settings to Instant Apps" into oc-dev 2017-04-04 00:23:34 +00:00