commit | 1feb4d24c0f77b50e7d2d6f19732ef9b8c233184 | [log] [tgz] |
---|---|---|
author | Cheney Ni <cheneyni@google.com> | Fri Aug 23 23:05:19 2019 +0800 |
committer | Cheney Ni <cheneyni@google.com> | Tue Aug 27 14:34:00 2019 +0800 |
tree | 58f257130f9cbc2e94694c79f799a1771821b2e0 | |
parent | dfb12d728a8f166b0eaf65bcaba63070166d6891 [diff] |
AdapterService: Check the PIN code length before using The length is assigned by the framework. We should be better to check again before using, and dropped any unexcepted input. Bug: 139287605 Test: PoC, atest -t BluetoothInstrumentationTests:com.android.bluetooth.btservice Change-Id: Ie2dd01e0b192e7ed1fe4b464618ddfa415dbf15c