• Peter Beverloo's avatar
    Improve label behaviour for the Contact Picker API · 8667b6b4
    Peter Beverloo authored
    A "names" label has been added that enables the user to toggle
    whether their contact names should be included in the data shared with
    the website that opened the picker.
    
    Secondly, chips for data types that have not been requested by the
    developer will now be hidden. At least one type is required so we can be
    certain that there is *a* chip. A LinearLayout had to be introduced to
    make sure left-side spacing is consistent: previously, the first chip
    (names) had a 20dp padding where others had a 10dp padding, but now any
    of the chips can be first.
    
    Urgent string updates (Issue 989208) are also included.
    
    Bug: 985708, 988268, 989208
    Change-Id: I054871b5c059a029450fd11fad961847b4e3e424
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726035Reviewed-by: default avatarRichard Knoll <knollr@chromium.org>
    Reviewed-by: default avatarTheresa <twellington@chromium.org>
    Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
    Commit-Queue: Richard Knoll <knollr@chromium.org>
    Commit-Queue: Peter Beverloo <peter@chromium.org>
    Auto-Submit: Peter Beverloo <peter@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#682678}
    8667b6b4
top_view.xml 2.26 KB