[Autofill Assistant] Do not store empty contact
Before, when an empty contact was selected, the delegate would send null for name, phone and email. These empty datapoints were transformed into an empty contact profile which was stored in |UserData|. With this CL we will store nullptr if null was selected from the view. This will help to not send an empty contact once we close the update loop. Bug: b/144005336 Change-Id: Ia883dc89bc83acd03cb12f7e7164fb31f38fdc50 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929815 Commit-Queue: Sandro Maggi <sandromaggi@google.com> Reviewed-by:Clemens Arbesser <arbesser@google.com> Cr-Commit-Position: refs/heads/master@{#718110}
Showing
Please register or sign in to comment