* commit '3f57de8053f57a590eee32455b217472e16a2d96': Preventing leak
This commit is contained in:
@@ -152,7 +152,6 @@ public final class BluetoothLeAdvertiser {
|
||||
*/
|
||||
public void stopAdvertising(final AdvertiseCallback callback) {
|
||||
synchronized (mLeAdvertisers) {
|
||||
BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter);
|
||||
if (callback == null) {
|
||||
throw new IllegalArgumentException("callback cannot be null");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user