• James Hollyer's avatar
    bluetooth: Consider filters that cannot be mapped to OS · 1f95a941
    James Hollyer authored
    We used to only consider filters if they had something to filter.
    However, this means that if there is a filter with a name prefix we do
    not consider it as Android does not have a name prefix filter. Since
    the filters are unioned together, missing a filter could cause results
    we are looking for to be filtered out. To ensure this does not happen
    we are adding an open filter to replace the name prefix filter instead
    of disregarding it entirely. Therefore we never filter out a result
    which should pass through the name prefix filter.
    
    Bug: 1121697
    Change-Id: Ib6f4ff52978c62e0a5f16056524459f1116576a4
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2389340
    Commit-Queue: James Hollyer <jameshollyer@chromium.org>
    Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#815902}
    1f95a941
bluetooth_device_chooser_controller.h 7.2 KB