commit | b19f55ba5a568a7399d8dd982007264287f6470c | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Thu Nov 21 11:23:27 2013 -0800 |
committer | Zhihai Xu <zhihaixu@google.com> | Thu Nov 21 11:23:27 2013 -0800 |
tree | 8eca1f0c6c8c6d80184f128200a47c4c4234ebe1 | |
parent | 56e3c4997cc76279fc2a1d8aa49b38b231ec6d28 [diff] |
NPE in BluetoothPhoneService.java when switch users. The null pointer is the mBluetoothHeadset is reset to NULL when the the headset profile is disconnected during user switch. The fix should be to check the null pointer before access mBluetoothHeadset also fix all the potential NPE problems not just this one happened. bug:11804919 Change-Id: I2acd0092179fa07293f9fcc4c9b65f1c3343a37c