Loading core/java/android/bluetooth/le/BluetoothLeAdvertiser.java +0 −1 Original line number Original line Diff line number Diff line Loading @@ -152,7 +152,6 @@ public final class BluetoothLeAdvertiser { */ */ public void stopAdvertising(final AdvertiseCallback callback) { public void stopAdvertising(final AdvertiseCallback callback) { synchronized (mLeAdvertisers) { synchronized (mLeAdvertisers) { BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter); if (callback == null) { if (callback == null) { throw new IllegalArgumentException("callback cannot be null"); throw new IllegalArgumentException("callback cannot be null"); } } Loading Loading
core/java/android/bluetooth/le/BluetoothLeAdvertiser.java +0 −1 Original line number Original line Diff line number Diff line Loading @@ -152,7 +152,6 @@ public final class BluetoothLeAdvertiser { */ */ public void stopAdvertising(final AdvertiseCallback callback) { public void stopAdvertising(final AdvertiseCallback callback) { synchronized (mLeAdvertisers) { synchronized (mLeAdvertisers) { BluetoothLeUtils.checkAdapterStateOn(mBluetoothAdapter); if (callback == null) { if (callback == null) { throw new IllegalArgumentException("callback cannot be null"); throw new IllegalArgumentException("callback cannot be null"); } } Loading