Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails"
This commit is contained in:
@@ -455,8 +455,7 @@ public final class BluetoothLeAdvertiser {
|
|||||||
gatt.stopAdvertisingSet(wrapped);
|
gatt.stopAdvertisingSet(wrapped);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.e(TAG, "Failed to stop advertising - ", e);
|
Log.e(TAG, "Failed to stop advertising - ", e);
|
||||||
throw new IllegalStateException("Failed to stop advertising");
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user