Commit Graph

16477 Commits

Author SHA1 Message Date
Chad Brubaker
7671735fa5 Merge "Allow permissions to be runtime-only." into oc-dev am: 941e9e2b38
am: 57a9464831

Change-Id: Ibf8b8f13ff5a8819671142e77ee238ba08805d40
2017-04-06 19:27:22 +00:00
Chad Brubaker
57a9464831 Merge "Allow permissions to be runtime-only." into oc-dev
am: 941e9e2b38

Change-Id: I2b1b3a53e6609cc335b4efa9084e603986f58bbe
2017-04-06 16:54:50 +00:00
Chad Brubaker
941e9e2b38 Merge "Allow permissions to be runtime-only." into oc-dev 2017-04-06 16:44:11 +00:00
Julia Reynolds
bb23c9b80b Merge "Show a link to app settings in notification guts." into oc-dev am: 0ff1b458ac
am: fafcda882b

Change-Id: I397e37d0cbff42be9bc41e42eef094a8237e9c9a
2017-04-06 16:18:01 +00:00
Julia Reynolds
fafcda882b Merge "Show a link to app settings in notification guts." into oc-dev
am: 0ff1b458ac

Change-Id: I27b70e04b9924c95dbd2f915d27c0e346f2f0a09
2017-04-06 16:06:09 +00:00
Julia Reynolds
0ff1b458ac Merge "Show a link to app settings in notification guts." into oc-dev 2017-04-06 15:55:36 +00:00
Julia Reynolds
712decf92f Merge "Remove unneeded methods" into oc-dev am: 9a8f641801
am: 4c6d2c76a4

Change-Id: I976bb62b349a5de4655d44245a06d8898ed96461
2017-04-06 15:27:21 +00:00
Julia Reynolds
4c6d2c76a4 Merge "Remove unneeded methods" into oc-dev
am: 9a8f641801

Change-Id: I5532580c81fcb337bf7a7d22cf148b72f73ba8f6
2017-04-06 15:19:51 +00:00
Przemyslaw Szczepaniak
39ff8dfa7b Merge "Track libcore change dfd104e99d15d91dc21137b190fb99cab8a1180b" am: 443af115ab am: 9bc30db050 am: 20d95d9ed9
am: b9a8fe0bd9

Change-Id: Ic746f92f0d23c5ef8b072d84e2f0d8c075dfeb89
2017-04-06 15:16:32 +00:00
Julia Reynolds
9a8f641801 Merge "Remove unneeded methods" into oc-dev 2017-04-06 15:13:13 +00:00
Przemyslaw Szczepaniak
b9a8fe0bd9 Merge "Track libcore change dfd104e99d15d91dc21137b190fb99cab8a1180b" am: 443af115ab am: 9bc30db050
am: 20d95d9ed9

Change-Id: Ib6e3e7184acc555295e9efd2a51c8744f80c9099
2017-04-06 15:09:33 +00:00
Przemyslaw Szczepaniak
1607b49d6b Track libcore change dfd104e99d15d91dc21137b190fb99cab8a1180b
Test: make -j 32
Bug: 36461944
Change-Id: I2075d03c3143d0582a76d91bcbaccd83c193a552
2017-04-06 09:58:18 +00:00
Philip P. Moltmann
2390cc3407 Merge "Overlay a highlight over autofilled views" into oc-dev am: 4ebafa8000
am: 7e3af23cc3

Change-Id: I41e65cf34549589c17cea9cc71632925e0402019
2017-04-06 06:41:41 +00:00
Philip P. Moltmann
7e3af23cc3 Merge "Overlay a highlight over autofilled views" into oc-dev
am: 4ebafa8000

Change-Id: I0642ef746f9deeef58b3e689287b9378e14c038b
2017-04-06 06:28:33 +00:00
Philip P. Moltmann
b42d133c8b Overlay a highlight over autofilled views
Also clear this overlay once the data changes. Some views call
notifyValueUpdated even if the value did not change. Hence remeber the
data that was autofilled and check if the data really changed.

Make the autofilledDrawable publicly accessible so that virtual views
can use the same UI.

As the activity is not aware that the views were autofilled the state
has to be explicitly persisted over activity lifecycle events as part
of the view. The lifecyle does not work yet as the AutofillIds are not
stable over activity lifecycle events.

Fixes: 34946006
Test: Autofilled and changed all supported views.
      cts-tradefed run cts-dev -m CtsUiRenderingTestCases
Change-Id: I58b105bb221f1b6466dd136dfe5062d3babb5aa8
2017-04-06 03:57:54 +00:00
Felipe Leme
8fe603dd6f Merge "Created SaveInfo types for email and username." into oc-dev am: aaca304a31
am: ff43ec447d

Change-Id: Ied5509382cd1edb27c81e8a68ddb95c53fc147fd
2017-04-06 02:40:29 +00:00
George Mount
a6ea4e6473 Merge "Change getFragments() to return a List." into oc-dev am: 1b2bedcd76
am: b71472d28e

