am fd709421: Merge "Preventing leak" into mnc-dev
* commit 'fd70942147edec7eb512c72c3fd0f89a3d7fa646': 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