Merge "Preventing leak" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fd70942147
@@ -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