diff options
author | Nathan Harold <nharold@google.com> | 2019-10-01 18:01:51 -0700 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2020-02-27 16:10:19 -0800 |
commit | b10babebd090589f921fd064ce6bc59261b01c25 (patch) | |
tree | 09fe1ca0b81494ee29b96ac92df76c076d7b1ec4 /src/com/android/settings/development/bluetooth/BluetoothCodecDialogPreferenceController.java | |
parent | 7b9101e6a8752670de6a6cf00ee595ecb2070c79 (diff) |
Optimize NetworkScan for only User-Enabled RANs
Network scans comprise multiple different access
technologies, and scanning each of those techs can
be very time consuming. Worse, depending on a user's
settings, the device may only be allowed to connect
to 2G, 2G+3G, or 2G+3G+4G networks. If a scan finds
network types that a user can't connect to, it also
creates a poor user experience if a user tries to
select those network types.
This CL restricts the scans to only find and return
results that a user can select based on the other
user settings.
Bug: 128572818
Test: manual (crosshatch) - set allowed networks to
2G+3G and verify that LTE networks are not returned.
Set allowed networks to 2G+3G+4G and verify that LTE
networks are returned.
Merged-In: Ic855100723b8604c1e872457a70fd8f25d225278
Change-Id: Ic855100723b8604c1e872457a70fd8f25d225278
(cherry picked from commit bda277b3b6783c763892599447868282e563dcf2)
Diffstat (limited to 'src/com/android/settings/development/bluetooth/BluetoothCodecDialogPreferenceController.java')
0 files changed, 0 insertions, 0 deletions