Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f57de80 authored by Jerome Poichet's avatar Jerome Poichet Committed by Android Git Automerger
Browse files

am fd709421: Merge "Preventing leak" into mnc-dev

* commit 'fd709421':
  Preventing leak
parents 4483164a fd709421
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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");
            }
            }