commit | d6c84aa34962333448e0ed8e4ddbc9de8b73c5ac | [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 | e43e73cb83ea14124fff159b319302141de92bd2 | |
parent | 283bf918ab86cb15445f2f8cb0c7472bf0efa187 [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