commit | 5a426f6ed5620a39388aa78ed1d01c465f47958c | [log] [tgz] |
---|---|---|
author | Cheney Ni <cheneyni@google.com> | Fri Aug 23 23:05:19 2019 +0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Sep 20 02:56:52 2019 +0000 |
tree | 71be809e80e4b45ef5ef7841905b6b69e9d06569 | |
parent | fb756ca94cca87aa2d4e95431290ed4228a1bf94 [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 (cherry picked from commit d6c84aa34962333448e0ed8e4ddbc9de8b73c5ac)