commit | 98d172dcf6c15868f9fd95201c71659631e7b9ba | [log] [tgz] |
---|---|---|
author | Joseph Pirozzo <pirozzoj@google.com> | Tue Feb 13 09:02:07 2018 -0800 |
committer | Joseph Pirozzo <pirozzoj@google.com> | Tue Feb 13 19:19:44 2018 +0000 |
tree | 0db98004a65f49f321df5c0370421213bc80cc9a | |
parent | 81b72ae86415a9247b8c0bf0b210cee53c890a2e [diff] |
MAP Client Exception at shutdown When turning the Bluetooth adapter off, if there were messages being processed by the MasClient they could result in a null pointer exception being thrown if the associated state machine had already been cleaned up. sendMessage actually checks the status of the handler before sending the message. Bug: 68300350 Test: turn BT adapter off while MAP is processing messages. Change-Id: I2f30901453c4ebf3938b5b55b5475470684072d1