ParceledListSlice breaks up the parcel if it is too big for
the transaction
Test: built & deployed locally
Bug: 269313925
Change-Id: I7f70e72bfd225ec11ee8650593cc7290d001ddca
Moves DC feature flag evalutation to
service since clients do not have
permisssion.
Test: gts
Bug: 275754582
Change-Id: Ic56cae1ad52d9df2daab6c82da0e57087a91408c
Per api review feedback, switch the activity parameter in the Credential
Manager APIs to context.
Bug: 273932308
Test: CTS tested
Change-Id: I5e98821c6fb2e7a5585dfc429523e36f171119f2
Per partner feedback, expose a version of getCredential api that splits
prefetching candidates and selection UI into two separate calls. This
allows performing prefetch work and an early time and delaying the UI to
a later time which will be significantly faster to surface upon request.
Bug: 273308895
Test: CTS & local tested
Change-Id: I2f08a4333ac90bb9fdc77cb8f522b415cd694336
Allows a credential provider to show a
subtitle/summary underneath the title in
the list of providers.
Test: ondevice & atest & cts
Bug: 253157366
Change-Id: Iae541c050d04412018a4f37f60140454723f7aa4
(cherry picked from commit on googleplex-android-review.googlesource.com host: 4b371e3d82)
Merged-In: Iae541c050d04412018a4f37f60140454723f7aa4
Based on partner feedback, add a new prefetch get-credential api that
supports first retrieving credential candidates and delaying the UI
flows to finalize a credential to later using a separate api,
GetPendingCredentialResponse.show().
Bug: 273308895
Test: local deployment (will add unit test with the unhiding change)
Change-Id: I212a6066c71b8468c6d7bfc2df2d9dab737368e0
This constructor (test api only) is no longer needed and should be cleaned-up. Surfaced in API review.
Test: built locally
Bug: 264717022
Change-Id: I496c159852ddfd874427a1edaa83cf7f69fc8146
This is a precusor CL to adding a subtitle for settings
to use so we need to move CPI where it can be used
by settings, atest and CTS.
Test: ondevice & atest & cts
Bug: 253157366
Change-Id: I2ffb1f89caf3f2c5bbf7d4dd693ad9a1bbc93fbb
(cherry picked from commit on googleplex-android-review.googlesource.com host: 496d3a3aae)
Merged-In: I2ffb1f89caf3f2c5bbf7d4dd693ad9a1bbc93fbb
In a recent change, CreateCredentialRequest constructor was
changed to a Builder and type wasn't added to the builder constructor
even though it is required. This is to rectify that error
Bug: 270978250
Test: CTS unit tests
Change-Id: If0516c6b03a1b5ae464fce9ce5e0209d8eafc5fc
The backend can issue an
IntentFactory.createCancelUiIntent(requestToken) call to cancel the UI
matching the corresponding request.
Test: local deployment
Bug: 268708612
Change-Id: I6aef8489cedcbf6cba1901aca1b54ec3e2a3a37d
Based on API feedback from DP1 testers, we need to make RemoteEntry a standalone feature
irrespective of the type of the credential, or a particular option from the GetCredentialRequest.
With this change, remote entry can be created with just some UI metadata (defined on jetpack side).
When user selects this entry, we send all CredentialOptions to this provider and the entire list can be
serviced on a remote device.
Consequently, this change includes modifying android.service.GetCredentialRequest to take in a list of
CredentialOption's as opposed to a single CredentialOption. When a CredentialEntry is selected, that list
will always contain a single option. When a RemoteEntry is selected, that list may conttain >1 options.
A RemoteEntry is not tied to a type and hence we need a dedicated type for it that only contains Slice (holding the UI metadata). Earlier we were using a CredentialEntry to represent a remote entry in the get flow. However a CredentialEntry requires a type and hence is not applicable. In the create flow, we were using a CreateEntry which does not require a type but in order to keep the flows symmetric, we decide to use RemoteEntry as a separate entry type in both flows.
Test: built locally & CTS tests
Bug: 270186121
Change-Id: Ibfe76d88bde727cb8eed3227ae0dc26ae7fe6834
Bug:269841775
Bug:270062247
Bug:270100392
Bug:270099769
Bug:270100007
Bug:270100064
Bug:270100028
Test: Local Unit Test
Change-Id: I515c18302224e99876e1285daaffc2aa42c64d32
Centralizes the provider list generation logic
in CredentialProviderInfo and enforce device
policy. Adds an test API that can be used by
CTS.
Bug: 261978289
Test: ondevice & cts
Change-Id: I4d738351e1e04f39a47428ada9f25516e5e31475
This change removes a constructor on CreateCredentialRequest, and adds null checks on non-null constructor parameter for CallingAppInfo.
Bug: 268419158
Bug: 268300217
Test: built & deployed locally
Change-Id: If9d7fe9d9bccc21b937f4aec7829548bf00c0fbc