commit | 64b2cde37ff23e053715c8270fecbcddff103278 | [log] [tgz] |
---|---|---|
author | Ram Periathiruvadi <ramperry@google.com> | Wed Mar 25 13:39:08 2020 -0700 |
committer | Ram Periathiruvadi <ramperry@google.com> | Mon Mar 30 10:49:09 2020 -0700 |
tree | 62c940619d6b1aec234ea544ac709446aaa061e0 | |
parent | 2465eecd34063715f8ecc47a5f8efca7e57a08cf [diff] |
Fix NPE when BluetoothAdapter is not available. Bug: 152411330 Test: No crash on device unlocked. Change-Id: Iec88a9d18061552ab28e660e2a7b50d8df254701
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.