commit | 8e94b07aeccfa09db9add50b116b04393e3d8f1a | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Mon Apr 03 19:15:38 2017 -0700 |
committer | Jack He <siyuanh@google.com> | Tue Apr 04 10:26:48 2017 -0700 |
tree | 00e0a6c9053fc036c91fcb208998c00c6fc7ac55 | |
parent | 4336d7a6a4422c1c1d5823b90eda90160eeca3ce [diff] |
OPP: Check target device when receiving SDP search result * Return and print warning message when target is null while handling ACTION_SDP_RECORD * Without this check, a NullPointerException could be triggered when a previously successful SDP search result landed on a BluetoothOppTransfer object will recently failed SDP search that would render mDevice null Bug: 36260940 Test: make, test sending file through Bluetooth Opp Change-Id: I861e7e64a7c9b316d4540fd5134892c247753f74