Merge "Small fix for get flow pending intent fill data Test: make"

This commit is contained in:
TreeHugger Robot
2022-12-19 21:42:24 +00:00
committed by Android (Google) Code Review

View File

@@ -284,10 +284,9 @@ public final class ProviderGetSession extends ProviderSession<BeginGetCredential
mUiCredentialEntries.put(entryId, credentialEntry);
Log.i(TAG, "in prepareUiProviderData creating ui entry with id " + entryId);
if (credentialEntry.getPendingIntent() != null) {
setUpFillInIntent(credentialEntry.getPendingIntent());
credentialUiEntries.add(new Entry(CREDENTIAL_ENTRY_KEY, entryId,
credentialEntry.getSlice(), credentialEntry.getPendingIntent(),
/*fillInIntent=*/null));
/*fillInIntent=*/setUpFillInIntent(credentialEntry.getPendingIntent())));
} else {
Log.i(TAG, "No pending intent. Should not happen.");
}