Change-Id: Ie1c06cacfae24614b0e40cb83117f5b25673c29a
2017-04-06 02:35:44 +00:00
Felipe Leme
72544c6f89 Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev am: a9baa4c851
am: 260945be5f

Change-Id: Ia72e0577b5ce6a8dbaeb676c8841f16012b5338d
2017-04-06 02:12:17 +00:00
Nathan Harold
b077f6abd3 Merge changes from topic 'ipsec-svc-pick' into oc-dev
* changes:
  Fix Log Traces for IpSecService
  SystemServer: fix StartIpSecService trace and log
  Add Initial IPsec APIs to IpSecService
  IpSecManager and IpSecTransform API Cleanup
  Change reserveSecurityParameterIndex() to take a remoteAddress
  Add a Skeleton IpSecService
2017-04-06 01:34:37 +00:00
TreeHugger Robot
84c43aea5f Merge "Add API for apps to prepare for some a11y requests" 2017-04-06 00:53:40 +00:00
Felipe Leme
ff43ec447d Merge "Created SaveInfo types for email and username." into oc-dev
am: aaca304a31

Change-Id: I3e6275bf70d75b4921be40bc6a9820d2fcae8a2a
2017-04-06 00:25:05 +00:00
George Mount
b71472d28e Merge "Change getFragments() to return a List." into oc-dev
am: 1b2bedcd76

Change-Id: I59407dbe9e307e30bb721e33423130615ff00a7c
2017-04-06 00:22:01 +00:00
TreeHugger Robot
aaca304a31 Merge "Created SaveInfo types for email and username." into oc-dev 2017-04-06 00:15:30 +00:00
TreeHugger Robot
1b2bedcd76 Merge "Change getFragments() to return a List." into oc-dev 2017-04-06 00:13:26 +00:00
Eugene Susla
4ad2b7b554 Add an opnion to use advertised name for renaming
Test: Use new API, make sure renaming works
Change-Id: I6347907df29cc314e8847eb4d55b4fe3a8c1c0eb
2017-04-05 16:05:27 -07:00
Julia Reynolds
3aeddedc17 Show a link to app settings in notification guts.
Test: runtest systemui, cts
Change-Id: I7204102d5c83d589af5d3da57f72068491c12daa
2017-04-05 22:40:37 +00:00
Julia Reynolds
6031533702 Remove unneeded methods
Test: make, make cts, make cts-verifier, runtest systemui-notification
Change-Id: I25b559cfcc30f2d85f468adf840f9124e80f00b0
2017-04-05 18:36:07 -04:00
Felipe Leme
260945be5f Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev
am: a9baa4c851

Change-Id: I59736bcc35281b038bcb19b822cb00b44cac2a60
2017-04-05 22:34:13 +00:00
Felipe Leme
a9baa4c851 Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev 2017-04-05 22:25:16 +00:00
George Mount
e196b6fefe Change getFragments() to return a List.
Bug 36762718
Bug 36982279

Changes getFragments() to return a List instead of a Collection.
The order is the order in which the fragment is added or attached.

Test: ran fragment cts tests
Change-Id: I10bbeef13e9154bbe052127cfa0e160b2e500b4d
2017-04-05 13:56:37 -07:00
Kang Li
6a2dd54502 Merge "Revert "Add a service to rank apps for ResolverActivity."" into oc-dev am: b24399547c
am: e9b280bbec

Change-Id: I84ac856c1838184e2ce819e5f637f2f97cdacbf6
2017-04-05 20:02:37 +00:00
Kang Li
e9b280bbec Merge "Revert "Add a service to rank apps for ResolverActivity."" into oc-dev
am: b24399547c

Change-Id: I45e96d0b5e88eb280e6dbc5981e6a6a7f1a4b6e2
2017-04-05 19:57:08 +00:00
Kang Li
b24399547c Merge "Revert "Add a service to rank apps for ResolverActivity."" into oc-dev 2017-04-05 19:50:10 +00:00
Kang Li
c88749fb5a Revert "Add a service to rank apps for ResolverActivity."
This reverts commit 90370e0b24.

b: 36952725

Change-Id: Ifa8f182c707cdbbc989b1f61630f7a8fa856d32d
2017-04-05 19:44:02 +00:00
TreeHugger Robot
c85aa306c1 Merge "Add api to retrieve call creation time." into oc-dev 2017-04-05 18:29:22 +00:00
Tony Wickham
564c392506 Merge "Add AppWidgetManager#getInstalledProvidersForPackage()" into oc-dev am: 8fdf051346
am: dfa3edb2ee

Change-Id: Id9657f3a43e68692382009da8764d700587517e8
2017-04-05 17:46:25 +00:00
Tony Wickham
dfa3edb2ee Merge "Add AppWidgetManager#getInstalledProvidersForPackage()" into oc-dev
am: 8fdf051346

