diff options
author | Jerome Poichet <jpoichet@google.com> | 2015-06-25 12:03:02 -0700 |
---|---|---|
committer | Jérôme Poichet <jpoichet@google.com> | 2015-06-25 19:20:38 +0000 |
commit | e65babd4df9b3f9a0ade1f375e143f17191c928b (patch) | |
tree | b4cfe07b541541065481276d46f17f94d41b1988 /framework/java/android/bluetooth/BluetoothSocket.java | |
parent | 97438f1c68e65ff34221cf6295f38800d8f8c688 (diff) |
Preventing leak
When transitioning from ON to OFF with LE Advertisers, advertiser do not
get a chance to unregister themselves as the stopAdvertising checks the
state of the stack and throws before unregistering the object.
It will then never remove the callback objects causing a leak.
b/22092678 | Remote service crash after switching to restricted profile
Change-Id: I04817026a524d10d60abdd8b533554a71a0112e2
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothSocket.java')
0 files changed, 0 insertions, 0 deletions