commit | 5c00d3c07496bf624df9c181597f2be9091d4460 | [log] [tgz] |
---|---|---|
author | Weng Su <wengsu@google.com> | Fri Nov 19 23:03:32 2021 +0800 |
committer | Weng Su <wengsu@google.com> | Fri Nov 19 23:03:32 2021 +0800 |
tree | 28a44b3c66f7124abfe30c633c0778c433b972e8 | |
parent | 0b911cf91ca9618db6954c12cb97697ec0cc76ac [diff] |
SoftAp: Use toString() API in place of toBinaryString for indexes Security option index values are currently converted using toBinaryString() which converts indexes to binary String. Thus index values doesn't match the expected Security config values in SoftApConfiguration. This commit uses toString() API to avoid index mismatch. Bug: 197497991 Test: manual test atest -c WifiTetherSecurityPreferenceControllerTest Change-Id: I43d236d071a8141845f312c63b1a693fde254358