Change-Id: Ieda874c08955647005b9545fa7587e123339247b
2017-04-05 17:41:29 +00:00
Tony Wickham
8fdf051346 Merge "Add AppWidgetManager#getInstalledProvidersForPackage()" into oc-dev 2017-04-05 17:37:15 +00:00
Nathan Harold
127f455800 IpSecManager and IpSecTransform API Cleanup
-Remove Int-based SPI usage from the IpSecTransform.Builder
 This is essentially a less-safe method overload, and it is both
 unnecessary and difficult to implement: the cross-validation
 between SPI and Transform is actually useful, and the kernel
 requires two different mechanisms to use an unreserved vs a
 reserved (alloc'd) SPI: CREATESA vs UPDATESA, which makes this
 hard to support. API Council has questioned the value of this,
 and they are right: everything points to "remove this". In the
 future, if we find that SPI reservation is overhead, we can
 always add it back.

-Hiding the TunnelMode builder method and application/remove
 methods. These will not land by the time the next API
 stabilizes, so better to hide them now that this is a
 near-certainty. Expectation is to un-hide them in the subsequent
 API bump.

Bug: 36073210
Test: Compilation, verified nobody is calling these stubs
Change-Id: Ic1a3f2cf7128633318ac175d6b56b45eb8d21cab
(cherry picked from commit 48b566557d)
2017-04-05 10:24:23 -07:00
Nathan Harold
eece454de1 Change reserveSecurityParameterIndex() to take a remoteAddress
To make the SPI reservation more semantically consistent with the
transform creation API, and to ensure that we always create SPI
reservations relative to a well-known remote, we should take the
SPI request relative to a remote (rather than to a destination).
This necessitates that we now consider direction separately, which
is used for keying the SA-Id.

Bug: 36073210
Test: compilation
Change-Id: I81e955c20128c1f8e04fd68eb26669561f827a78
(cherry picked from commit c4f879925b)
2017-04-05 10:24:03 -07:00
Tyler Gunn
3251a5571d Add api to retrieve call creation time.
Test: CTS
Bug: 36124432
Merged-In: Ic8288dec73adda7870377f189f560acef0a575f6
Change-Id: Ic8288dec73adda7870377f189f560acef0a575f6
2017-04-05 08:47:45 -07:00
Alan Viverette
3709761c9f Merge "Automatic casts for more findViewById implementations" into oc-dev am: 7458ea3827
am: ee4b52afd8

Change-Id: Ie5ebcf1156e31da0b76d8f053a3c23f91e8ea7b9
2017-04-05 14:05:08 +00:00
Alan Viverette
ee4b52afd8 Merge "Automatic casts for more findViewById implementations" into oc-dev
am: 7458ea3827

Change-Id: I7c77634f1a5b2551830796118e1fe69d389d6884
2017-04-05 13:58:51 +00:00
Alan Viverette
7458ea3827 Merge "Automatic casts for more findViewById implementations" into oc-dev 2017-04-05 13:54:51 +00:00
Seigo Nonaka
815c5b23ce Merge "Pass weight/italic pair instead of style." into oc-dev am: b4e3b344fa
am: 97b35a7089

Change-Id: Id75281df282cf6f0b77def2c7cffcc88ef92c417
2017-04-05 10:19:10 +00:00
Seigo Nonaka
97b35a7089 Merge "Pass weight/italic pair instead of style." into oc-dev
am: b4e3b344fa

Change-Id: I9d430af9489878fd0c7eb8d26dce186a13059450
2017-04-05 10:12:26 +00:00
TreeHugger Robot
b4e3b344fa Merge "Pass weight/italic pair instead of style." into oc-dev 2017-04-05 10:04:52 +00:00
Felipe Leme
b3c3537566 Changed FillResponse.setAuthentication() to require field ids.
Currently, authenticate FillResponses do not support partition and follows
the "Highlander approach" (There can be just only one), which causes the
authentication UI to show on all views.

This CL overloads FillResponse.setAuthentication() so it requires the
AutofillIds of the autofillable fields, although behind the scenes it
calls the old method - once clients use the new method, the old method
will be removed and the underlying implementation changed.

The new behavior will be tested by testFillResponseAuthJustOneField()
on LoginActivityTest, although currently it's testing the old behavior.

Test: LoginActivityTest.testFillResponseAuthJustOneField

Bug: 35707731
Bug: 36855717

Change-Id: I601f3e4776aa8763415a06d8d802901a930728d2
2017-04-04 20:17:57 -07:00
Hall Liu
f760757327 Merge "Add @TestApi annotations to CS-side RTT APIs for CTS" am: f6f3c16dfb am: 6689b57b66 am: bd2cf664ca
am: 7efa3442cc

Change-Id: Ibd70f317885284fa36e0bc84a231a58e6c004abb
2017-04-05 00:47:54 +00:00
Hall Liu
7efa3442cc Merge "Add @TestApi annotations to CS-side RTT APIs for CTS" am: f6f3c16dfb am: 6689b57b66
am: bd2cf664ca

Change-Id: I22bd2201b0cc2b3bcbf8d1eb740a91485735d03f
2017-04-05 00:40:22 +00:00