• Kyle Horimoto's avatar
    [CrOS Tether] Fix scan behavior of HostScanner. · 7830751b
    Kyle Horimoto authored
    Previously, when a scan began, we would clear all existing scan results
    from the cache, then add results back to the cache as the scan
    progressed. This was janky because it would result in the UI removing
    Tether networks and then adding them back shortly afterwards when scan
    results came in.
    
    This CL changes this functionality so that results are only removed
    after a scan ends and the associated device is not found.
    
    Bug: 672263, 746726
    Change-Id: I6df2516b1bc0e604c3a496838804bc6ee5c8292c
    Reviewed-on: https://chromium-review.googlesource.com/581633
    Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
    Reviewed-by: default avatarRyan Hansberry <hansberry@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#488817}
    7830751b
host_scanner.h 4.21 KB