diff options
| author | 2017-08-17 23:06:14 +0000 | |
|---|---|---|
| committer | 2017-08-17 23:06:14 +0000 | |
| commit | 5d0f5f46ef120c08ce6b61c1942cdd89fbf10acb (patch) | |
| tree | abdc749fed7a10589a65ffcb86654e750f5584a1 | |
| parent | e9fe99571b2d55ebdd89ee7ac7019e53423e0684 (diff) | |
| parent | b7cbb2fe49c5d5535924c4ba255d92ba57a4c3c6 (diff) | |
Merge "Bluetooth: Don't throw exception when stopAdvertisingSet fails"
am: b7cbb2fe49
Change-Id: I5ccf67621134fe1ba9204e2a8f3502ffacef0315
| -rw-r--r-- | core/java/android/bluetooth/le/BluetoothLeAdvertiser.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java b/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java index 5830c278c8d4..44c2667f2d85 100644 --- a/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java +++ b/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java @@ -455,8 +455,7 @@ public final class BluetoothLeAdvertiser { gatt.stopAdvertisingSet(wrapped); } catch (RemoteException e) { Log.e(TAG, "Failed to stop advertising - ", e); - throw new IllegalStateException("Failed to stop advertising"); - } + } } /** |